Skip to main content
Glama

Revoke Grant

revoke_grant
DestructiveIdempotent

Revoke one of the principal's grants and every child delegated from it. The app hears at once.

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": {
      "id": "<id>"
    },
    "name": "revoke_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe grant id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety profile is covered; the description still adds real value by disclosing that child delegated grants are destroyed along with the parent — a non-obvious blast radius. The closing clause 'The app hears at once' gestures at immediate notification/side effects but is too cryptic to be actionable, which keeps this short of a 5.

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

Conciseness3/5

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

Two sentences and the destructive scope is front-loaded, which is good. However, 'The app hears at once' is vague enough to be noise — it costs a sentence without telling the agent what actually happens (webhook fired? synchronous call? failure mode?).

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

Completeness2/5

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

For an irreversible, cascading mutation with no output schema, the description omits what an agent most needs: required authorization, whether revocation can be undone, the result/error shape if the grant is already revoked, and what the app notification actually entails. Annotations cover destructiveness and idempotency, but the remaining gaps around failure and recovery are material.

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 the single 'id' parameter is documented, so the schema carries the load. The description adds only mild meaning — that the id is 'one of the principal's grants' and that children need not be passed separately — which is essentially a restatement of the cascade behavior rather than new parameter syntax or constraints.

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?

Names a specific verb and resource ('Revoke ... grants') and adds scope the name alone does not convey: the revocation cascades to 'every child delegated from it'. It does not contrast itself with siblings like cancel_entitlement or delegate_grant, so an agent must infer that boundary, but the operation itself is unmistakable.

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 explicit when-to-use guidance, no stated prerequisites (e.g., required permission level or that the caller must own the grant), and no comparison against the sibling cancel_entitlement or delegate_grant tools. The cascade clause hints at which id to pass, but that is inference rather than stated guidance.

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.

Resources