Skip to main content
Glama

Delete Webhook (preview, then confirm)

delete_webhook
DestructiveIdempotent

Delete a webhook. Its URL stops receiving event notifications and this cannot be undone; needs webhook_id. Shows a preview first and deletes only with confirm: true.

Input Schema

NameRequiredDescriptionDefault
confirmNoMust be true to make the change. Leave it out first to get a preview, show it to the user, and ask them to confirm
dry_runNoShow what would be deleted without deleting
webhook_idYesWebhook ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds useful specifics beyond that: the webhook URL stops receiving notifications, deletion is irreversible, and a preview/confirm flow is required. It omits behavior around repeated deletes and what the preview returns, which keeps it from a 5.

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?

The description is two tightly written sentences with no wasted wording. The destructive consequence and the preview/confirm requirement are front-loaded, making the key risks and usage pattern immediately visible.

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 delete tool with rich annotations and full schema coverage, the description is complete enough to invoke correctly: it names the required ID, explains irreversibility, and describes the preview/confirm flow. Minor gaps remain around sibling differentiation with delete_transactional_webhook and what the preview returns, but nothing essential is missing.

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 description coverage is 100%, so the input schema already documents all three parameters. The description reinforces that webhook_id is required and that deletion happens only with confirm: true, but it adds no real semantics beyond the schema and does not mention dry_run. Baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb and resource: "Delete a webhook." It also adds meaningful consequences, stating that the webhook's URL stops receiving event notifications and the action cannot be undone. However, it does not explicitly distinguish this tool from the sibling delete_transactional_webhook, so it falls short of a 5.

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?

The description provides clear usage context for the two-step flow: it "shows a preview first and deletes only with confirm: true." This tells the agent how to invoke it safely. It does not discuss alternatives such as delete_transactional_webhook or when not to use this tool, so it is strong but not fully comprehensive.

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.