TRANSMISSION // 2612.04826v1

When an Allowed AI Tool Call Reaches Too Far

Source published

A study tests how permitted MCP calls can expose or alter objects beyond a policy’s intended scope, and what several safeguards did—and did not—prevent.

AI-generated conceptual illustration for When an Allowed AI Tool Call Reaches Too Far
AI-generated conceptual illustration; not documentary evidence.

A tool gateway can approve a call by checking its name and arguments, yet the backend may return or change related objects the policy never checked. The preprint calls this an “over-reach” and tests ways to detect and limit it.

The gap between an allowed call and its effects

AI agents often use tools to work with shared services such as issue trackers, wikis and calendars. An operator may place a gateway in front of those tools and allow only selected calls, checking each call’s name and arguments against a least-privilege policy. But a service can resolve related objects behind the gateway. A request to read one issue, for instance, might also return a linked issue; a permitted comment might add a reference to another issue.

That mismatch is the focus of OverReach: Permitted MCP Tool Calls That Reach Beyond the Grant, a preprint by Nguyen Tran Thanh Lam. The paper uses “over-reach” for permitted calls whose results or effects extend beyond what the policy appears to grant. The question is practical: can checking the call itself reliably constrain what the connected service reveals or changes?

Testing what calls return or change

The proposed method measures the effects of permitted calls rather than judging them only by their names and input arguments. The abstract describes tests in which policy authors do not know the test cases. The researchers compare benign and violating calls at the policy decision point, then use a database oracle—a separate way of checking the outcome—to decide whether a call disclosed or changed something beyond its intended scope.

They evaluated blind policies behind two MCP gateways, ToolHive and agentgateway, across four backends: two issue trackers, a wiki and a calendar. The abstract does not give the full test design, the number of cases for each backend, or detailed results for every service, so the findings should not be read as a comprehensive measure of all MCP deployments.

What the tests found

On Gitea, reads returned another user’s private issue in all 10 repetitions for each gateway. Crucially, the permitted and violating calls were identical on every attribute the policies inspected. In other words, the gateway’s checked inputs did not distinguish the call that stayed within the intended scope from one that reached another user’s issue.

The researchers also tested response filtering. Their filter missed locators—references that could lead to other records—in generated text. The abstract says agentgateway’s native guardrails, configured with the researchers’ rules, caught those locators. But neither response-side control stopped the tested writes. That distinction matters: screening what a tool returns may help with certain disclosures, but the reported result does not show that it prevents changes made by the backend.

Credentials and data handling made a difference, though not in every case. Using a user’s own unscoped credential removed cross-user cases, but did not prevent access to that user’s other objects. A GitLab project token stopped every measured cross-project disclosure and write, leaving only a count; its scope, however, was the project. The abstract also reports that deleting foreign records from responses made two language-model agents deny dependencies that actually existed. When those records were replaced with placeholders, this behavior was not observed.

What this does—and doesn’t—establish

The results point to a key limitation of call-level authorization: a policy can approve the visible request while the service’s handling of related records determines what is exposed or changed. Controls that inspect responses, restrict credentials or alter returned data address different parts of the problem, and the reported tests show trade-offs rather than one safeguard that solves every case.

These are experimental findings from specific gateways, backends, policies and tested scenarios. They do not establish how often over-reach occurs in ordinary deployments, or that every MCP server behaves this way. The abstract-only evidence available for this article omits implementation details and much of the evaluation, making it impossible to assess the full range of tests or reproduce the analysis here.

Finally, the source is an arXiv preprint, not evidence of peer review. Its claims should be treated as preliminary until the full paper and its methods can be examined and the findings independently checked. The study is best read as a warning about a design assumption: approving a tool call is not necessarily the same as controlling everything the backend does in response.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.