VaikoraVaikora

Vaikora › Blog › Product Updates

MCP tool authorization at the call level: what gets checked, what gets skipped, and where grants go wrong

Product Updates · Dec 1, 2026 · 4 min read

Most MCP authorization problems surface the same way: a tool call succeeds that should have been blocked, or a block fires on a call that was legitimate. The issue is usually not a missing permission in the underlying identity system. It is that the check happened at the wrong layer, or did not happen at the call level at all.

Where standard authorization stops short

MCP gives an AI agent a structured way to discover and invoke tools: a server exposes a list of tools, the agent selects one, and the call goes out with whatever arguments the agent constructed. The authorization model that most teams apply to this is: does this agent have access to this MCP server? That check is real and necessary. It is also insufficient.

Access to the server is not the same as authorization to call a specific tool with specific arguments. An agent that can call `read_file` on a filesystem MCP server has also been implicitly authorized to call `delete_file` and `write_file` unless something downstream stops it. If the only gate is "can this agent reach this server," the tool-level decision was never made.

The same gap appears with argument content. An agent might be authorized to call a database query tool, but not to run a query that selects from a table containing PII, or runs without a `WHERE` clause, or touches a schema it has no business reason to read. The MCP server usually cannot see the difference. It executes what arrives.

What tool-level enforcement actually looks like

Enforcement at the tool call level means inspecting each invocation before it executes: which tool, which arguments, which agent identity, and which session context. The decision (allow, block, modify, or hold for approval) has to be made inline, before the call reaches the MCP server.

A concrete scenario: an agent is working a customer support task. It calls a CRM lookup tool with a customer ID. That is expected. Mid-session, the same agent constructs a call to a bulk-export tool with no filter arguments. The tool exists, the agent technically has credentials to reach the server, and the MCP server will execute the call. Without a policy gate sitting between the agent and the tool, nothing stops it.

With an inline enforcement point, the policy engine sees the call, identifies that the tool is in a high-risk category and that the argument pattern matches a bulk-data extraction signature, and blocks before execution. The decision and its justification go into an audit record. The agent session continues for permitted calls.

Vaikora sits inline between the agent and the LLM or tools it calls, enforcing allow, block, modify, or require-approval before each action executes. It supports MCP through the open-source Vaikora Guard MCP proxy (MIT licensed, available on PyPI as `vaikora-guard-mcp`). Policy decisions are deterministic: identical input produces identical output every time. Enforcement latency is P50 8ms and P99 45ms, so the gate does not change the agent's perceived responsiveness for normal calls.

Argument inspection: the part most teams skip

Tool name authorization is the first check. Argument inspection is the check that actually catches the dangerous cases.

Arguments are where intent becomes concrete. A `read_file` call with `path="/etc/passwd"` is different from one with `path="./reports/q1.csv"`. A SQL tool call with `SELECT * FROM users` is different from one with `SELECT name, email FROM users WHERE account_id = 1234`. The tool is the same. The risk is not.

Argument-level policy rules can be specific:

These rules require the enforcement point to parse the argument structure, evaluate it against policy, and make a decision before execution. That is not something the MCP server does, and it is not something a prompt instruction can guarantee.

What to check in your current setup

If you are running agents over MCP today, start with these questions:

If the answers point to gaps, the place to focus is the enforcement point, not the agent prompt.

See Vaikora enforce policy on your AI

Open-core AI runtime control. Self-host the MIT gateway free, or run the hosted Control Plane.

Get a demo Self-host the gateway

More from the Vaikora blog