Skip to main content
Glama

delete_webhook

Destructive

Delete a webhook endpoint by id. Deliveries stop immediately and the endpoint disappears from list_webhooks; its delivery history is kept. Destructive and irreversible. Confirm with the user and use list_webhooks to find the id first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "webhookId": "<webhookId>"
    },
    "name": "delete_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
webhookIdYesThe webhook ID, as returned by create or list.

Output Schema

NameRequiredDescriptionDefault
dataYesA webhook endpoint subscribed to one or more events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / data / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, payment.canceled, booking.abandoned, booking.created, booking.paid, booking.canceled, ticket.created, ticket.canceled, submission.created, submission.updated, submission.canceled, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."New value: +"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, payment.canceled, booking.abandoned, booking.created, booking.paid, booking.canceled, ticket.created, ticket.canceled, ticket.updated, submission.created, submission.updated, submission.canceled, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."
    • changedOutput schema / properties / data / properties / events / items / enum
      Previous value: -[
      -  "webhook.test",
      -  "customer.created",
      -  "customer.updated",
      -  "payment.abandoned",
      -  "payment.created",
      -  "payment.paid",
      -  "payment.canceled",
      -  "booking.abandoned",
      -  "booking.created",
      -  "booking.paid",
      -  "booking.canceled",
      -  "ticket.created",
      -  "ticket.canceled",
      -  "submission.created",
      -  "submission.updated",
      -  "submission.canceled",
      -  "checkout_page.created",
      -  "checkout_page.updated",
      -  "product.created",
      -  "product.updated",
      -  "subscription.abandoned",
      -  "subscription.created",
      -  "subscription.trialing",
      -  "subscription.scheduled",
      -  "subscription.active",
      -  "subscription.completed",
      -  "subscription.canceled",
      -  "subscription.expired"
      -]New value: +[
      +  "webhook.test",
      +  "customer.created",
      +  "customer.updated",
      +  "payment.abandoned",
      +  "payment.created",
      +  "payment.paid",
      +  "payment.canceled",
      +  "booking.abandoned",
      +  "booking.created",
      +  "booking.paid",
      +  "booking.canceled",
      +  "ticket.created",
      +  "ticket.canceled",
      +  "ticket.updated",
      +  "submission.created",
      +  "submission.updated",
      +  "submission.canceled",
      +  "checkout_page.created",
      +  "checkout_page.updated",
      +  "product.created",
      +  "product.updated",
      +  "subscription.abandoned",
      +  "subscription.created",
      +  "subscription.trialing",
      +  "subscription.scheduled",
      +  "subscription.active",
      +  "subscription.completed",
      +  "subscription.canceled",
      +  "subscription.expired"
      +]
  2. Changed2 schema fields changed
    • changedOutput schema / properties / data / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, payment.canceled, booking.abandoned, booking.created, booking.paid, booking.canceled, ticket.created, submission.created, submission.updated, submission.canceled, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."New value: +"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, payment.canceled, booking.abandoned, booking.created, booking.paid, booking.canceled, ticket.created, ticket.canceled, submission.created, submission.updated, submission.canceled, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."
    • changedOutput schema / properties / data / properties / events / items / enum
      Previous value: -[
      -  "webhook.test",
      -  "customer.created",
      -  "customer.updated",
      -  "payment.abandoned",
      -  "payment.created",
      -  "payment.paid",
      -  "payment.canceled",
      -  "booking.abandoned",
      -  "booking.created",
      -  "booking.paid",
      -  "booking.canceled",
      -  "ticket.created",
      -  "submission.created",
      -  "submission.updated",
      -  "submission.canceled",
      -  "checkout_page.created",
      -  "checkout_page.updated",
      -  "product.created",
      -  "product.updated",
      -  "subscription.abandoned",
      -  "subscription.created",
      -  "subscription.trialing",
      -  "subscription.scheduled",
      -  "subscription.active",
      -  "subscription.completed",
      -  "subscription.canceled",
      -  "subscription.expired"
      -]New value: +[
      +  "webhook.test",
      +  "customer.created",
      +  "customer.updated",
      +  "payment.abandoned",
      +  "payment.created",
      +  "payment.paid",
      +  "payment.canceled",
      +  "booking.abandoned",
      +  "booking.created",
      +  "booking.paid",
      +  "booking.canceled",
      +  "ticket.created",
      +  "ticket.canceled",
      +  "submission.created",
      +  "submission.updated",
      +  "submission.canceled",
      +  "checkout_page.created",
      +  "checkout_page.updated",
      +  "product.created",
      +  "product.updated",
      +  "subscription.abandoned",
      +  "subscription.created",
      +  "subscription.trialing",
      +  "subscription.scheduled",
      +  "subscription.active",
      +  "subscription.completed",
      +  "subscription.canceled",
      +  "subscription.expired"
      +]
  3. Changed2 schema fields changed
    • changedOutput schema / properties / data / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, booking.abandoned, booking.created, booking.paid, ticket.created, submission.created, submission.updated, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."New value: +"An event a webhook can subscribe to. Valid values: webhook.test, customer.created, customer.updated, payment.abandoned, payment.created, payment.paid, payment.canceled, booking.abandoned, booking.created, booking.paid, booking.canceled, ticket.created, submission.created, submission.updated, submission.canceled, checkout_page.created, checkout_page.updated, product.created, product.updated, subscription.abandoned, subscription.created, subscription.trialing, subscription.scheduled, subscription.active, subscription.completed, subscription.canceled, subscription.expired. `webhook.test` is the payload sent by the dashboard's test-delivery action."
    • changedOutput schema / properties / data / properties / events / items / enum
      Previous value: -[
      -  "webhook.test",
      -  "customer.created",
      -  "customer.updated",
      -  "payment.abandoned",
      -  "payment.created",
      -  "payment.paid",
      -  "booking.abandoned",
      -  "booking.created",
      -  "booking.paid",
      -  "ticket.created",
      -  "submission.created",
      -  "submission.updated",
      -  "checkout_page.created",
      -  "checkout_page.updated",
      -  "product.created",
      -  "product.updated",
      -  "subscription.abandoned",
      -  "subscription.created",
      -  "subscription.trialing",
      -  "subscription.scheduled",
      -  "subscription.active",
      -  "subscription.completed",
      -  "subscription.canceled",
      -  "subscription.expired"
      -]New value: +[
      +  "webhook.test",
      +  "customer.created",
      +  "customer.updated",
      +  "payment.abandoned",
      +  "payment.created",
      +  "payment.paid",
      +  "payment.canceled",
      +  "booking.abandoned",
      +  "booking.created",
      +  "booking.paid",
      +  "booking.canceled",
      +  "ticket.created",
      +  "submission.created",
      +  "submission.updated",
      +  "submission.canceled",
      +  "checkout_page.created",
      +  "checkout_page.updated",
      +  "product.created",
      +  "product.updated",
      +  "subscription.abandoned",
      +  "subscription.created",
      +  "subscription.trialing",
      +  "subscription.scheduled",
      +  "subscription.active",
      +  "subscription.completed",
      +  "subscription.canceled",
      +  "subscription.expired"
      +]
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by describing post-call effects: deliveries stop immediately, the endpoint vanishes from list_webhooks, but delivery history is retained. That retention detail is exactly the kind of non-obvious consequence an agent needs. It does not cover permission requirements or error behavior, keeping it short of 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.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and followed by consequences and prerequisite. Every sentence carries signal; no filler or repetition of the title.

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?

For a single-parameter destructive tool with annotations and an output schema, the description supplies what structured fields cannot: irreversibility, immediate effect, list visibility, history retention, and a confirmation workflow. Nothing essential to correct invocation 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 coverage is 100% and the schema already documents webhookId with its 24-hex pattern and origin ('as returned by create or list'). The description only reinforces where to obtain the id via list_webhooks, so baseline 3 is appropriate.

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 by id') and immediately differentiates the scope: it names list_webhooks as the lookup path rather than conflating listing with deletion. An agent can distinguish this from get_webhook/update_webhook without opening 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 Guidelines5/5

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

Gives an explicit precondition sequence: confirm with the user first, then resolve the id via list_webhooks. It effectively warns when not to call it casually (irreversible, needs confirmation) and points to the correct alternative for discovery.

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