Skip to main content
Glama

update_webhook

DestructiveIdempotent

Update a webhook subscription by changing its delivery URL, replacing subscribed event types, or pausing/resuming deliveries. Supply at least one field and an Organization key.

Instructions

Update a webhook subscription — change its delivery URL, the set of subscribed event types, or pause/resume it via active. At least one field must be supplied. Requires an Organization key.

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

Input Schema

NameRequiredDescriptionDefault
urlNoNew HTTPS delivery endpoint
activeNoSet false to pause deliveries, true to resume
eventsNoReplacement set of event types to subscribe to
webhook_idYesWebhook subscription to update

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.8.4
    • addedInput schema / properties / webhook_id / maxLength
      Added value: +128
    • addedInput schema / properties / webhook_id / minLength
      Added value: +1
    • addedInput schema / properties / webhook_id / pattern
      Added value: +"^[A-Za-z0-9_-]*$"
  2. Changed2 schema fields changedv1.6.2
    • changedInput schema / properties / events / items / enum
      Previous value: -[
      -  "agent.created",
      -  "agent.updated",
      -  "event.created",
      -  "event.updated",
      -  "event.deleted",
      -  "event.started",
      -  "event.ended",
      -  "event.reminder",
      -  "event.hold_created",
      -  "event.hold_expired",
      -  "event.hold_released",
      -  "event.hold_confirmed",
      -  "proposal.created",
      -  "proposal.responded",
      -  "proposal.confirmed",
      -  "proposal.expired",
      -  "proposal.cancelled",
      -  "webhook.deactivated"
      -]New value: +[
      +  "agent.created",
      +  "agent.updated",
      +  "event.created",
      +  "event.updated",
      +  "event.deleted",
      +  "event.started",
      +  "event.ended",
      +  "event.reminder",
      +  "event.hold_created",
      +  "event.hold_expired",
      +  "event.hold_released",
      +  "event.hold_confirmed",
      +  "proposal.created",
      +  "proposal.responded",
      +  "proposal.confirmed",
      +  "proposal.expired",
      +  "proposal.cancelled",
      +  "webhook.deactivated",
      +  "org.plan_changed",
      +  "calendar_connection.reauthorization_required",
      +  "usage.threshold_crossed"
      +]
    • addedInput schema / properties / url / maxLength
      Added value: +2048
  3. First observedv1.2.5

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is carried by structured data. The description contributes the Organization-key authentication requirement and the at-least-one-field constraint, but never explains what makes this destructive — e.g. that events is a full replacement that drops unlisted subscriptions, or that pausing halts deliveries until resumed.

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?

Three short sentences: what it does, what is required, what auth is needed — all front-loaded with no filler. Every clause maps to a decision an agent must make before calling.

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 four-parameter mutation with full schema coverage, no output schema, and informative annotations, the definition covers purpose, auth, and the minimum-input rule. It falls slightly short on the consequences of replacement semantics and on what the response looks like, though the latter is partly excused by the lack of an output schema.

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%, including 'Replacement set of event types to subscribe to' and 'Set false to pause deliveries, true to resume', so the schema does the heavy lifting. The description only restates which three fields are mutable and does not add format, validation, or interaction details beyond the schema.

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 ('Update a webhook subscription') and enumerates the three mutable facets: delivery URL, event type set, and pause/resume via active. The verb alone separates it from create_webhook, delete_webhook, and get_webhook, but it never explicitly names those siblings or the scoping differences.

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

Usage Guidelines3/5

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

'At least one field must be supplied. Requires an Organization key' gives two concrete preconditions for invoking the tool, which is real usage guidance. It does not say when to prefer this over delete_webhook plus create_webhook for a full reset, or over replay_webhook_delivery/send_test_webhook for delivery-level operations.

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