Skip to main content
Glama

waitfor

Rotate my API key

rotate_key
Destructive

Replace your API key: authenticate with the current key and get a new one (shown once — store it). The current key stops working immediately. At most 5 rotations per 24 hours. Use it when the key may have leaked or after an operator gave you a new key.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rotate_key"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations (destructive=true, idempotent=false) by disclosing the three consequences an agent cannot otherwise infer: the current key stops working immediately, the new key is shown only once and must be stored, and there is a 5-per-24-hour rotation cap. These are exactly the irreversible side effects and rate limits that govern correct invocation.

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?

Three short sentences, front-loaded with the action and its precondition, then consequences, then when-to-use. Nothing is repeated from the annotations or schema, and every clause carries decision-relevant information.

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 no-parameter, no-output-schema mutation tool, the description supplies auth requirement, irreversibility, one-time secret delivery, and rate limit — everything needed to call it safely and to tell the user what to do with the result.

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 tool takes no parameters, so there is nothing to disambiguate; the implicit credential comes from ambient authentication, which the description notes. Baseline 4 applies for a zero-parameter schema.

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?

"Replace your API key: authenticate with the current key and get a new one" names a specific verb and resource plus the required precondition (current key). No sibling touches keys, and the definition makes the operation unmistakable without opening the 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?

Explicit triggers are given: "when the key may have leaked or after an operator gave you a new key." It lacks an explicit when-not (e.g., don't rotate routinely / don't rotate without storing the result), but the leak scenario plus the 5-per-24h ceiling effectively bound usage.

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