Skip to main content
Glama

Revoke a route grant

arobi_revoke_grant
Destructive

Seal a hash-chained ROUTE_REVOKE record to end a route grant before it expires so authorization checks deny it with GRANT_REVOKED. Unsigned, mismatched, expired or already revoked grants are refused.

Instructions

End a route grant this server sealed before it expires: seal a hash-chained ROUTE_REVOKE record and return route_revoke. From then on arobi_authorize DENIES the grant (GRANT_REVOKED). A grant that is unsigned, signed by another key, sealed with revocable: false, expired or already revoked is REFUSED with a reason code, and nothing is sealed. Like the signing key, a revocation lasts for this server run.

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 in this server run.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructiveHint/readOnlyHint annotations, it discloses what happens after the call (arobi_authorize DENIES with GRANT_REVOKED), that a hash-chained record is sealed, that the return value is route_revoke, and the critical scope limit that revocations expire with the server run. Refusal cases are stated to seal nothing, which is exactly the side-effect detail an agent needs.

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 tightly written sentences with no filler: the action and its effect come first, refusal conditions second, and the lifespan caveat last. Every clause carries operational information.

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 mutation with no output schema, the description covers side effects, return value, refusal behavior, and persistence scope, so an agent can call it correctly. The only minor omission is any hint about what the refusal reason codes look like or how the returned route_revoke should be used downstream.

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 coverage is 100% and both parameters (route_grant, reason) are fully documented in the schema itself. The description only reinforces the 'exactly as arobi_route_grant returned it in this server run' constraint and says nothing about the optional reason field, so it adds little beyond the schema.

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?

The description opens with a specific verb and resource ('End a route grant this server sealed before it expires') and names the observable consequences (seals a ROUTE_REVOKE record, returns route_revoke). It is clearly distinguishable from arobi_route_grant and arobi_authorize, whose behavior it explicitly modifies.

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?

It states the context for use: revoke a grant before expiry, with an explicit list of conditions under which the call is REFUSED (unsigned, foreign key, revocable: false, expired, already revoked). No sibling alternative is named, but the preconditions effectively define when not to call it.

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