Skip to main content
Glama
AlgoChains

AlgoChains MCP Server

Official
by AlgoChains

rotate_developer_key

Idempotent

Rotate a developer key to revoke the old key and mint a new one atomically. Requires AAL2 authentication; the new plaintext key is returned only once.

Instructions

Atomically rotate a developer key (revoke old, mint new). Requires AAL2 session. New plaintext returned ONCE ONLY.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the new key (defaults to old key's name)
key_idYesUUID of the key to rotate
access_tokenYesAAL2 access token from verify_mfa response

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv22.7.3
    • addedInput schema / properties / access_token
      Added value: +{
      +  "description": "AAL2 access token from verify_mfa response",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "key_id"
      -]New value: +[
      +  "access_token",
      +  "key_id"
      +]
  2. First observedv22.7.1

TDQS

A4.5/5.0
Behavior5/5

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

The description adds critical behavioral details beyond annotations: the operation is atomic, the old key is revoked and a new one minted, AAL2 authentication is required, and the new plaintext is returned only once. This is especially important for a credential-rotation tool, where losing the one-time secret would be irreversible. No contradiction with annotations was found.

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?

Two compact, front-loaded sentences convey the action, the atomicity, the authentication requirement, and the one-time return warning. Every sentence earns its place and there is no filler or redundant restating of the tool name.

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 security-sensitive credential operation with no output schema, the description covers the essential behavioral contract: what happens atomically, the required auth level, and the critical one-time return of the new secret. Combined with the fully documented schema, an agent has enough context to invoke the tool correctly and appreciate the irreversible nature of missing the plaintext.

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?

The input schema already documents all parameters at 100% coverage, including key_id as UUID and access_token as the AAL2 token from verify_mfa. The description reinforces the AAL2 requirement but does not add substantial parameter-level meaning beyond the schema, which matches the baseline for full schema coverage.

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 states a specific action with a resource: 'Atomically rotate a developer key (revoke old, mint new).' This clearly distinguishes it from simple create or revoke operations, particularly given sibling tools like create_developer_key and revoke_developer_key. The verb and resource are explicit and meaningful.

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 description clearly specifies a prerequisite ('Requires AAL2 session') and defines the exact use case as a combined revoke-and-mint operation. It does not explicitly name alternative tools or state when not to use them, but the intended context is strongly implied by the atomic rotation semantics.

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/AlgoChains/algochains-mcp-server'

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