Skip to main content
Glama

Add Webhook

create_webhook

Register an https URL to receive the caller’s events as signed POSTs (CloudEvents body, Standard Webhooks headers). Returns the endpoint and its signing secret (whsec_…), shown once.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsNoEvent patterns ("*", an exact type or "server.*"). Types: server.listed, server.price_dropped, pass.granted, api_key.created, api_key.revoked.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish non-read-only, non-destructive, closed-world behavior. The description adds real context beyond them: delivery mechanics (signed POSTs, CloudEvents body, Standard Webhooks headers) and, critically, that the signing secret is returned once and cannot be re-read — implying rotation via rotate_webhook_secret is required if lost. It stops short of covering auth requirements or failure modes.

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 sentences, zero filler, front-loaded with the action and scope. The return-value clause is appended where it is most useful, right after the creation semantics.

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 3-parameter creation tool with no output schema, the description covers the action, the payload contract, and the one-time secret return well enough to call it correctly. Missing only permission/auth expectations and any guidance about verifying the webhook after creation.

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 coverage is only 33%, so the description must compensate. It does clarify that `url` must be https and is the event receiver, and that events arrive as standard payloads, but it never explains the `events` filter semantics (the schema does) or what the third `description` parameter is for. Partial compensation for a low-coverage schema.

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?

"Register an https URL to receive the caller's events as signed POSTs" states a specific verb (register) and resource (webhook endpoint) and immediately distinguishes creation from siblings like update_webhook or list_webhooks. The parentheticals on payload format (CloudEvents body, Standard Webhooks headers) further pin down what is being created.

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?

The https requirement and the create-oriented verb imply when this tool applies, but there is no explicit "use this instead of update_webhook when..." routing and no mention of preconditions (existing webhook limits, auth scope). Usage is inferable rather than stated.

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