Skip to main content
Glama

Status Vale

Update webhook

update_webhook
DestructiveIdempotent

Requires sign-in. Change the url, events, secret or enabled flag of a webhook. A new secret (16 to 200 characters, no whitespace, never returned) replaces the old one at once: set it in your receiver first or accept both secrets for a while. Enabling a webhook that was switched off automatically starts a fresh 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": {
      "product": "<product>",
      "id": "<id>"
    },
    "name": "update_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYeswebhook id
urlNoHTTPS URL.
eventsNoEvent names to send.
secretNoSigning secret chosen by you, 16 to 200 characters, never returned.
enabledNoWhether the item is switched on.
productYesProduct id or slug

Output Schema

NameRequiredDescriptionDefault
resultYesThe same JSON the REST API returns for this operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

The description goes well past the annotations: it discloses that a new secret takes effect immediately and is never returned, advises setting it in the receiver first or accepting both secrets temporarily, and warns that re-enabling a disabled webhook resets its failure count. Those are exactly the mutation side effects an agent needs before calling a destructive, idempotent operation, and nothing conflicts with the supplied hints.

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?

The auth requirement is front-loaded, followed by the mutable field set and then the two highest-risk caveats, so the important warnings land before the reader stops. The 16-to-200-character and no-whitespace detail duplicates the schema pattern and is the one sentence that could be trimmed.

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

Completeness5/5

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

For a six-parameter partial-update mutation with full schema coverage, an output schema, and annotations covering the safety profile, the description supplies the remaining load-bearing context: authentication, immediate secret irrevocability, and the failure-count reset. An agent has everything needed to call it without colliding with its siblings' semantics.

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 more by explaining replacement semantics for `secret` (immediate swap, never returned) and the real consequence of flipping `enabled` (fresh failure count), which the generic schema text "Whether the item is switched on" does not convey. It adds no meaning for `id` or `product`, which are left to the schema.

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?

"Change the url, events, secret or enabled flag of a webhook" names a specific verb and resource and enumerates the mutable surface, which plainly separates it from create_webhook and delete_webhook by implication. It stops short of explicitly naming those siblings as alternatives, so an agent must infer the create/delete boundary from the verb alone.

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?

The description establishes a prerequisite ("Requires sign-in") and an operational caution around secret rotation, but never states when to choose this tool over test_webhook or delete_webhook, nor any when-not-to-use condition. Usage is implied by the verb rather than guided.

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