Skip to main content
Glama

Add a webhook endpoint

webhooks_create

Add a webhook endpoint (public https URL). 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": "webhooks_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsNoEvent patterns: *, detection.created, findings.*, ... (default *)
org_idNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a non-destructive, non-idempotent, open-world write, so the added value is the return contract: the endpoint plus a whsec_ signing secret shown only once. That "shown once" warning is genuinely important and not derivable from annotations or schema. It could go further by stating what happens on a repeat POST to the same URL.

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 short, front-loaded sentences with zero filler. Creation scope comes first, the return-value caveat second, and every clause carries actionable information.

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 create tool with only 25% parameter coverage and no output schema, the description covers the key secret-return behavior and the URL constraint, which is solid. It falls short on the two undocumented parameters and on idempotency/conflict behavior, leaving real gaps an agent must guess at.

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 25% (events alone is documented), so the description should compensate but only partially does. The "public https URL" constraint meaningfully clarifies the url parameter, but org_id and description are left unexplained in both schema and prose.

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 ("Add a webhook endpoint") plus a qualifying constraint (public https URL). An agent can tell this is the creation step distinct from siblings like webhooks_update, webhooks_delete, webhooks_list without reading the schema, though no sibling is named explicitly.

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 requirement that the URL be public and HTTPS is implied as a precondition, and the create-then-test/rotate workflow is inferable from the sibling set. However, the description never says when to use this versus webhooks_update or webhooks_test, and gives no exclusions or duplicate-endpoint 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