Skip to main content
Glama

Update webhook

update_webhook
Idempotent

Modify an existing webhook's URL, events, or description, or enable and disable it. Enabling clears a failure streak; disabling cancels pending deliveries.

Instructions

Change a webhook's url, events or description, or turn it on or off (enabled). Turning it on clears a failure streak; turning it off cancels deliveries waiting to be sent (resend_webhook_delivery brings them back). Returns { endpoint, changed, message }.

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": {
      "id": "<id>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesWebhook id (from list_webhooks)
urlNoNew URL to POST to (https)
eventsNoReplace the events it gets
enabledNoTurn it on (true) or off (false)
descriptionNoNew label; null clears it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.31.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare idempotentHint, so the description carries the real burden and does: it discloses the destructive side effect of disabling (pending deliveries are cancelled), the beneficial side effect of enabling (failure streak cleared), the recovery route, and the return shape { endpoint, changed, message }. That is exactly the behavioral context an agent needs before flipping a flag.

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?

Two sentences, no filler: the mutation scope leads, side effects follow, and the return shape closes. Parenthetical pointers to resend_webhook_delivery are compact rather than verbose.

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 five-parameter update tool with no output schema, the description covers mutation targets, toggle side effects, recovery, and the response shape. It stops short of stating permission requirements or what happens to unspecified fields, but nothing critical to a correct call is missing.

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 100%, so the baseline is 3; the description goes beyond it by explaining that `enabled` is a state toggle with side effects and that `events`/`url`/`description` are replacements rather than merges. It adds meaning the schema's one-line parameter docs do not.

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 ("Change a webhook's url, events or description, or turn it on or off") and enumerates exactly which attributes are mutable, so an agent can tell it apart from create_webhook/delete_webhook without opening the schema. It also names the sibling that recovers cancelled deliveries.

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?

It gives clear situational context for the two toggles (on = clears failure streak, off = cancels queued deliveries) and points to resend_webhook_delivery as the recovery path. It does not explicitly state when to prefer create_webhook or delete_webhook, but the mutation scope is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools