Skip to main content
Glama

Sergio by Serviche

Add a webhook (send Sergio events to Make, Zapier or any URL)

webhook_create
Idempotent

Adds an outgoing webhook, as Add webhook in Settings > Connections > Webhooks does: Sergio posts each chosen event, signed (Sergio-Signature: t=,v1=), to url (https). events: public event names from read webhook_events (e.g. booking.created), or ["*"] for every event including ones added later. Shows the exact url and events for your person's yes first (confirm step). Answers the endpoint and its signing secret ONCE (later reads show only its last 4). Then call webhook_test. What the receiving app does with the data, including any texts or emails it sends, is the company's own automation outside Sergio. Pass the same idempotency_key when retrying.

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>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "webhook_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
eventsYes
confirm_tokenNoFrom the preview, after your person said yes. Leave it out to get the preview.
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the signing scheme (Sergio-Signature: t=,v1=), that the signing secret is returned exactly once and masked to the last four characters afterwards, and that a confirm step precedes creation. It also scopes responsibility for downstream texts/emails to the customer's own automation, which is real behavioral context not encoded in any structured field.

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?

The action is front-loaded in the first clause and nearly every sentence carries a distinct constraint (signing, wildcard, preview, secret visibility, idempotency). It is a dense single paragraph, so the preview/confirm mechanics and the retry note are harder to scan than they would be as short sections.

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?

For a four-parameter mutation with no output schema, the definition covers everything an agent needs: the two-phase confirm flow, secret-return-once behavior, event-name sourcing, signing format, and idempotent retry semantics. Nothing material about calling it correctly is left unstated.

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%, and the description compensates by explaining both undocumented parameters: url must be https, and events take public names from read webhook_events with a ["*"] wildcard including future events. confirm_token and idempotency_key are already documented in the schema, so the description does not need to repeat them, though it reinforces the retry contract.

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 ("Adds an outgoing webhook") and anchors it to the exact UI path (Settings > Connections > Webhooks), so an agent knows precisely which object is created. It also distinguishes itself from siblings by naming webhook_test as the follow-up and read webhook_events as the source of valid event names.

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

Usage Guidelines4/5

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

Gives clear sequencing (preview/confirm, then call webhook_test) and retry guidance (reuse the same idempotency_key). It tells the agent where event names come from and what to do for a preview. It does not explicitly exclude adjacent tools such as webhook_update or webhook_pause, so the when-not guidance is implicit rather than stated.

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