Skip to main content
Glama

Update Webhook

update_webhook
DestructiveIdempotent

Change a webhook endpoint: url, events, description, or enabled (true turns a switched-off endpoint back on).

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
idYesThe webhook endpoint id (from list_webhooks or create_webhook).
urlNo
eventsNo
enabledNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is structured data, not the description's burden. The description adds that partial field updates are possible and clarifies the `enabled` toggle, but says nothing about what 'destructive' means here (e.g., replacing the events list, dropping pending deliveries) or what is returned.

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?

A single front-loaded sentence that lists the editable fields immediately and tucks the one non-obvious semantic detail into a short parenthetical. No filler, though the parenthetical slightly buries the enable/disable behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A destructive mutation tool with 5 parameters, 20% schema coverage, and no output schema needs more than one sentence: it never states that omitted fields are left unchanged, what happens to the `events` array on update, or whether a secret/URL change requires re-verification downstream. These are gaps an agent could plausibly trip over when calling it.

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 only 20% – just `id` is documented – so the description must compensate, and it partially does by naming all four optional fields and explaining that `enabled: true` re-activates a switched-off endpoint. It gives no format or constraint hints for `url` or `events` (array shape, replacement vs merge).

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?

Names a specific verb (change/update) and resource (webhook endpoint) and enumerates the mutable fields, which cleanly separates it from create_webhook, delete_webhook, and rotate_webhook_secret. It stops short of naming any sibling, so differentiation is implied rather than stated.

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?

The parenthetical about `enabled` implicitly tells the agent this is for re-enabling a disabled endpoint, and the field list implies partial modification of an existing endpoint. There is no explicit statement of when to prefer this over rotate_webhook_secret or test_webhook, and no prerequisites or exclusions.

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