Skip to main content
Glama

Delete webhook

delete_webhook
DestructiveIdempotent

Delete a webhook endpoint; deliveries stop immediately. Irreversible.

    Use when the endpoint is retired. To pause temporarily use
    update_webhook with is_enabled=false instead.

    Returns {"deleted": true, "webhook_id": "<id>"}. Fails with not_found
    for an unknown id and insufficient_scope without the destructive scope.
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
webhook_idYesUUID of the webhook, from list_webhooks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / webhook_id / description
      Added value: +"UUID of the webhook, from list_webhooks."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description goes further with the immediate delivery cutoff, irreversibility, the exact success payload, and named failure modes not_found and insufficient_scope. That is meaningful context beyond the structured hints.

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 effect, then usage routing, then return/error contract — every sentence earns its place. Slightly denser than needed but no waste worth cutting.

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?

With no output schema, the description supplies the return shape and the two error conditions, and the mutation risk is fully covered. An agent has everything needed to call and interpret it.

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 parameter is documented in the schema ('UUID of the webhook, from list_webhooks'). The description adds no parameter-level detail, so the baseline 3 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 ('Delete a webhook endpoint') and immediately qualifies scope with 'deliveries stop immediately. Irreversible.' This clearly separates it from sibling update_webhook and the other delete_* tools.

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?

Explicit when-to-use ('Use when the endpoint is retired') plus an explicit alternative and its condition: 'To pause temporarily use update_webhook with is_enabled=false instead.' This is exactly the when/when-not/alternative guidance the dimension asks for.

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