Skip to main content
Glama

Create webhook

create_webhook

Create a webhook endpoint subscribed to email events. The response includes the Standard Webhooks signing secret (whsec_…) used to verify deliveries — store it; it is also retrievable via get_webhook.

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

Input Schema

NameRequiredDescriptionDefault
eventsYes
endpointYes
signing_secretNoSigning secret to use instead of minting one: whsec_ followed by base64 of 24-64 bytes, the format Resend/Svix issue. Carry over an existing secret so the receiver keeps verifying unchanged; omit to generate a new one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only say this is a non-destructive open-world write; the description goes further by disclosing that the response carries the Standard Webhooks signing secret and instructing the agent to persist it. That is exactly the kind of post-call obligation annotations cannot express, and it matters because there is no output schema. It still omits auth requirements and whether creation triggers a verification or test delivery.

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, no filler. The creation action is front-loaded and the critical operational warning about storing the signing secret follows immediately, with no repetition of the title or schema content.

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

Completeness3/5

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

For a 3-parameter mutation with no output schema, the description covers the most important unknown (the returned signing secret) but leaves other operational questions open: permission requirements, whether the endpoint is validated on creation, and what happens to an existing webhook with the same URL. Adequate but with visible gaps.

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 description coverage is only 33%: only signing_secret is documented in the schema, leaving 'endpoint' and 'events' with no prose anywhere. The description adds nothing about what endpoint must be (a reachable URL, max 2048 chars) or what the event list controls, so it fails to compensate for the coverage gap.

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?

States a specific verb and resource ('Create a webhook endpoint') and immediately names the subscription scope, so an agent can distinguish it from update_webhook, delete_webhook, get_webhook and list_webhooks. Minor imprecision: it says 'subscribed to email events' while the schema's event enum also covers contact, suppression, quota and deliverability events, which slightly undersells scope.

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

Usage Guidelines2/5

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

There is no guidance on when to create a webhook versus the alternatives (rotate_webhook_secret, update_webhook, or reusing an existing endpoint), nor prerequisites such as required permissions or domain verification. The mention that the secret is 'also retrievable via get_webhook' is a retrieval note, not a usage condition.

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.