Skip to main content
Glama

Change a webhook

update_webhook
Idempotent

Change an endpoint's url, events, description, or switch it on/off (turning it back on clears its failure count). Needs one of your rssamplifier API keys in the Authorization header (Bearer rsa_..., from /account).

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 webhook endpoint id (wh_...), from list_webhooks.
urlNo
eventsNo
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?

Goes beyond the annotations by disclosing a non-obvious side effect: re-enabling clears the failure count, and by stating the auth header requirement. This is genuine behavioral context that readOnlyHint=false/idempotentHint=true do not convey. It still omits whether omitted fields are left untouched, which matters for a partial-update tool.

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?

Two tight sentences: the field list and behavioral note come first, auth comes second. No filler, nothing redundant with the title or schema.

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 5-parameter mutation tool with no output schema, the description covers the fields, the auth mechanism, and a key side effect, while annotations declare safety (not destructive) and idempotency. The main remaining hole is partial-update semantics — whether omitted parameters are preserved or reset.

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 only 20% (only 'id' is documented), so the description carries real weight: it names all four undocumented params (url, events, description, enabled) and their purpose. However it adds no format detail such as valid event names, whether url must be https, or whether supplied fields merge into or replace existing values.

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 ('Change') plus resource ('an endpoint' = webhook endpoint) and enumerates the mutable fields (url, events, description, enabled). It is clearly distinguishable from create_webhook/delete_webhook by the field-level scope, 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides a concrete prerequisite (rssamplifier API key as Bearer rsa_... token, sourced from /account) that tells the agent how to call it. It does not say when to choose this over rotate_webhook_secret or create_webhook, so routing is only implied by the field list.

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