Skip to main content
Glama

Revoke a route grant

arobi_revoke_grant
Destructive

End a route grant before it expires: seal a ROUTE_REVOKE record chained to the grant. Pass the route_revoke it returns to arobi_authorize, and the grant authorizes nothing more. Only the tenant that made the grant can revoke it.

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": {
      "route_grant": "<route_grant>"
    },
    "name": "arobi_revoke_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonNoOptional. Why the grant is revoked, up to 2,000 characters; carried in the ROUTE_REVOKE record.
route_grantYesThe route_grant to revoke, exactly as arobi_route_grant returned it. It must recompute (GRANT_TAMPERED otherwise) and belong to the tenant of your key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is covered; the description adds real value on top by disclosing the chained ROUTE_REVOKE record, the tenant-ownership restriction, and the two-step revoke-then-authorize flow that actually makes the revocation take effect. It does not address what happens on a repeat revoke or whether prior authorizations are retroactively invalidated.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the action and mechanism, then the required next step, then the permission constraint. No filler or restatement of the title.

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

Completeness4/5

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

For a destructive, non-idempotent mutation with no output schema, the description covers the essential gaps: what record is created, who may call it, and what to do with the returned value. Only edge-case behavior (repeat revocation, effect on already-issued authorizations) is left unstated.

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?

Schema description coverage is 100%, so the schema already documents both route_grant and reason, including the GRANT_TAMPERED and tenant-ownership constraints. The description adds only the return-value handoff ('the route_revoke it returns'), which is useful given there is no output schema, but says nothing extra about the optional reason field. Baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('End a route grant') plus the mechanism ('seal a ROUTE_REVOKE record chained to the grant'), which cleanly separates it from arobi_route_grant (creates) and arobi_authorize (consumes the revoke). An agent can identify the operation without opening the schema.

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

Usage Guidelines4/5

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

Gives clear when-to-use context ('before it expires'), a hard prerequisite ('Only the tenant that made the grant can revoke it'), and the follow-up workflow ('Pass the route_revoke it returns to arobi_authorize'). It stops short of naming explicit when-not conditions or an alternative path, so it is strong but not exhaustive.

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.