Skip to main content
Glama

Rotate wake webhook secret

stack_rotate_wake_webhook_secret
Destructive

Make a new signing secret for an agent's wake webhook; the old one keeps verifying for 24 hours. A webhook signing secret is never put in a chat: a call made with a chat sign-in returns secret_note, which says where to read it (the CLI or the API with an API key). Operator only.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "stack_rotate_wake_webhook_secret"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesAgent id (agt_*): any agent of the customer, with or without an agent account

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?

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real substance on top: a 24-hour grace period where the previous secret still verifies, an operator-only permission requirement, and the secret_note return behavior for chat sign-ins. What is missing is any warning about other consumers breaking after the 24 hours or how many active secrets can coexist.

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?

Three sentences, front-loaded with the action and its consequence, then the auth/handling caveat. Dense and purposeful, though the 'never put in a chat' clause and the secret_note explanation are slightly repetitive.

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 single-parameter, destructive rotation tool with no output schema, the description covers the action, the grace-period side effect, the auth requirement, and how the resulting secret is actually retrieved. Nothing an agent needs in order to call it correctly or warn the user is absent.

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?

Schema coverage is 100% and the single agent_id parameter is fully documented in the schema, so the description does not need to explain it. The description adds no extra meaning about agent_id (e.g., whether the agent must be active) beyond what the schema already says, so the baseline applies.

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 ('Make a new signing secret for an agent's wake webhook') and immediately scopes the effect ('the old one keeps verifying for 24 hours'), which separates it from a plain read or test tool like stack_test_wake_webhook. The resource is narrow enough that an agent can tell this is the wake-webhook rotation path.

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: it is operator-only, and a chat-authenticated call will not hand back the secret but a secret_note pointing to the CLI or an API-key call. It stops short of naming alternatives (e.g., control-secret rotation or the test-webhook tool), so there is no explicit when-not guidance.

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.