Skip to main content
Glama

rotate_api_key

Get a NEW api_key (shown once); the current one stops working immediately.

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": {
      "api_key": "<api_key>"
    },
    "name": "rotate_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior2/5

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

The description supplies valuable behavior the annotations do not: the new key is revealed only once and the old key is invalidated immediately, which is an irreversible effect. However, this clashes with destructiveHint=false, which an agent could read as "old key remains valid"; the description is the safer source but the conflict is a gap.

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?

A single compact sentence, front-loaded with the action and followed by the two consequences that matter. Nothing is wasted and nothing is buried.

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

Completeness3/5

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

An output schema exists, so return format need not be described, and "shown once" usefully warns that the value is not retrievable later. Still missing for a security-sensitive mutation: what authentication or role the caller needs (openWorldHint=false suggests a private endpoint) and what the api_key argument represents.

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 required parameter with 0% schema description coverage: the schema names an "api_key" string but never says whether it is the current key used for authentication or something else. The description does not clarify this, leaving the sole input ambiguous, though the parameter itself is not complex.

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?

States a specific verb and resource ("Get a NEW api_key") plus the immediate side effect on the existing key. An agent can tell exactly what happens without opening the schema, and no sibling tool competes for this action.

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 explicit when-to-use guidance, no stated trigger (e.g., key compromise, scheduled rotation), and no mention of what an agent should expect afterwards if it keeps using the old key. Usage must be inferred entirely from the name.

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