Skip to main content
Glama

revoke_api_key

Invalidate an API key for a specified username and key ID to remove access and block further authenticated requests.

Instructions

API-Key widerrufen.

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

Input Schema

NameRequiredDescriptionDefault
key_idYes
usernameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

D1.5/5.0
Behavior1/5

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

No annotations are provided, so the description must carry the full behavioral burden, and it discloses nothing beyond the word 'revoke'. It does not state whether revocation is immediate and irreversible, whether it invalidates the key globally or per scope, what permissions are needed, or what happens to requests already authenticated — all critical for a destructive operation with zero annotation coverage.

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

Conciseness2/5

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

The text is a three-word fragment with nothing to trim, but brevity here is under-specification rather than conciseness. It is not front-loaded with anything useful because there is no second sentence to establish purpose, target, or effect.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-required-parameter destructive mutation with no annotations, no output schema, and 0% schema coverage, the description supplies essentially none of the information an agent needs. It cannot be called correctly on the strength of this definition alone.

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

Parameters1/5

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

Schema description coverage is 0% and both parameters (username, key_id) are required, yet the description says nothing about them. An agent gets no hint that key_id must be an integer identifier belonging to the named username, nor how to obtain that identifier before calling.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"API-Key widerrufen" restates the tool name revoke_api_key almost verbatim, adding no scope, target system, or distinguishing detail. It does not separate the tool from siblings such as create_api_key or delete_api_user beyond the bare verb, and it is in a different language from every sibling name and parameter title.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisite (e.g. that a key must exist), and no mention of alternatives such as create_api_key or key rotation via a create/revoke pair. The verb 'revoke' implies a destructive lifecycle action but nothing tells the agent when this is the right call versus other API-user tools.

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

Deploy Server

Other Tools