Skip to main content
Glama

Cito API

Update Webhook

update_webhook

Change a webhook's URL, events, filters or on/off state. Changing the URL emails the account owner. Send only what changes. API calls: 1.

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 id, from list_webhooks or create_webhook. Never invent one.
urlNoNew public URL.
eventsNoEvent names from list_webhook_events. Subscribe to the fewest that do the job. Example: ["cs2.match.completed"].
filtersNoOptional. Only events matching these are sent, for example {"league":"LEC"}. Check each event's filters in list_webhook_events: filtering on a field an event does not carry stops every delivery of it. Send null to clear them.
isActiveNofalse pauses the webhook; true turns it back on and clears its failures.

Output Schema

NameRequiredDescriptionDefault
okYestrue if the tool succeeded
dataNoResult payload when ok is true; null on error
metaYes
errorNo
partialNo
paginationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations cover the safety profile (destructiveHint=false, openWorldHint=true) but say nothing about side effects, so the description's disclosure that a URL change emails the account owner is genuinely additive. It also flags the patch-style semantics and cost (one API call). It stops short of saying whether a URL change invalidates the signing secret or whether updating events drops in-flight deliveries.

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?

Three short sentences, front-loaded with the capability, then the highest-risk side effect, then the invocation rule. The trailing "API calls: 1" is terse but earns its place as a cost signal; nothing is redundant or padded.

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?

A mutation tool with full schema coverage, an output schema, and annotations that cover safety — what remains for the description is side effects and update semantics, and it delivers both. An agent can call this correctly without further reading.

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 100%, so each of the five parameters already carries its own explanation, including the important warning about filters on fields an event does not carry. The description only restates the field list at a high level and adds no per-parameter detail the schema lacks, so baseline 3 applies.

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 the resource (a webhook) and enumerates the mutable fields — URL, events, filters, on/off state — which maps cleanly onto the schema properties. It is clearly the mutation counterpart to create_webhook/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 Guidelines3/5

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

"Send only what changes" gives a clear partial-update rule that tells the agent how to invoke it, and "Changing the URL emails the account owner" signals a consequence worth considering before acting. However, there is no guidance on when to use this versus delete_webhook or create_webhook, and no stated prerequisites such as required scope or ownership.

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