Skip to main content
Glama

update_webhook

Destructive

Update a webhook's name, https URL, subscribed events or status (active/inactive to pause and resume). Only supplied fields change; events are replaced wholesale. Custom headers cannot be set here: they usually hold receiver credentials, so never ask the user for header values and give them the dashboardUrl from the response instead, where headers are edited. Existing headers are kept and their values are returned as [hidden]. Mutating; use list_webhooks to find the id.

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": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoThe https URL Checkout Page POSTs event payloads to. Plain http is rejected.
nameNoInternal label for the endpoint, shown in the dashboard.
eventsNoEvents this endpoint receives. At least one is required; duplicates are ignored.
statusNoSet `inactive` to pause deliveries without deleting the endpoint, `active` to resume. `failed` is system-managed and cannot be set.
webhookIdYesThe webhook to update. Use list_webhooks to find the id.

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • changedInput schema / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: 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: +"An event a webhook can subscribe to. Valid values: 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."
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "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: +[
      +  "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"
      +]
    • 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. Changed4 schema fields changed
    • changedInput schema / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: 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: +"An event a webhook can subscribe to. Valid values: 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."
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "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: +[
      +  "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"
      +]
    • 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. Changed4 schema fields changed
    • changedInput schema / properties / events / items / description
      Previous value: -"An event a webhook can subscribe to. Valid values: 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: +"An event a webhook can subscribe to. Valid values: 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."
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "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: +[
      +  "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"
      +]
    • 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.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and openWorldHint=true, and the description adds real nuance beyond them: partial-update semantics ('only supplied fields change'), the destructive asymmetry that events are replaced wholesale, header preservation with values returned as `[hidden]`, and a credential-safety instruction about not soliciting header values.

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?

Front-loads what can be changed, then the mutation semantics, then the header caveat and the id hint. Every sentence carries operational value — the credential-safety instruction and the `[hidden]` note are not filler.

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, yet the description still points to `dashboardUrl` in the response, which is the one return value an agent must act on. For a 5-parameter partial-update tool with a credential edge case, nothing needed to call it correctly is missing.

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%, so baseline is 3, but the description adds meaning the schema does not: `events` is a wholesale replacement rather than a merge, and `status` toggles are framed as pause/resume of deliveries. The header-credential note also explains why no header field exists.

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?

Opens with a specific verb+resource and enumerates the exact mutable fields (name, https URL, subscribed events, status), so an agent can distinguish it from list_webhooks, create_webhook, and get_webhook without opening the 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?

Explicitly routes the agent: use list_webhooks to obtain the webhookId, and never attempt header edits here — send the user to the response's `dashboardUrl` instead. The only gap is that it doesn't explicitly contrast with create_webhook (update existing vs. create new), which is left implicit in the verb.

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