Vaikora › Blog › Product Updates
MCP tool authorization at the parameter level: why call-level gates are not enough
Blocking an unauthorized MCP tool call is straightforward. The harder problem is an agent that is authorized to call a tool but passes parameters that exceed what it should be allowed to do. Call-level gates catch the first case; parameter-level enforcement is what catches the second.
This article walks through what parameter-level authorization means in an MCP context, where the enforcement point has to sit, and what the audit record needs to contain to be useful during investigation.
What call-level authorization misses
An agent authorized to call `file.read` can read any file the tool accepts unless something downstream filters the actual path. An agent authorized to call `db.query` can issue a `SELECT *` on any table it can name. The tool is "allowed," so the authorization check passes. The scope of what gets returned is not checked at all.
This is the common gap in MCP deployments. Authorization is enforced at the tool identifier level: is this agent allowed to call this tool? The parameter payload, the actual instruction the tool will execute, is passed through without inspection.
Concretely: an agent handling customer support tickets is granted `crm.update` access. It is expected to update status fields. Nothing at the call level prevents it from passing a payload that overwrites billing contact data or reassigns account ownership. The tool accepted the call. The authorization model said yes. The damage is done at the parameter layer.
Where the enforcement point has to sit
Enforcement has to happen inline, after the agent constructs the call and before the tool executes it. That is not negotiable. Post-execution detection can record what happened; it cannot stop it.
The enforcement point needs to inspect three things:
- Tool identity: is this agent permitted to call this tool at all?
- Parameter scope: do the parameter values fall within policy-defined bounds for this agent and this context?
- Runtime context: does the current session state (caller identity, prior actions in this session, risk signals) change the authorization decision?
The third one matters more than it sounds. An agent that has already attempted three denied calls in a session presents different risk than one making its first call. Static parameter policies that do not account for session state will miss escalation patterns that only appear across a sequence of calls.
Vaikora sits inline between the agent and the tool, inspects each call before execution, and applies deterministic policy at all three layers. The same input always produces the same decision, which matters for audit defensibility. Enforcement latency is P50 8ms and P99 45ms, so the gate does not add meaningful delay to the execution path.
What a parameter-level policy looks like in practice
Take the `crm.update` example. A parameter-level policy for a support agent might look like this in Vaikora configuration:
- Allowed tool: `crm.update`
- Allowed fields: `status`, `priority`, `notes`
- Blocked fields: `billing_contact`, `account_owner`, `payment_method`
- Action on violation: block, write to audit log, push alert to SentinelOne
If the agent constructs a payload containing `account_owner`, the policy engine intercepts the call, returns a block decision, and writes the full decision record (agent identity, tool, payload, matched policy rule, timestamp) to the SHA-256 hash-chained audit log before anything reaches the tool.
That audit record is not just a log entry. It is evidence. The hash chain makes the sequence tamper-evident, so an investigation can establish exactly what the agent attempted, when, and in what order relative to other calls in the session.
Connecting parameter violations to your existing detection workflow
A blocked parameter violation is an indicator. It should flow into your detection and response stack the same way any other indicator does.
Vaikora pushes AI agent threats into SentinelOne as Threat Intelligence indicators with severity mappings (Critical=100, High=75, Medium=50, Low=25) and promotes high-severity risk into Microsoft Defender for Cloud as native incidents. If an agent starts failing parameter checks repeatedly in a short window, that pattern surfaces in your existing alerting pipeline without requiring custom engineering.
The practical value: your SOC sees the signal in the same place they see everything else. They do not have to check a separate AI-specific console to know an agent is behaving outside its defined scope.
What to check in your current setup
If you have MCP tool calls executing in production, verify these things before assuming your authorization model is complete:
- Does your current gate inspect parameter payloads, or only tool identifiers?
- Is authorization re-evaluated per call using runtime context, or only at session start?
- Does your audit log capture the full parameter payload at the time of the decision, or only the tool name and outcome?
- Do parameter violations flow into your SIEM or EDR as actionable indicators, or do they stay in a separate log?
If any of those answers is "no" or "I don't know," the gap is at the parameter layer. That is where to look next.
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
Vaikora