Skip to main content
Glama

Create Webhook

create_webhook

Add an account webhook: signed POSTs (Standard Webhooks + CloudEvents) to an https URL for events such as feed.item.published (new items in feeds you follow), feed.followed, feed.created, submission.approved. Patterns like feed.* work; omit events for all. Returns the signing secret. Needs a key.

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
urlYesPublic https URL that receives the POSTs, e.g. https://example.com/hooks/nichedb
eventsNoEvent types or patterns, default all, e.g. ["feed.*", "submission.approved"]
descriptionNoA note for yourself (optional), e.g. staging receiver

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, idempotent=false), and the description adds meaningful behavior beyond them: the delivery format (signed POSTs, Standard Webhooks + CloudEvents), the fact that the signing secret is returned by the call, and that an auth key is required. The one gap is that non-idempotency is never explained — nothing says whether calling twice with the same URL yields two webhooks.

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?

Three dense sentences, front-loaded with purpose, then event semantics, then the return value and auth requirement. Parentheticals carry real information (delivery spec, event meaning) rather than filler, and there is no redundant restatement of the title.

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 purpose, event filtering, auth, and the return value (signing secret) — everything needed to call it correctly. It stops short of mentioning what happens on delivery failures or how the secret is later used, which slightly limits post-call expectations.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description earns more by explaining pattern semantics ("Patterns like feed.* work; omit events for all") and by annotating event names with meaning, e.g. feed.item.published = "new items in feeds you follow". That is genuine interpretation on top of the schema's bare example values.

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?

"Add an account webhook" states a specific verb and resource, then immediately scopes it as signed POSTs (Standard Webhooks + CloudEvents) to an https URL. The creation framing cleanly separates it from sibling operations like list_webhooks, delete_webhook, rotate_webhook_secret, and test_webhook.

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?

It gives real usage context: event pattern syntax ("feed.*"), the default when events is omitted ("omit events for all"), and the auth prerequisite ("Needs a key"). What it lacks is explicit tool-selection guidance — nothing tells the agent when to create a webhook versus update an existing one, rotate its secret, or test it first.

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