Skip to main content
Glama

Create webhook

create_webhook

Register a webhook: Runearc POSTs signed JSON events (Standard Webhooks) to the URL, retrying on failure. Returns {id, url, event_types, inbox_id, secret, created_at}; the secret is shown only once. Errors: invalid_webhook_url (https only, http allowed for localhost), invalid_event_type, not_found (inbox). Next: store the secret and verify each delivery's webhook-signature header with it. For a single expected email, wait_for_email is simpler than a webhook.

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
urlYesWhere to POST events: an https:// URL (http:// only for localhost).
inbox_idNoOnly deliver events for this inbox. Leave out for every inbox in the org.
event_typesNoEvent types to deliver, such as ["message.received"]. Leave out for every event. Types: message.received, message.queued, message.delivered, message.deferred, message.bounced, message.complained, message.failed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/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, non-idempotent creation call, and the description adds substantial context beyond them: retry-on-failure delivery, the exact return shape, the fact that the secret is shown only once, and the post-creation verification step. The 'store the secret' warning is precisely the kind of irreversible-detail disclosure that annotations cannot convey.

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?

Front-loads the definition, then return shape, then errors, then next steps, then the alternative, in a single dense but scannable paragraph. Every clause carries operational value, and the secret-shown-once warning is placed where it will be read before invocation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description supplies the return shape and the one-time secret caveat, plus error codes and the follow-up verification step. For a three-parameter creation tool, nothing an agent needs to call it correctly and handle the result is missing.

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 100%, so url, inbox_id, and event_types are already fully documented, including the localhost exception and the full event-type list. The description repeats the https-only rule and names the resulting error code but adds no new syntax or format guidance, so the baseline of 3 applies.

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') and immediately explains what the webhook does: signed JSON events over Standard Webhooks with retries. It also names a sibling (wait_for_email) and the case where that sibling is preferable, so an agent can distinguish it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives explicit when-to-use guidance: use this for event delivery, use wait_for_email instead when a single email is expected. It also enumerates the error cases (invalid_webhook_url, invalid_event_type, not_found) so the agent knows what failure modes to expect and handle.

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