Skip to main content
Glama

Change a webhook

update_webhook
Idempotent

On one site of the account, named in site. Changes a webhook's name, event or URL; what is left out stays. A new URL is checked again. Its secret stays: the person makes a new one on Settings › Webhooks.

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

Input Schema

NameRequiredDescriptionDefault
urlNo
nameNo
siteYesThe site to work on, as list_sites names it
eventNoThe one event it sends; list_webhooks names them all
webhookYesIts id or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing that omitted fields are preserved, that a new URL is re-validated, and that the secret is untouched — but it says nothing about what the response contains or whether deliveries are paused during revalidation.

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?

Four short clauses, front-loaded with the scope ('On one site of the account, named in site') then the mutation semantics. Slightly telegraphic phrasing ('Its secret stays: the person makes a new one') costs a little clarity but nothing is redundant.

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?

For a 5-parameter partial-mutation tool with no output schema and 60% schema coverage, the description covers scope, optionality and the URL re-validation side effect. It leaves open return values, permission requirements, and whether the enum'd event swapped in resets delivery state — gaps an agent must guess at.

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 60%, and the description reinforces the three mutable fields (name, event, URL) plus the 'site' scoping and the 'webhook' identifier, and its 'what is left out stays' line clarifies optionality. It adds no format or syntax detail beyond the schema, so baseline-plus is appropriate.

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 ('Changes a webhook's name, event or URL') and scopes it to one site named in the 'site' parameter. It is clearly distinguishable from create_webhook and delete_webhook, though it never names those siblings explicitly.

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?

The phrase 'what is left out stays' tells the agent this is a partial update, which is the key usage decision versus a full replace. The secret note also redirects the agent out of this tool for that operation, but there is no explicit statement of prerequisites or when not to use it.

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