Skip to main content
Glama

Create webhook

create_webhook

Create a signed webhook to receive chosen Webinarclose events at an HTTPS URL and return a one-time secret for verifying payload signatures.

Instructions

Create a webhook: Webinarclose POSTs a signed JSON event to url whenever one of the chosen events happens. events is a non-empty list from: registration.created, webinar.live, webinar.ended, cta.clicked, chat.message, poll.answered, followup.sent. url must be https on a public host name (no IP address or localhost). Max 10 webhooks per account (limit_reached). The answer contains secret (whsec_...) exactly once: give it to the user to store, it cannot be shown again; receivers verify the Webinarclose-Signature header (t=,v1=<hex HMAC-SHA256 of ".">) with it. Failed deliveries are retried for about 2 days. Example: {"url": "https://hooks.example.com/webinarclose", "events": ["registration.created", "cta.clicked"], "description": "CRM sync"}.

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": {
      "url": "<url>",
      "events": "<events>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYeshttps URL on a public host name, e.g. https://hooks.example.com/webinarclose
eventsYesEvent types to send: registration.created, webinar.live, webinar.ended, cta.clicked, chat.message, poll.answered, followup.sent
dry_runNotrue: validate and show what would happen without changing anything
descriptionNoWhat this webhook is for, e.g. "CRM sync"
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the one-time secret (whsec_...) that cannot be shown again, the exact HMAC-SHA256 signature header format receivers must verify, the ~2-day retry window for failed deliveries, and the account limit with its limit_reached error.

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?

Information is front-loaded (purpose, then event list, then constraints, then the critical secret warning), each sentence carries distinct operational value, and the example is placed last as a reference. No filler or redundancy.

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 mutating creation tool with five parameters and no annotations, the description covers everything an agent needs: input constraints, the irrecoverable secret in the response, signature verification, retry behavior, and the account cap. The output schema exists, yet the critical one-time-secret detail is appropriately surfaced in prose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds real meaning beyond the schema: the no-IP/no-localhost restriction on url, the one-time nature of the returned secret, and a complete worked example showing url, events, and description together. This goes beyond restating field descriptions.

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?

The description opens with a specific verb+resource ("Create a webhook") and immediately explains what the webhook does: the service POSTs a signed JSON event to the given url. It is clearly a creation tool, distinguishable from list_webhooks and delete_webhook among the siblings.

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?

Prerequisites and constraints are stated clearly: https on a public host name, no IP or localhost, max 10 webhooks per account. It doesn't explicitly route the agent to siblings like list_webhooks for inspection or delete_webhook for cleanup, but the when-to-use context (registering an event receiver) is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.