Skip to main content
Glama

Create Webhook

create_webhook

Add a webhook endpoint (public https URL). Returns the endpoint and its signing secret (shown once). Needs an API 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
urlYeshttps URL that receives signed CloudEvents.
eventsNoPatterns: '*', 'scan.completed', 'scan.failed', 'scan.*'. Default all.
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, and the description adds genuinely new behavior: the signing secret is returned and shown only once, and an API key is required. It does not cover idempotency/duplicate-URL handling or rate limits, which keeps it short of a 5.

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 compact sentences, front-loaded with the action and constraint, then the return value, then the auth prerequisite. Nothing is redundant and nothing is padded.

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 three-parameter creation tool with no output schema, the description covers the essential facts an agent needs: the URL constraint, the auth requirement, and what comes back. The only gap is the unmentioned `description` parameter and no note on failure modes such as an unreachable endpoint.

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 67% and the schema already documents the events pattern syntax and default-all behavior, so the schema does the heavy lifting. The description contributes the 'public' and 'signed CloudEvents' framing for the URL, but adds nothing about the undocumented `description` field.

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?

The description names a specific verb and resource ('Add a webhook endpoint') and immediately constrains it to a public https URL, so the agent knows exactly what object is being created. It never names a sibling (e.g. test_webhook or list_webhooks), so differentiation is only implied by the create verb rather than stated.

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?

Prerequisites are given ('Needs an API key', endpoint must be a public https URL), which tells the agent when the call is valid. There is no explicit guidance on when to prefer this over test_webhook or webhook_deliveries, nor any note about duplicate endpoints or when not to create one.

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