Skip to main content
Glama

Rotate a webhook signing secret

webhooks_rotate_secret
Destructive

Replace an endpoint's signing secret; the old one stops working at once. Returns the new secret.

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": "webhooks_rotate_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
org_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, but the description supplies the specific consequence those hints only gesture at: the previous secret is invalidated immediately with no grace period, which is exactly the operational risk an agent must communicate. It also discloses the return value ('the new secret'), useful since there is no output schema. It stops short of mentioning permissions or whether verification against the old secret will fail on in-flight deliveries.

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?

Two compact clauses, zero filler, with the destructive consequence front-loaded right after the action and the return value last. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, non-idempotent mutation this covers the essentials (immediate invalidation, returns new secret) and compensates for the missing output schema. However, with 0% schema coverage it leaves both parameters unexplained and gives no guidance on stance toward the webhooks_update sibling, so it is only adequate rather than complete.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, and the description only obliquely implies that 'id' is the endpoint identifier. It says nothing about what org_id means or whether it is required when the endpoint is outside a default org, so the gap left by the schema is not compensated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Replace an endpoint's signing secret') and adds the outcome ('the old one stops working at once'), which separates it from the generic webhooks_update sibling. It never explicitly names an alternative, so the differentiation is implied by the resource rather than stated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance: nothing about when rotation is warranted (compromise, scheduled rotation, leaked secret) and no mention of webhooks_update as the non-rotating alternative for changing endpoint configuration. The agent must infer the trigger entirely.

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