Skip to main content
Glama

Create a webhook

create_webhook

Register an HTTPS endpoint to receive events. The signing secret is returned ONCE, in this response, and never again. Hand it to the human immediately or it is lost. The url must be https:// on a public address; private or local ones are refused.

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
urlYes
nameNo
eventsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 signing secret is returned exactly once and is unrecoverable, that the URL must be HTTPS on a public address, and that private/local addresses are rejected. None of this appears in the readOnlyHint/openWorldHint/idempotentHint flags, and the one-time-secret warning materially changes how an agent must handle the response.

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?

Four short sentences, each earning its place: purpose first, then the irreversible-secret warning, then the URL constraint. Front-loaded and free of filler.

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?

With no output schema, the description correctly explains the one consequential return value (the one-time secret) and the input validation rules. It stops short of documenting the event vocabulary or the non-idempotent behavior flagged in annotations, which would round it out.

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

Parameters2/5

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

Schema coverage is 0%, so the description must carry parameter meaning, but it only constrains `url` (https, public address). The `events` array — the parameter most likely to cause a failed or wrong call — has no guidance on valid event names or format, and `name` is never mentioned.

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 ('Register an HTTPS endpoint to receive events') plus the delivery mechanism. Combined with the sibling set (get_webhook, delete_webhook, rotate_webhook_secret, test_webhook), an agent can tell this is the creation step 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 Guidelines3/5

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

Usage is implied by the creation framing and the requirement to hand the secret to a human, but the description never says when to prefer this over rotate_webhook_secret or test_webhook, nor what to do if a webhook already exists. Adequate context, no explicit alternatives.

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.