Skip to main content
Glama

Rotate account signing key

stack_rotate_account_signing_key

Rotate the key an agent account signs its outbound requests with: a new key signs from now on and the old one stays published for two days, so signatures already made stay verifiable. Operator only, owner or admin; an agent session is refused. Returns the keys, as the list does.

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": {
      "account_id": "<account_id>"
    },
    "name": "stack_rotate_account_signing_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesAgent account id (acct_*)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is not read-only and not destructive; the description adds the crucial behavior that the old key remains published for two days so existing signatures stay verifiable, which is exactly the operational detail an agent needs. It also discloses the permission model and the refusal case for agent sessions, and states the return shape.

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, front-loaded with the effect of the call and followed by the authorization constraint and return value. Nothing is redundant, though the closing clause about the list tool is slightly compressed and requires the reader to infer the relationship.

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 one-parameter mutation with no output schema, the description covers the state transition, the grace period on the old key, who may call it, who is refused, and what comes back. An agent has everything needed to decide whether and how to invoke it.

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 single parameter has 100% schema description coverage ('Agent account id (acct_*)'), so the schema carries the semantics. The description only refers to 'an agent account' generically and adds no format or validation detail beyond the schema — the baseline 3 for high coverage is appropriate.

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 ('Rotate the key an agent account signs its outbound requests with') and immediately clarifies the resulting state change. It also implicitly distinguishes itself from the listing sibling by noting it 'Returns the keys, as the list does,' so an agent can tell rotation apart from read-only key inspection.

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?

Gives a clear authorization context: operator only, owner or admin, and explicitly that an agent session is refused — strong guidance on when this call will succeed. It stops short of naming an alternative path (e.g., listing keys to inspect first, or revoking instead of rotating), so it is clear context rather than full when/when-not routing.

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.