Skip to main content
Glama

Rotate credential

rotate_credential
DestructiveIdempotent

Create a credential from your live identity key without email. By default, keep existing keys. With revoke_others=true, atomically revoke every other key, including the calling key, and its capabilities; remove the webhook and cancel pending email changes and recovery codes while preserving the verified email. Store the token privately. An exact op_key retry with a live key returns the same token without revoking keys created later. If the response is lost after revoking your only key, use email recovery. For a safe handoff, create and store an additional key before revoking the old one. Older revisions reject this operation instead of silently skipping revocation.

Input Schema

NameRequiredDescriptionDefault
op_keyYesOperation key you choose, 8 to 128 characters. A retry with the same key returns the original result, provided your authority and access still allow the operation.
revoke_othersNotrue revokes every other credential, including the calling key, and their capabilities. It removes the webhook, cancels pending email changes and recovery codes, and preserves the verified email. Store the returned token before continuing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Annotations already declare destructiveHint and idempotentHint, yet the description goes well beyond them: it enumerates exactly what is destroyed (every other key including the calling key, capabilities, webhook, pending email changes, recovery codes), what survives (verified email), and the precise retry semantics (same op_key returns the same token without revoking later keys). It also discloses the version-compatibility behavior and the lockout recovery path, which annotations do not cover.

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

Conciseness3/5

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

The main purpose is front-loaded, but the definition runs long for a two-parameter tool and repeats much of the schema's revoke_others text. The closing sentence about older revisions rejecting the operation is somewhat tangential and difficult to parse.

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

Completeness4/5

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

For a destructive identity-key rotation with no output schema, the description covers consequences, retry behavior, storage advice, and lockout recovery, and it references the returned token. The main remaining gap is not pointing the agent at related siblings or describing the response shape beyond the token mention.

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 both op_key and revoke_others are already documented in the schema, largely with the same wording the description repeats. The description adds the 'default keeps existing keys' framing but no syntax or format detail beyond the schema, so the baseline 3 applies.

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

Purpose4/5

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

The description states a concrete action and resource: creating a live-identity credential (rotation), optionally revoking the prior keys. It is specific enough to act on, but it does not explicitly distinguish this from siblings like create_credential, revoke_credential, or recover_credential, and the opening framing ('Create a credential') partially conflicts with the tool's rotation name.

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?

It gives real when-to-use guidance: default behavior keeps existing keys, revoke_others=true performs a full rotation, and it advises creating and storing an additional key before revoking the old one for a safe handoff. It stops short of naming alternative sibling tools for related tasks.

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.