Skip to main content
Glama

create_webhook

Create a webhook subscription on an org. Owner/admin only. Returns the signing secret plaintext EXACTLY ONCE (only secret_last4 is readable afterwards). events maps to the subscription's event_types; empty means all events. When notion_handshake is true the subscription is created inactive and only activates after the receiver echoes the challenge token. Mirrors POST /v1/webhooks.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsYes
org_idYes
board_idNo
notion_handshakeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations, the description carries the whole burden and does so well: it discloses the irreversible one-time plaintext secret return (only secret_last4 readable afterwards), the authorization requirement, the inactive-then-activated handshake lifecycle with the challenge echo, and the underlying API mapping. These are exactly the behaviors an agent needs before mutating state.

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 dense sentences, each carrying distinct information: authorization, irreversible return value, event mapping, handshake lifecycle. The most consequential constraint (secret shown once) is front-loaded near the top rather than buried.

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?

An output schema exists, so return shape needn't be explained, yet the description still adds the critical caveat that the secret is unrecoverable after creation. The remaining gap is the meaning of url and board_id, which is material for a 5-parameter creation tool with zero schema documentation.

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 0%, so the schema documents nothing beyond types and defaults. The description compensates for two of five parameters — the empty-list semantics of `events` and the lifecycle effect of `notion_handshake` — but leaves `url`, `org_id`, and `board_id` (including whether board_id narrows subscription scope) unexplained.

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 with scope: 'Create a webhook subscription on an org.' This separates it cleanly from sibling mutators such as update_webhook, delete_webhook, and rotate_webhook_secret without needing 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 Guidelines4/5

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

Gives a clear prerequisite ('Owner/admin only') and an implicit selection signal via the one-time secret disclosure, which points an agent at create vs. rotate_webhook_secret. It does not explicitly say when to prefer this over update_webhook or when creation is inappropriate (e.g., existing subscription), so there is no full when/when-not guidance.

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