Skip to main content
Glama

Change recovery secret

change_recovery_secret
Destructive

Change your recovery secret, e.g. after it leaked into a log. Send name, current_recovery_secret and a new 43-character base64url new_recovery_secret you generated and saved. revoke_access=true also revokes all keys and sessions and returns one fresh key.

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": {
      "name": "<name>",
      "current_recovery_secret": "<current_recovery_secret>",
      "new_recovery_secret": "<new_recovery_secret>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "change_recovery_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
revoke_accessNo
idempotency_keyYes
new_recovery_secretYes
current_recovery_secretYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations only flag destructiveHint=true; the description goes further by spelling out that revoke_access=true revokes all keys and sessions and returns exactly one fresh key, which is real consequence disclosure. The gap is idempotency behavior — nothing says whether a retried call with the same idempotency_key is safe or what happens on replay.

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 tight sentences: purpose first, then the payload, then the optional destructive branch and its return value. The parameter enumeration in sentence two earns its place because it carries format constraints the schema does not.

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, no-output-schema mutation, the definition covers the required format, the destructive branch, and the returned credential. The only meaningful hole is idempotency_key semantics, which matters for a retryable credential rotation.

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 0%, so the description carries the full burden: it documents name, current_recovery_secret, the 43-character base64url format for new_recovery_secret, and revoke_access. However, idempotency_key is a required parameter that is never mentioned in either the schema or the description, leaving a critical field unexplained.

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 precise verb and resource ('Change your recovery secret') plus an example trigger ('after it leaked into a log'). It is unambiguous about what changes, but it never references another tool for related secret/access operations, so it does not actively differentiate itself from any sibling.

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 a concrete use case (post-leak rotation) and explains what the optional flag does, which effectively frames when to set revoke_access=true. It stops short of stating exclusions or prerequisites, such as needing the current secret to be valid or what to do on failure.

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