Skip to main content
Glama

Update a webhook endpoint

update_webhook

Update a webhook endpoint

Changes the destination URL, the subscription list or the enabled flag of an endpoint. Every field is optional and only the fields you send are touched. events is replaced wholesale, not merged, so send the complete list you want; each name is checked against the catalogue and an unknown one fails the whole request with 400. A new URL is resolved and refused if it points at a private or internal address. Setting isActive back to true is how you bring back an endpoint that was disabled automatically after repeated failures. The signing secret is not changed and cannot be rotated through this endpoint.

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>",
      "body": "<body>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifier of the endpoint.
bodyYesThe fields to change. `events`, if sent, replaces the existing subscription list entirely.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false; the description goes well beyond that by disclosing PATCH-style partial-update semantics ('only the fields you send are touched'), wholesale replacement of `events`, all-or-nothing 400 failure on unknown event names, SSRF-style rejection of URLs resolving to private/internal addresses, and the immutability of the signing secret. That is exactly the mutation risk profile an agent needs and it does not contradict any annotation.

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?

Front-loaded with the operation and its fields, then proceeds through the semantic traps (replace-not-merge, validation, URL checks, reactivation, secret immutability) in short declarative sentences. Every sentence carries information an agent would otherwise get wrong; nothing is padding.

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?

Thorough for a two-parameter mutation with nested body and no output schema — the risky behaviors, validation rules and recovery path are all covered. It omits what the response contains and any permission/auth requirements, which are the remaining gaps for a write tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning beyond the schema: unknown event names fail the entire request with 400, `events` is replaced rather than merged, and a new URL is resolved and refused if it targets a private or internal address. The `id` parameter gets no additional treatment beyond the schema, which keeps it from a 5.

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 and resource ('Update a webhook endpoint') and immediately enumerates what can change: destination URL, subscription list, enabled flag. An agent can distinguish this from create_webhook, delete_webhook and get_webhook from the description alone.

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?

Gives real usage context: it explains that setting `isActive` back to true is the recovery path for an endpoint disabled after repeated failures, and that the signing secret cannot be rotated here, implying the agent must look elsewhere for that. It does not explicitly name alternatives (e.g. create_webhook for new endpoints) or state when not to use it, so it stops short of a 5.

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.