Skip to main content
Glama

delete_api_key

Destructive

Revoke an API key by specifying its key ID. This action invalidates the key, removing its access immediately.

Instructions

Revoke one of the current user's API keys.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
key_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare destructiveHint=true, and the description adds the important constraint that only the current user's keys can be revoked. This goes beyond the annotation by clarifying scope and ownership, though it does not detail immediate effects like invalidation.

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?

The description is a single concise sentence with no redundant words. It is front-loaded and easy to parse.

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

Completeness5/5

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

For a simple single-parameter, destructive operation with annotations and an output schema, the description is complete. It covers the essential scope (current user's) and action, leaving no ambiguity for the agent.

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?

Schema description coverage is 0%, and the description only indirectly explains key_id as identifying 'one of the current user's API keys'. It adds some context but does not specify where to find the ID or its format; the parameter name itself is self-explanatory.

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 description uses a specific verb 'Revoke' with resource 'API keys' and scope 'current user's', clearly distinguishing it from create_api_key and list_my_api_keys. It is unambiguous and identifies the exact operation.

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?

The phrase 'current user's' implies this tool is for revoking your own keys only, which is clear usage context. However, it does not explicitly state alternatives (e.g., use create_api_key to issue a new key) or when not to use it, so it lacks explicit exclusions.

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/SavageCore/komga-mcp'

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