Skip to main content
Glama

Create a webhook endpoint

create_webhook

Register a webhook endpoint. The response contains secret (whsec_...) ONCE: store it as COINVELLO_WEBHOOK_SECRET. Live endpoints must be HTTPS; test endpoints may be http://localhost. Use events ["*"] for everything or a list such as ["invoice.paid","invoice.expired"].

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsYesEvent types or ["*"]. Common: invoice.paid, invoice.confirming, invoice.underpaid, invoice.overpaid, invoice.expired, payment.detected, checkout_session.completed.
enabledNo
metadataNoUp to 50 string key/value pairs returned on the object and in webhooks.
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?

No annotations are provided, so the description carries the full burden, and it delivers the single most important behavioral fact: `secret` is returned once and must be stored as COINVELLO_WEBHOOK_SECRET. It also discloses URL scheme rules (HTTPS for live, http://localhost for test), which is real operational context. Gaps remain around auth/permissions, idempotency, and what happens on duplicate URLs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action, then the critical secret caveat, then constraints. Four compact sentences with no filler, though the phrasing is dense and could group the URL rules more cleanly.

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 5-parameter mutation with a nested `metadata` object, no annotations, and no output schema, the description covers the highest-risk items (one-time secret, URL scheme) but leaves a third of the parameters and the full response shape undocumented. Adequate but with real gaps.

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 40%, so the description should compensate more than it does. It explains `events` (`["*"]` or a list of event types) and the `url` scheme rules well, but `enabled`, `metadata`, and `description` get no semantic treatment in the description at all.

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 ("Register a webhook endpoint") that maps unambiguously to a single action, and it is trivially distinguishable from siblings like verify_webhook_signature or create_checkout_session.

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?

Implies when to use it (registering an endpoint for testing vs live, choosing event lists) but never names an alternative tool or states when not to use this one. The live-URL vs test-URL constraint is useful context, but there is no explicit routing guidance among the many create_* siblings.

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.