Skip to main content
Glama

Update a webhook endpoint

update_webhook_endpoint
Destructive

Change an endpoint's url, label, subscribed events, or enabled state. Setting enabled=true also clears an auto-disable and resets the failure counter (the way to revive an endpoint the circuit breaker turned off). Requires the MANAGER role or above.

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": {
      "workspace": "<workspace>",
      "endpointId": "<endpointId>"
    },
    "name": "update_webhook_endpoint"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoHTTPS endpoint that receives the signed POSTs (validated: public hosts only)
labelNoNew label, or null to clear it
eventsNoEvent types to deliver: delivery.shipped (a delivery finished, plain-language changelog entry), request.created, request.status_changed, changelog.published (an edition went out, manual or auto. Carries its public permalink), feedback.shipped (a request made from people's feedback shipped; ids only, to tell them in your own app), support.escalated (the support agent couldn't answer someone's question, so it waits for the team in Questions; ids only, never their words or email). Omit to subscribe to everything
enabledNofalse pauses deliveries; true resumes them
workspaceYesWorkspace slug or id
endpointIdYesWebhook endpoint id (uuid): list_webhook_endpoints returns these

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

The annotations only declare destructive=true and openWorld=true; the description adds a genuinely non-obvious side effect that the schema does not reveal — that enabled=true also clears an auto-disable and resets the failure counter. It further discloses the authorization requirement (MANAGER role or above), which is exactly the kind of operational context annotations cannot carry.

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?

Three sentences, each doing distinct work: field enumeration, non-obvious side effect, and permission gate. The most valuable detail (reviving a circuit-broken endpoint) is parenthetically front-loaded rather than buried.

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 six-parameter mutation with no output schema, the description covers the essential behavior and auth requirement. It leaves implicit that omitted fields are left unchanged (partial-update semantics) and says nothing about whether changing the url invalidates the signing secret, which matters for a destructive webhook operation.

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 earns above that by explaining the semantics of the enabled flag (revival behavior) rather than just naming it. It does not add syntax-level detail for url or events beyond what the schema already documents.

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 opens with a specific verb ('Change') and resource ('an endpoint'), then enumerates the exact mutable fields (url, label, subscribed events, enabled state), so an agent knows precisely what this does. It stops short of naming siblings like create_webhook_endpoint or delete_webhook_endpoint to rule them out 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?

It gives a concrete use case beyond the obvious: setting enabled=true is 'the way to revive an endpoint the circuit breaker turned off,' which tells the agent when this tool is the right lever. It also states the MANAGER-role prerequisite, but offers no explicit when-not guidance or named alternative tools.

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