Skip to main content
Glama

Revoke agent service access

stack_revoke_agent_access
Destructive

Revoke every service grant held by an agent.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agent_id": "<agent_id>"
    },
    "name": "stack_revoke_agent_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent ID to revoke

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description's one piece of added information is the bulk scope ('every service grant'), which is genuinely useful context. It says nothing about reversibility, idempotency, effect on active sessions, or permissions required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short sentence, front-loaded with the verb and resource, with no filler. The brevity borders on under-specification for a destructive bulk operation, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, fleet-wide revocation with no output schema, the minimum needed to call it safely is present: the target parameter and the fact that all grants are removed. Missing are consequences an agent would want before invoking it, such as whether the agent loses access immediately and whether the operation can be undone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter with full schema description coverage, so the schema already carries the meaning. The description adds only the implication that the identifier selects the agent whose entire grant set is removed; it supplies no format, lookup, or validation detail beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource ('Revoke every service grant') and adds scope with 'every' and 'held by an agent', which distinguishes it from passport- or identity-oriented siblings. It stops short of naming any sibling outright, so differentiation is by noun only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this instead of alternatives such as granting selectively or revoking passports. No prerequisites, no mention of what state the agent must be in, and no warning that this affects all grants at once rather than a single service.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.