Skip to main content
Glama

Algizian

Rotate signing key

rotate_key
DestructiveIdempotent

Requires sign-in (scope orgs:admin). Create a new signing key for the tenant; the old one stays published until its tokens have expired. Destructive: needs the owner, the orgs:admin scope and an emailed confirmation. The initial request answers confirmation_required with a confirmation_id and mails a 6-digit code to the owner; the person reads the code from their mailbox (this connection cannot) and the request is repeated with the same arguments plus confirmation_id and code.

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": {
      "tenant": "<tenant>"
    },
    "name": "rotate_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNothe 6-digit code the person received by email (ask them; you cannot read it)
resendNotrue (without code) asks for a new code
tenantYestenant slug
confirmation_idNofrom the confirmation_required answer

Output Schema

NameRequiredDescriptionDefault
resultYesThe result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint and idempotentHint, yet the description adds substantial context: the auth scope, the owner requirement, that the old key remains published until token expiry, and the exact confirmation handshake. It even warns that the agent cannot read the emailed code and must ask the person, which is critical behavioral guidance beyond the annotations.

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 sentences, front-loaded with the auth requirement and the destructive nature, then the mechanics of the confirmation loop. Dense but every sentence carries actionable information; slightly long but not padded.

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 destructive, multi-step confirmation tool with four parameters, the description covers authorization, irreversibility expectations, the two-phase call protocol, and agent limitations. An output schema exists, so return values need not be explained.

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?

Schema coverage is 100% so the baseline is 3, but the description goes further by explaining the lifecycle of confirmation_id and code: they are absent on the first call, returned via confirmation_required, and replayed with identical arguments on retry. This adds procedural meaning the schema's per-field text alone does not convey.

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 verb and resource ('Create a new signing key for the tenant') and immediately clarifies the rotation semantics ('the old one stays published until its tokens have expired'). An agent can tell exactly what this does and what happens to the prior key without inspecting 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?

It clearly establishes the preconditions for use — sign-in with orgs:admin, owner role, emailed confirmation — and describes the required two-step call sequence. It does not name an alternative tool for key management, but the guidance on when this is applicable is explicit.

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