Skip to main content
Glama

Delete Webhook

delete_webhook
DestructiveIdempotent

Removes a webhook subscription — events stop being delivered to its URL immediately; irreversible (recreate with create_webhook if needed). Confirm with the user first: call WITHOUT confirm for a read-only PREVIEW, then again with confirm:true. The deletion is verified server-side: an unknown or already-deleted webhook is refused with 'Webhook not found.', so a success reply means a real subscription was removed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
confirmNoOmit or false → read-only preview, nothing is deleted. true → actually delete the webhook (only after the user explicitly agreed).
webhookIDYesWebhook ID, as returned by list_webhooks.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageNoWhat the call did, verified, refused or previewed — the complete human-readable outcome.
previewNotrue when the call was a preview (confirm not passed): nothing was changed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, and the description adds substantial context beyond them: immediate cessation of delivery, irreversibility, server-side verification, and the exact refusal message for unknown/deleted webhooks (consistent with idempotency). This is rich behavioral disclosure, not repetition.

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?

Front-loaded with the destructive action and its effect, then the safety workflow, then verification. It is fairly long but nearly every clause carries actionable information; only the trailing verification sentence could be trimmed slightly.

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?

An output schema exists so return values need not be explained. The description covers the destructive consequence, irreversibility, the preview/confirm protocol, and error behavior — everything an agent needs to invoke this safely.

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

Parameters4/5

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

Schema coverage is 100% and the confirm parameter is already well documented in the schema, so baseline is 3. The description nonetheless reinforces the semantics by framing confirm as the gate between a read-only preview and the real deletion, adding workflow meaning beyond the field text.

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+resource ("Removes a webhook subscription") and its immediate effect. It clearly distinguishes itself from create_webhook and list_webhooks, which are the natural siblings an agent might confuse it with.

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

Usage Guidelines5/5

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

Explicitly prescribes the two-phase workflow (call without confirm for a preview, then with confirm:true after user agreement) and names the alternative (create_webhook to recreate). Nothing about when/when-not to use it is left to inference.

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