Skip to main content
Glama

Sigmora

Revoke an API key

api_keys_revoke
DestructiveIdempotent

Revoke one API key by keyId (from api_keys_list). Whatever uses it stops working at once; this cannot be undone. Owner only. Free.

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": {
      "keyId": "<keyId>"
    },
    "name": "api_keys_revoke"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyIdYes
workspaceNoWorkspace slug. Omit to use the workspace your credential is bound to. An API key names its own workspace, and a value that disagrees with it is refused rather than ignored.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so the definition's value is the extra detail: revocation takes effect immediately ("Whatever uses it stops working at once"), is irreversible, requires owner-level authorization, and is free. That is meaningful context beyond the structured fields, though it does not say what happens if the key was already revoked or what error an unauthorized caller sees.

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?

Four short clauses, each carrying distinct information: what it does, where keyId comes from, the immediate and irreversible effect, and the authorization/cost constraint. The destructive consequence is front-loaded rather than buried, and there is no padding.

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 two-parameter destructive tool with an output schema, the definition covers the important ground: source of the identifier, irreversibility, scope of impact, and authorization. A note on already-revoked keys or partial-failure behavior would close the remaining gap, but the annotations and output schema absorb most of it.

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?

The schema descriptions cover workspace but leave keyId undocumented beyond its hex pattern; the description fills that gap by telling the agent keyId identifies one key and comes from api_keys_list. The workspace parameter's cross-workspace refusal behavior is already described in the schema, so the description adds value mainly on the required parameter.

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?

The definition gives a specific verb and resource ("Revoke one API key") and scopes it to a single key by keyId, which cleanly separates it from api_keys_list and api_keys_create. It even names the sibling that supplies the identifier, so the agent knows where the argument comes from without opening another schema.

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?

It states the prerequisite for obtaining keyId (from api_keys_list) and the authorization condition (Owner only), which are the main things an agent needs before calling. It stops short of describing alternatives, such as when to disable or rotate a key instead of revoking, or how to handle an already-revoked key.

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