Skip to main content
Glama

Update webhook

update_webhook
Destructive

Changes one of the account's webhooks: the event types it sends, turns it off or on (enabled), or replaces its signing secret (rotateSecret: the new one comes back once, and the old one stops verifying). Turning it on needs confirm: true, since events leave Decknote again; without it the result is a preview.

Input Schema

NameRequiredDescriptionDefault
eventsNo
confirmNotrue performs the action. Without it (or with any value other than the boolean true) nothing changes and the result is a preview of the effects.
enabledNo
webhookIdYes
rotateSecretNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare destructiveHint=true; the description goes further by explaining that rotateSecret invalidates the old secret ('the old one stops verifying') and returns the new one a single time, and that toggling enabled resumes outbound event delivery. Those are precisely the consequences an agent cannot infer from the schema or hints. The outbound-delivery wording sits slightly at odds with openWorldHint=false, but it describes the webhook's own runtime behavior rather than an unbounded tool domain, so it is not a genuine contradiction.

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 sentences, front-loaded with the verb and resource, then the parameters in the order they matter. Every clause carries distinct information; none of it repeats the schema or annotations.

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 destructive mutation with no output schema, it covers the dangerous paths well (secret rotation, enable gate, preview fallback). The notable gap is whether passing events replaces the existing subscription list or merges with it, plus permission requirements — either would matter before an agent calls it.

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

Parameters5/5

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

Schema coverage is only 20% (only confirm is documented), so the description must carry the load, and it does: events = which event types it sends, enabled = off/on toggle, rotateSecret = secret replacement with one-time return of the new value, confirm = preview gate. Only webhookId is left implicit, and its meaning is self-evident from the sentence.

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 ('Changes one of the account's webhooks') and enumerates the three mutation surfaces: event subscriptions, enabled state, and signing secret. The verb 'changes' plus the required webhookId makes it unambiguous against create_webhook, delete_webhook, and list_webhooks without needing to open any 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 a concrete operational rule: enabling requires confirm: true because 'events leave Decknote again', and without it the call only previews. That is real guidance for the riskiest branch, but there is no explicit statement about when to prefer this over siblings (e.g., create/delete) or who is allowed to call it.

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