Skip to main content
Glama

revoke_api_key

DestructiveIdempotent

Revoke a workspace API key immediately. Revoking the key in use disconnects this MCP client on its next request.

Input Schema

NameRequiredDescriptionDefault
idYesResource identifier returned by a previous request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the bar is lower. The description still adds real value annotations cannot: that revocation takes effect immediately and that revoking the in-use key disconnects this MCP client on its next request, a self-destructive consequence worth flagging.

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 tight sentences with the primary action front-loaded and the risk warning second. No filler or restatement of the tool name.

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 one-parameter tool with full schema coverage and no output schema, the description covers effect timing and the notable self-revocation hazard. It could state explicitly that revocation is irreversible/permanent, but the immediate+destructive framing gets close.

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?

One parameter with 100% schema description coverage, so the schema already explains the id field and its constraints. The description adds no format or sourcing detail beyond that, so baseline 3 applies.

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?

States a specific verb (revoke) and resource (workspace API key) with a timing qualifier (immediately). An agent can distinguish it from create_api_key and list_api_keys without opening schemas, though it doesn't explicitly note that no delete_api_key sibling exists.

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

Usage Guidelines3/5

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

Usage is implied by the destructive nature of revocation, but there is no explicit when-to-use/when-not guidance and no pointer to list_api_keys for obtaining the id. The agent must infer the workflow.

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