Skip to main content
Glama

Sergio by Serviche

Rotate a webhook's signing secret

webhook_rotate_secret
Idempotent

Replaces one webhook's signing secret (webhook_id from read webhooks), as Rotate on its row does, and answers the new secret ONCE. A receiver that checks signatures needs the new one. Pass the same idempotency_key when retrying.

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": {
      "webhook_id": "<webhook_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "webhook_rotate_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhook_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is carried. The description still adds two real behavioral facts beyond them: the new secret is returned only once (unrecoverable afterwards) and the prior secret is replaced. It does not say how long the old secret stays valid, which matters to callers with live receivers.

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, mutation and single-return constraint front-loaded, no filler. The UI analogy and the receiver justification each earn their place by explaining behavior an agent would otherwise guess wrong.

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?

No output schema exists, so the description must cover the return value, and it does ('answers the new secret ONCE'). For a two-parameter mutation that is nearly complete; the remaining gap is the validity window of the superseded secret and any error behavior.

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?

Coverage is 50%, so the bar is lower than the high-coverage baseline, and the description does supply the origin of webhook_id ('from read webhooks') and the retry rule for idempotency_key ('Pass the same idempotency_key when retrying'). That overlaps heavily with the schema's own idempotency_key description, and no format or constraint detail is added beyond the schema.

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 ('Replaces one webhook's signing secret') with explicit scope ('one webhook'), and anchors it to the dashboard equivalent ('as Rotate on its row does'). An agent can tell this apart from webhook_update 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 Guidelines4/5

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

Gives clear context for use ('A receiver that checks signatures needs the new one') and points to where webhook_id comes from ('read webhooks'), plus retry guidance. It stops short of naming a when-not case or an explicit alternative such as webhook_update for non-secret changes.

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