rotate_webhook_secret
Replace a webhook signing secret; the old one stops working at once. Returns the new secret. Needs a key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook id from list_webhooks, e.g. wh_01JB2X3Y4Z |
Replace a webhook signing secret; the old one stops working at once. Returns the new secret. Needs a key.
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Webhook id from list_webhooks, e.g. wh_01JB2X3Y4Z |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds genuinely new context: the old secret is invalidated immediately, and the tool returns the new secret (useful given no output schema). It doesn't confirm irreversibility or scope of downstream breakage, but it meaningfully exceeds the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short clauses, each carrying distinct information (action, side effect, return, prerequisite), front-loaded with the core action. No waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-parameter mutation with full schema coverage and annotations, the description covers impact, return value, and auth need. Only mild gaps remain around reversibility and what happens to in-flight deliveries.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single 'id' parameter is documented in-schema with an example format, so the description has little to add. Baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb and resource ('Replace a webhook signing secret'), which is clearly distinguishable from generic siblings like update_webhook or create_webhook. It stops short of explicitly naming those siblings as alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'Needs a key' hints at an auth prerequisite, but the description never states when an agent should rotate rather than call update_webhook, nor any conditions/exclusions. Usage is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.