Skip to main content
Glama

Update Webhook

update_webhook

Change an endpoint’s url, events or description, or switch it on/off (switching on clears 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": {
      "id": "<id>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe endpoint id (wh_…), from list_webhooks.
urlNo
eventsNoEvent patterns ("*", an exact type or "server.*"). Types: server.listed, server.price_dropped, pass.granted, api_key.created, api_key.revoked.
enabledNo
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish readOnly=false, destructive=false and openWorld=false, so the bar is lower, and the description still adds a genuine behavioral detail: switching the endpoint on clears its failure count. It omits permission requirements and whether partially updating 'events' replaces or appends to existing patterns, which keeps it from a 5.

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?

A single sentence with zero filler, front-loading the mutable fields and tucking the one non-obvious side effect into a parenthetical. Every clause carries information.

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 five-parameter mutation tool with no output schema, the description covers what can be changed and one consequential side effect, while annotations handle the safety profile. The remaining gap is that partial-update semantics (does omitting a field preserve it?) and the url/description format constraints are left unstated.

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?

With only 40% schema coverage, the description has to compensate, and it does partially by mapping prose to all four optional fields ('url, events or description, or switch it on/off') and clarifying that 'enabled' is a toggle. It does not cover url format expectations or description length constraints, and the important side effect of enabling is stated only in passing.

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 uses a precise verb ('Change') on a specific resource (an endpoint/webhook) and enumerates the mutable fields: url, events, description, and the on/off toggle. An agent can tell this is the partial-update tool rather than create/delete/rotate, though no sibling is named to make the contrast explicit.

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?

Usage is implied rather than stated: the field list signals 'modify an existing endpoint', and the parenthetical hints at a toggle workflow. There is no explicit when-to-use, when-not-to-use, or pointer to alternatives such as delete_webhook for removal or rotate_webhook_secret for credential changes.

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