Skip to main content
Glama

Add a webhook

create_webhook

Send the site's form submissions, contact, payment and booking events to an outside address (an automation service such as Zapier, Make or n8n, a chat channel, or the owner's own server). From then on EVERY matching event — including the visitor's name, email and message — is sent there automatically, so only use an address the owner gave you. The address must be public http(s). Events: form.submitted (every form submission on your site, with the contact it belongs to), contact.created (a form submission with an email address added or matched a contact), contact.revisited (a known contact came back to your site (once per visit)), payment.completed (a customer paid for an order), booking.created (a new appointment was booked (waiting for you, or already confirmed)), booking.confirmed (an appointment was confirmed), booking.rescheduled (an appointment moved to a new time), booking.cancelled (an appointment was cancelled or declined), booking.completed (an appointment was marked as done), order.placed (an order was paid online or placed with cash on delivery, with its items and totals), site.published (your site went live with your latest changes), collection.item_published (a blog post, product, listing or other collection item went live for the first time), review.received (a new Google review arrived, with its rating and text), site.alert (every site alert as it happens: new leads from forms, chat, WhatsApp, SMS and voicemail, bookings, payments and publishing (not included in "all events")), or * for all. A signing secret or custom headers are added in the site's Webhooks settings, never here. Use test_webhook afterwards to send a sample.

Input Schema

NameRequiredDescriptionDefault
urlYesThe address to send to, exactly as the owner gave it
nameYesA label, e.g. "Leads to Zapier"
eventsYesWhich events fire it
site_idYesThe site, from list_sites
user_goalNoOptional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "form.submitted",
      -  "contact.created",
      -  "contact.revisited",
      -  "payment.completed",
      -  "booking.created",
      -  "booking.confirmed",
      -  "booking.rescheduled",
      -  "booking.cancelled",
      -  "booking.completed",
      -  "order.placed",
      -  "site.published",
      -  "review.received",
      -  "site.alert",
      -  "*"
      -]New value: +[
      +  "form.submitted",
      +  "contact.created",
      +  "contact.revisited",
      +  "payment.completed",
      +  "booking.created",
      +  "booking.confirmed",
      +  "booking.rescheduled",
      +  "booking.cancelled",
      +  "booking.completed",
      +  "order.placed",
      +  "site.published",
      +  "review.received",
      +  "collection.item_published",
      +  "site.alert",
      +  "*"
      +]
    • changedInput schema / properties / events / maxItems
      Previous value: -14New value: +15
  2. Changed2 schema fields changed
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "form.submitted",
      -  "contact.created",
      -  "contact.revisited",
      -  "payment.completed",
      -  "booking.created",
      -  "booking.confirmed",
      -  "booking.rescheduled",
      -  "booking.cancelled",
      -  "booking.completed",
      -  "site.alert",
      -  "*"
      -]New value: +[
      +  "form.submitted",
      +  "contact.created",
      +  "contact.revisited",
      +  "payment.completed",
      +  "booking.created",
      +  "booking.confirmed",
      +  "booking.rescheduled",
      +  "booking.cancelled",
      +  "booking.completed",
      +  "order.placed",
      +  "site.published",
      +  "review.received",
      +  "site.alert",
      +  "*"
      +]
    • changedInput schema / properties / events / maxItems
      Previous value: -11New value: +14
  3. Changed1 schema field changed
    • addedInput schema / properties / user_goal
      Added value: +{
      +  "description": "Optional: the user's goal behind this call, in one short sentence of plain words (e.g. \"add a page so customers can book tables\"). No names, emails or other personal details.",
      +  "type": "string"
      +}
  4. Changed2 schema fields changed
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "form.submitted",
      -  "contact.created",
      -  "contact.revisited",
      -  "payment.completed",
      -  "booking.created",
      -  "booking.confirmed",
      -  "booking.rescheduled",
      -  "booking.cancelled",
      -  "booking.completed",
      -  "*"
      -]New value: +[
      +  "form.submitted",
      +  "contact.created",
      +  "contact.revisited",
      +  "payment.completed",
      +  "booking.created",
      +  "booking.confirmed",
      +  "booking.rescheduled",
      +  "booking.cancelled",
      +  "booking.completed",
      +  "site.alert",
      +  "*"
      +]
    • changedInput schema / properties / events / maxItems
      Previous value: -10New value: +11
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the effect is persistent and automatic ("From then on EVERY matching event ... is sent there automatically"), that personally identifying visitor data (name, email, message) leaves the system, and that the URL must be public http(s). The annotations already declare openWorldHint=true and non-idempotency; the description adds the privacy and permanence consequences an agent needs before calling.

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?

Purpose and the safety constraint are front-loaded in the first two sentences, and the event catalogue is dense but each entry earns its place. The event list is delivered as one long run-on sentence with nested parentheses, which makes it harder to scan than a structured list would be, and the trailing secret/test_webhook remarks are crammed into the same block.

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 non-idempotent, open-world creation tool with no output schema, everything an agent needs is present: what gets sent, to which events, under what URL constraints, what is deliberately out of scope, and how to verify the result. The forward-looking behavior ("From then on") removes ambiguity about whether existing events are replayed.

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 the baseline is 3, but the description materially exceeds it by defining the semantics of every enum value for `events` (e.g. contact.revisited fires once per visit, site.alert is not included in "all events", booking.created means waiting-for-confirmation vs already-confirmed) — detail the schema's bare enum strings do not carry. It also reinforces `url` with the owner-provided constraint, though it adds nothing for `name` or `user_goal`.

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 (create a webhook that forwards the site's form, contact, payment and booking events to an outside address) and enumerates exactly what it emits. It is clearly distinguishable from delete_webhook, update_webhook, get_webhook, list_webhooks and test_webhook, which the description implicitly separates by describing creation of a persistent destination.

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 positive usage (forward events to an automation service, chat channel or owner's server), an explicit safety constraint ("only use an address the owner gave you"), an explicit exclusion (signing secrets and custom headers live in the site's Webhooks settings, never here), and a follow-up action ("Use test_webhook afterwards to send a sample"). When-to-use, when-not-to-use and the alternative tool are all covered.

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