Skip to main content
Glama

revoke

Withdraws a previously granted access permission, with changes taking effect immediately on the next send or join.

Instructions

Withdraw a previously granted access (see grants). Same authority rules as grant; takes effect immediately on the next send/join.

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": {
      "grant_id": "<grant_id>"
    },
    "name": "revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
grant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and delivers two substantive facts: the authority model (mirrors `grant`) and the timing semantics (effective immediately on the next send/join, not retroactively). It is silent on error behavior for an invalid or already-revoked grant_id and on whether the entry disappears from `grants`, so it is strong but not complete.

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?

Two short sentences, front-loaded with the action and immediately followed by the operational constraints. No filler; each clause (id source, authority, timing) carries distinct 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 single-parameter mutation with no annotations and no output schema, the definition covers the identifier source, permissions, and effect timing, which is what an agent needs to invoke it. Only failure-mode behavior is left implicit.

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 0% and the only parameter, grant_id, is documented nowhere in the schema. The description partially compensates by directing the agent to `grants` to obtain the identifier, but adds no detail on the expected id format or what happens if it is stale.

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 ('Withdraw') and object ('a previously granted access'), which is clearly the inverse of the sibling `grant` and points at `grants` as the source of the identifier. It does not address how it differs from the `deny` sibling, leaving one plausible confusion unresolved.

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 real routing context: look up the target in `grants`, the same authority rules as `grant` apply, and the change takes effect on the next send/join. There are no explicit exclusions (e.g., when to use `deny` instead), but the preconditions are clear enough to act on.

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