Skip to main content
Glama

create_webhook

Subscribe a URL to one or more event types. The response includes a generated signing secret used to verify the X-Signature (HMAC-SHA256) header on every delivery. IMPORTANT: the secret is returned ONLY ONCE, here, at creation, list_webhooks never returns it again, so capture and store it now; if it's lost you must rotate it (update_webhook) or recreate the webhook. SCOPE: requires a WRITE-scoped API key (a read-only key returns 403). The url must be HTTPS and a publicly resolvable host, private, loopback, link-local, and internal addresses are rejected.

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
urlYesReceiver endpoint. Must be HTTPS and a publicly resolvable host (private/loopback/internal addresses are rejected).
eventsYesEvent types to subscribe to (lead.replied, lead.bounced, connection.accepted, campaign.idle, lead.step_completed). Empty means all events.
descriptionNoOptional note on what this webhook is for.
idempotency_keyNoOptional UUID for safe retries: send the same key when repeating a request so it is applied once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the response payload (generated signing secret + X-Signature HMAC-SHA256 verification), the one-time-only nature of the secret, the WRITE-scoped API key requirement with a 403 failure mode, and the URL validation rules that cause rejection. The idempotency_key mechanism is also flagged as the only way to get safe retries, which usefully qualifies the idempotentHint=false annotation.

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 action, then clearly segmented with IMPORTANT: and SCOPE: markers, and nearly every clause carries unique information. The middle sentence is long and run-on, but nothing is genuinely redundant.

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 correctly fills the gap by describing the returned secret and how it is used for verification. Auth scope, failure modes, and URL constraints are all covered, so an agent has everything needed to invoke and handle the result.

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 description coverage is 100%, so url, events, description, and idempotency_key are already fully documented in the schema. The description restates the HTTPS/public-host constraint on url but adds no new parameter-level semantics, 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 ('Subscribe a URL to one or more event types'), and immediately separates itself from creation-adjacent siblings by naming list_webhooks, update_webhook, and the recreate path. An agent can tell this is the one-time creation call 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 Guidelines4/5

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

Gives clear when-to-use context (only at creation, secret is one-shot) and routes the agent when the secret is lost: rotate via update_webhook or recreate. Minor gap: a sibling named rotate_webhook_secret exists and is not mentioned, so the stated recovery path is slightly incomplete rather than wrong.

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