Skip to main content
Glama

Sergio by Serviche

Change a webhook's address or events

webhook_update
Idempotent

Changes one webhook (webhook_id from read webhooks): its url and/or events. events: public event names from read webhook_events (e.g. booking.created), or ["*"] for every event including ones added later. Shows the exact new url and events for your person's yes first (confirm step). 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": {
      "webhook_id": "<webhook_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "webhook_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
eventsNo
webhook_idYes
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/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: an unconfirmed call returns a preview of the exact new url/events, and a retry must reuse the same idempotency_key. It also explains that ["*"] covers events added later, which is non-obvious semantics. The preview sentence is garbled ('for your person's yes first'), muting otherwise strong disclosure.

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?

Four dense sentences that front-load the affected resource and fields before the sourcing and confirmation details. The confirm-step clause is awkwardly worded and forces a re-read, which is the main structural flaw.

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 non-destructive update with annotations, an idempotency hint and no output schema, the description covers sourcing, preview/confirm, wildcard semantics and retries. Only the url parameter's validity expectations and error behavior are left unaddressed.

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?

With only 40% schema description coverage, the description carries real weight: it sources webhook_id, defines events (public names plus wildcard behavior), and reinforces the confirm_token preview and idempotency_key reuse rules. It says nothing about url constraints or the 40-event / 60-char limits, leaving one parameter thin.

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?

States a specific verb and resource ('Changes one webhook') plus the exact fields it can change ('its url and/or events'), and scopes it to a single record. It does not explicitly contrast itself with siblings like webhook_create, webhook_delete or webhook_pause, so an agent must rely on the name to rule those out.

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 concrete upstream steps: obtain webhook_id from reading webhooks and take event names from read webhook_events. The confirmed two-step (preview then confirm) flow and the retry rule for idempotency_key are clear usage conditions, though it never says when to prefer webhook_create or pause/resume instead.

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