Skip to main content
Glama

Create Webhook

create_webhook

Register a new webhook. Returns the signing secret ONCE — store it server-side.

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
urlYesPublic URL that receives the event POSTs; private and local addresses are refused.
labelNoOptional name for the webhook (max 120 characters).
eventsYesEvents to send (at least one). Sent today: shot.generation.completed/failed, render.completed/failed, voice.completed, music.completed. shot.generation.started and render.started are accepted but not sent yet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / events / description
      Added value: +"Events to send (at least one). Sent today: shot.generation.completed/failed, render.completed/failed, voice.completed, music.completed. shot.generation.started and render.started are accepted but not sent yet."
    • addedInput schema / properties / label / description
      Added value: +"Optional name for the webhook (max 120 characters)."
    • addedInput schema / properties / url / description
      Added value: +"Public URL that receives the event POSTs; private and local addresses are refused."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare a non-read, non-destructive, open-world write, and the description adds a genuinely critical detail beyond them: the signing secret is returned only once and must be stored server-side. That is exactly the kind of operational fact annotations cannot convey. It stops short of a 5 because it says nothing about failure modes, retry/idempotency behavior, or whether the webhook is active immediately.

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?

Two short sentences with zero filler. The action is stated first and the highest-risk operational consequence (one-time secret) is front-loaded in the second sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter write tool with full annotation coverage, a complete input schema, and no output schema, the description covers what matters: what it does and the irreversible nature of the secret reveal. What is left out — post-creation activation state and how to verify delivery — is minor against the structured fields already present.

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%, including the refusal of private/local URLs and the note that some accepted events are not yet dispatched. The description adds no parameter-level meaning on top of that, so the baseline 3 applies — the schema does all the work here.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Register a new webhook" gives a specific verb and resource, which cleanly separates it from sibling operations like list_webhooks, delete_webhook, and test_webhook. It never names those siblings, but the creation verb does the differentiation work on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the creation verb: an agent can infer this is the tool for adding a new webhook endpoint. There is no explicit when-to-use framing, no prerequisites (such as the endpoint needing to be publicly reachable, which is only in the schema), and no pointer to test_webhook as the validation step after creation.

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.