Skip to main content
Glama

rotate_signing_secret

Replace the project's signing secret, e.g. after it leaked. Rotate only when the user asks. Returns the new signing_secret: give it only to the user, for the destination, and do not repeat it. For overlap (default 24h) every delivery and wake is signed with both signing secrets, one v1= entry each in RunLater-Signature, so the destination can be updated without rejecting a delivery; previous_valid_until_ms says when the old secret stops. Pass overlap: "0s" when it has leaked: the old secret stops signing from the next attempt (one already in flight may still carry it for a few seconds). Rotating again during an overlap stops the oldest signing secret the same way. Nothing else changes: tasks already scheduled are signed with the new secret from their next attempt, and create_project returns the new secret from now on.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "rotate_signing_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
overlapNoHow long the old secret keeps signing too: a whole number and s, m, h or d, from "0s" (it stops from the next attempt) to "7d".24h

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it discloses that the return value contains a new signing secret to be given only to the user and not repeated, plus previous_valid_until_ms for expiry. It also explains dual-signing during overlap, the in-flight caveat for "0s", what happens if rotation is repeated during an overlap, and that scheduled tasks pick up the new secret on their next attempt.

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?

The critical facts are front-loaded: verb, guardrail, and the secret-handling warning come first. It is a single dense block with no filler, though the length is near the upper bound and a few clauses (e.g. the create_project consequence) are secondary detail.

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 tool with no annotations and no output schema, everything an agent needs is present: return payload shape, secrecy handling, timing semantics, and the effect on already-scheduled work. No meaningful gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 adds real meaning beyond the pattern and range: the default 24h overlap, why "0s" exists for a leaked secret, and that the old secret stops signing from the next attempt with a brief in-flight window. That is behavioral semantics the schema cannot express.

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?

"Replace the project's signing secret" states a specific verb and resource, and adds the motivating scenario ("e.g. after it leaked"). The word "Replace" plus the overlap semantics clearly separates it from siblings such as set_secret, delete_secret and list_secrets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit permission gate ("Rotate only when the user asks") and a concrete condition that selects a parameter value ("Pass overlap: \"0s\" when it has leaked"). It also states when the overlap path applies versus the leak path, so the agent can choose correctly without inference.

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.