Skip to main content
Glama

Create webhook

ringkit_create_webhook
Idempotent

Step 10: Get told about calls. Subscribe a URL to call.completed / message.taken / balance.low events (HMAC-signed with the returned secret, shown once). Identical requests are deduplicated for 24 hours; use a new idempotencyKey only to deliberately repeat the action.

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>",
      "events": "<events>"
    },
    "name": "ringkit_create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsYes
businessIdNoDefaults to the business of the API key in the Authorization header.
idempotencyKeyNoOptional. Retries of the same call should reuse it (the stored result comes back); a new value deliberately repeats an identical call. The MCP POST's Idempotency-Key header takes precedence.

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 the mutation/idempotency profile (readOnlyHint=false, idempotentHint=true, destructiveHint=false), yet the description adds material behavior beyond them: deliveries are HMAC-signed with a returned secret that is shown only once, and identical requests are deduplicated for 24 hours. The "shown once" warning is high-value since the secret is unrecoverable. It does not cover retry semantics, delivery failure handling, or whether events are additive.

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?

Two dense sentences with no wasted clauses; the core action is front-loaded and the secret/idempotency caveats follow. The "Step 10: Get told about calls" lead-in is the weakest element — it is onboarding-flow filler that partially mischaracterizes the event set.

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?

With no output schema, the description carries the return-value burden and does so for the critical part: the signing secret is returned once. Deduplication behavior is also disclosed. Missing is whether the created webhook's ID or endpoint config is returned, and whether this replaces or supplements existing subscriptions.

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 only 50% — url and events have no schema descriptions — but the description compensates by enumerating the valid event values and implying the URL is the delivery target. It also explains the idempotencyKey trade-off (reuse to retry, new value to deliberately repeat) beyond the schema's own wording. The businessId parameter and the URL format constraints are left entirely to the schema.

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 uses a specific verb and resource ("Subscribe a URL to call.completed / message.taken / balance.low events") and names the exact event types, so an agent knows precisely what this creates. It does not reference the sibling ringkit_list_webhooks or distinguish creation from listing. The "Step 10: Get told about calls" framing is somewhat misleading since two of the three events are not about calls.

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 only usage guidance is conditional and parameter-focused: use a new idempotencyKey only to deliberately repeat an identical action. There is no statement of when to create a webhook versus inspecting existing ones via ringkit_list_webhooks, and no prerequisites (e.g., onboarding state, URL requirements). The "Step 10" framing implies a sequence position but is not explicit 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