Skip to main content
Glama

quiry

Rotate webhook secret

rotate_webhook_secret

Issues a new webhook signing secret and returns it. The old one stops working. Recorded in the audit log.

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": {
      "id": "<id>"
    },
    "name": "rotate_webhook_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does meaningful work: it discloses that rotation invalidates the old secret (an irreversible, breaking side effect), that the new secret is returned inline, and that the action is audit logged. It still omits authorization requirements, whether the secret is retrievable again later, and any propagation delay.

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 short sentences, each earning its place: what it does, what happens to the old value, and the audit consequence. The effect on existing state is front-loaded before the return value.

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 one-parameter rotation tool with no output schema and no annotations, the description covers the essentials an agent needs: the new secret comes back, the old one dies, and the action is logged. Only error behavior and the exact meaning of 'id' remain unstated.

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?

The single parameter is a bare UUID with 0% schema description coverage, but the definition's framing makes the referent clear — the 'id' is the webhook whose secret is rotated, and the tool names the webhook domain explicitly. That said, it never states whether id is a webhook id or a site/workspace id, which is the one ambiguity worth closing.

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 ('Issues a new webhook signing secret') and adds the effect ('The old one stops working') plus the return ('returns it'). An agent can distinguish this from reveal_webhook_secret (reads an existing secret) and rotate_site_identity_secret (different resource) without opening 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 Guidelines3/5

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

Usage is implied by the described effect: you call this when a secret must be replaced, not merely viewed. However, it never explicitly names the alternative read-only sibling (reveal_webhook_secret) or states a when-not condition, so routing guidance is left to 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.

Resources