Skip to main content
Glama

update_webhook

Idempotent

Patch a webhook, change its url, events list, or active flag (active=false pauses deliveries). SCOPE: requires a WRITE-scoped API key (a read-only key returns 403). Changes the URL and subscribed events only; use rotate_webhook_secret to change the signing secret.

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 receiver URL. Must be HTTPS on a publicly resolvable host.
activeNofalse pauses the subscription (no deliveries); true resumes it.
eventsNoNew list of event types to subscribe to (lead.replied, lead.bounced, connection.accepted, campaign.idle, lead.step_completed).
webhook_idYesId of the webhook (from list_webhooks).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare mutation and idempotency, but the description adds valuable context: active=false pauses deliveries, changes are limited to URL and events only, and a read-only key returns 403. This is useful beyond what annotations provide.

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 sentences, front-loaded with what the tool does, then scope and limitations. No wasted words and the critical constraints are placed near the start.

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?

Given the tool's complexity (4 params, mutation), the description covers what it does, required key scope, which fields it changes, what it does not change, and a key error case. With annotations covering safety and idempotency and no output schema needed, nothing essential is missing.

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 coverage is 100%, so the schema already documents all four parameters. The description repeats the field names but adds only the behavioral constraint 'changes the URL and subscribed events only', which is not parameter-specific. Baseline 3 is appropriate.

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 (patch/change) and resource (webhook) plus the exact fields that can be modified (url, events, active flag). Explicitly distinguishes from the sibling rotate_webhook_secret for secret changes.

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?

Clearly directs the agent to rotate_webhook_secret when the signing secret needs changing and states the WRITE-scoped API key requirement (403 with read-only). Lacks explicit when-not-to-use guidance, but alternatives for the main operation are implied by the tool name.

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