Skip to main content
Glama

Change a webhook

update_webhook
DestructiveIdempotent

Pause, resume or change which events a webhook receives.

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
enabledNofalse pauses it; true turns it on again (also after Callbox turned it off for failing)
webhook_idYesThe webhook's id
descriptionNoWhat it is for
event_typesNoThe event types to send instead

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
enabledYes
last_errorYes
descriptionYes
event_typesYes
disabled_reasonYes
last_success_atYes
last_status_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/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 partly covered. The description adds the meaningful nuance that this is a partial state change (pause/resume/event swap) rather than a full overwrite, but it never states that supplying event_types replaces the entire existing subscription set, nor whether omitted fields are left untouched.

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 with no filler or redundancy. It is efficient, though its brevity means the sentence carries little of the routing or behavioral detail the tool actually needs.

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

Completeness3/5

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

The tool has four parameters at full schema coverage, rich annotations, and an output schema, which lowers the burden on the description considerably. Still, the description leaves out the description-field update and the replacement semantics of event_types, which are the two facts an agent most needs before calling this destructive update.

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 all four parameters are already documented in structured data, including the 'instead' semantics of event_types and the failure-recovery behavior of enabled. The description only loosely maps its three verbs onto enabled and event_types and adds no syntax or format detail beyond the schema, so the 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?

The description gives specific verbs (pause, resume, change) tied to a specific resource (a webhook's received events), so an agent can distinguish this from create_webhook, delete_webhook, or test_webhook. It is slightly incomplete because it omits the fourth updatable field (description), but the core purpose is unambiguous.

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?

The sentence describes what the tool does rather than when to choose it over siblings such as delete_webhook or create_webhook. There is no mention of prerequisites (e.g., that a webhook_id must already exist) or of the notable case that re-enabling also recovers a webhook Callbox disabled for failures, which appears only in the schema.

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