Skip to main content
Glama

Blitframe

Revoke API key

revoke_api_key
DestructiveIdempotent

Revoke an API key; requests that use it fail from now on. A connection that uses an API key can revoke only that key, and a connection where the user signed in only the keys that user created (key_cannot_revoke_keys otherwise); other keys are revoked in the Blitframe console.

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": {
      "apiKeyId": "<apiKeyId>"
    },
    "name": "revoke_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
apiKeyIdYesAPI key id, from list_api_keys.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, openWorldHint=false and readOnlyHint=false, so the safety profile is covered elsewhere. The description still adds meaningful behavior beyond them: immediate effect on in-flight requests, and the per-connection authorization rules including the key_cannot_revoke_keys failure mode. It stops short of saying whether revocation is reversible or how the failure surfaces.

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

Conciseness4/5

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

One compact, front-loaded sentence states the action and its effect before the permission caveats. The parenthetical error code is dense but earns its place; the sentence runs long but contains no filler.

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 one-parameter destructive mutation with no output schema, the description covers effect, permissions, and the out-of-scope path. The only gaps are recoverability of a revoked key and how the key_cannot_revoke_keys error is surfaced, both minor.

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% for the single uuid parameter and the schema itself says it comes from list_api_keys, so the baseline is 3. The description reinforces scoping indirectly by explaining which keys a given connection is allowed to pass here, which helps an agent avoid picking an arbitrary key id.

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?

Uses a specific verb and resource ("Revoke an API key") and immediately states the consequence: "requests that use it fail from now on." It also distinguishes this tool's scope (this connection's own key or keys the user created) from what must be done elsewhere ("revoked in the Blitframe console"), so an agent can tell when this tool is the wrong path.

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 concrete conditions under which the call applies and the error it returns otherwise ("key_cannot_revoke_keys"), plus the explicit alternative route (the Blitframe console) for keys out of scope. It does not name a sibling tool as an alternative, but no sibling performs revocation, so the missing routing information is minimal.

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