Skip to main content
Glama

revoke_token

Revoke a prepaid bundle grant to cut off a sub-agent, invalidating all child tokens. Optionally return reserved sats to your budget.

Instructions

Revoke the grant behind a prepaid bundle this session bought, killing the whole delegation tree minted from it (every scoped child made with mint_scoped_token). Takes effect on the next request within ~15s, returning token_revoked. Use it to cut off a sub-agent (or all of them) after handing out children. Optionally pass released_sats to return child-cap budget you reserved back to your budget.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe endpoint path the held bundle is for (e.g. '/v1/history/candles')
slugYesThe API slug whose bundle grant you want to revoke (e.g. 'btc-intel')
released_satsNoOptional: sats of child-cap budget to return to your budget (what you reserved via mint_scoped_token for children of this grant)
Behavior4/5

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

With no annotations, the description fully discloses behavioral traits: revokes grant, kills delegation tree, delay of ~15s, return value token_revoked, and effect of optional released_sats. Lacks mention of error cases or prerequisites, but still strong.

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 sentences plus an option note. Every sentence adds necessary information without redundancy. Efficient and clear.

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?

Given no output schema, the description explains return value and timing. Covers the main actions and optional parameter. Missing error handling or state prerequisites, but sufficient for a focused tool with good annotations in parameters.

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

Parameters4/5

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

Schema coverage is 100% with good parameter descriptions. The tool description adds meaningful context like 'endpoint path' and 'API slug', and explains released_sats beyond the schema. Adds value over schema alone.

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?

Clearly states the action 'Revoke' and the resource 'grant behind a prepaid bundle'. Distinguishes from sibling mint_scoped_token by describing the effect on the delegation tree and children. Includes timing and response, making it specific and unambiguous.

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?

Provides explicit use case: 'cut off a sub-agent after handing out children'. Mentions optional parameter for returning budget. While it doesn't explicitly state when not to use, the context is clear and contrasts with mint_scoped_token.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/signaltech-org/bolthub-sdk'

If you have feedback or need assistance with the MCP directory API, please join our Discord server