Skip to main content
Glama

Rotate control signing secret

stack_rotate_control_secret
Destructive

Create a new signing secret for the decision or events address. The new secret is never returned in the chat: secret_reveal.url is a single-use Console link, good for an hour, where the person reads it once, signed in. The old one keeps verifying until previous_valid_until, 24 hours later. Operator only. This needs the person to approve it in their browser, never in the chat: the call fails with GOVERNANCE_APPROVAL_REQUIRED, approval_id and approval_url, the page where they approve that one change, and the same call sent with governance_approval_id after approval applies it. An approval is single-use, bound to the exact request, and expires after 24 hours. Returns target, secret_reveal and previous_valid_until.

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": {
      "target": "<target>"
    },
    "name": "stack_rotate_control_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesdecision: the address that allows or refuses each checked action. events: the address that receives the record of what happened.
governance_approval_idNoApproval id (gvr_*) from a GOVERNANCE_APPROVAL_REQUIRED response, once the person approved it in their browser

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?

Goes well past the annotations: the secret is never returned in chat, secret_reveal.url is a single-use one-hour Console link requiring sign-in, the old secret keeps verifying for 24 hours (previous_valid_until), and the call fails with GOVERNANCE_APPROVAL_REQUIRED plus approval_id/approval_url until a browser approval is supplied. It also discloses that approvals are single-use, request-bound, and expire in 24 hours, which is exactly the context an agent needs before invoking a destructive rotation.

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?

Front-loads the action and the key constraint (secret never returned), then the approval mechanics, then return fields. The 'never in the chat' point is restated twice and the approval paragraph is dense, but nearly every clause conveys operative behavior.

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?

With no output schema, the description supplies the return shape (target, secret_reveal, previous_valid_until) and the full error/retry contract. For a destructive, approval-gated rotation with only two parameters, nothing material is left unexplained.

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 enum definitions already carry the parameter meanings, but the description adds real behavioral semantics for governance_approval_id by explaining that it comes from a GOVERNANCE_APPROVAL_REQUIRED response and applies the same request only after browser approval. That linkage is not derivable from the schema alone.

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 ('Create a new signing secret') scoped precisely to 'the decision or events address'. The target enum plus the rotation semantics distinguish it from sibling rotations such as stack_rotate_wake_webhook_secret and stack_rotate_account_signing_key without needing to open any 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?

Gives clear operating context: operator only, must be approved in the browser, and the exact retry path via governance_approval_id after approval. It does not name sibling alternatives (e.g. when to rotate the decision vs events address, or why use this over stack_set_control_decision_address), so the when-to-use-vs-alternative guidance is implied rather than 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.