Skip to main content
Glama

rotate_api_key

Issues a fresh integrator API key. Requires X-API-Key (existing users can generate an API key in the web app). If headers aren't supported, pass api_key in arguments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoOptional API key for clients that cannot set X-API-Key headers.
integrator_idNoOptional integrator identifier (defaults to existing integrator or 'default').
integrator_nameNoOptional integrator display name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose a genuine trait absent from the schema: external auth via X-API-Key is required. But for a rotation operation it never states whether the previous key is revoked, whether the change is reversible, or what the caller receives back.

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

Conciseness4/5

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

Three short sentences with the core action front-loaded and no filler. The final sentence about api_key duplicates the schema's own description, costing a bit of redundant length in an otherwise tight definition.

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?

There is no output schema and no annotations, so the description must cover both safety and results. It covers authentication adequately but omits what the response contains (presumably the new key) and the fate of the old key, which is the single most important detail for a rotate tool.

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 100%, so all three parameters are already documented in the schema, establishing a baseline of 3. The description's line about passing api_key in arguments only restates what the api_key schema description already says, and integrator_id/integrator_name are not addressed at all.

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 ('Issues a fresh integrator API key') with enough precision that an agent knows exactly what the operation produces. No sibling tool competes for this action, so differentiation is trivially satisfied.

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

Usage Guidelines3/5

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

The description supplies a prerequisite ('Requires X-API-Key') and a fallback path for header-less clients, which is useful invocation context. However, it never says when this tool should be invoked versus other setup/account operations, nor anything about when rotation is warranted or discouraged.

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.