Skip to main content
Glama

Update Webhook

update_webhook
DestructiveIdempotent

Change a webhook's URL, event subscriptions, or enabled state. Re-enabling a webhook that was disabled by repeated failures also resets its failure count.

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

Input Schema

NameRequiredDescriptionDefault
urlNoNew HTTPS endpoint
eventsNoReplacement event list
enabledNoEnable or pause deliveries
webhookIdYesThe webhook ID (whk_...)

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
eventsNo
secretNo
enabledNo
createdAtNo
updatedAtNo
lastFailedAtNo
lastDeliveredAtNo
consecutiveFailuresNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered. The description adds one genuinely non-obvious behavior — that re-enabling a failure-disabled webhook resets its failure count — but omits whether omitted fields are preserved or wiped, which matters for a destructive partial update.

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 short sentences, zero filler, mutation scope front-loaded before the edge-case behavior. Every sentence carries information an agent would not get from the schema.

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?

An output schema exists and annotations cover safety, so the description is close to complete. The one gap is that a destructive updater does not say whether it performs a merge or full replacement of events/url, which an agent needs in order to call it correctly.

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 every parameter (url, events, enabled, webhookId) is already documented with its type and enum values. The description only names the same fields, adding no format, precedence, or behavior detail beyond the schema; baseline 3 applies.

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 (change) plus the exact mutable fields (URL, event subscriptions, enabled state), so an agent knows precisely what the tool operates on. Sibling differentiation is implicit in the verb versus create_webhook/delete_webhook, but the description never names or contrasts them.

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

Usage Guidelines2/5

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

No explicit when-to-use, when-not-to-use, or prerequisite guidance. An agent must infer that this only applies to an existing webhook ID (whk_...) and that create_webhook/delete_webhook cover the other lifecycle operations.

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