Skip to main content
Glama

Cito API

Create Webhook

create_webhook

Create a webhook on this account: Cito starts POSTing the chosen events to the URL. Needs Pro or Scale; a plan error includes the upgrade link to relay. The URL must be public. The account owner is emailed. webhook.secret comes back ONCE: have the user store it in an environment variable such as CITO_WEBHOOK_SECRET, and do not repeat it in chat. Then call test_webhook. 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": {
      "url": "<url>",
      "events": "<events>"
    },
    "name": "create_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesPublic URL that accepts POST and answers 2xx within 10 seconds. A test inbox url works too.
eventsYesEvent 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.

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

A4.4/5.0
Behavior5/5

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

Annotations only declare the generic mutating profile (readOnlyHint=false, openWorldHint=true, non-idempotent, non-destructive); the description adds substantial context beyond that: the plan gate and its error payload, the public-URL prerequisite, the owner email side effect, and the one-time secret return. The secret-handling instruction (store in an env var, don't echo in chat) is exactly the kind of behavior an agent can't infer from structured fields.

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?

Front-loaded with the core effect, then prerequisites, then the security-critical secret step, then the follow-up call. Dense and mostly waste-free, though the secret-handling and follow-up instructions could be tightened into fewer clauses.

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 mutating, open-world tool with side effects and a one-time secret, the definition covers prerequisites, cost (1 API call), safety handling, and next step. Since an output schema exists, it correctly does not spend words explaining return values.

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 url, events, and filters are already fully documented, including the examples and the filter-field caveat. The description only restates that the URL must be public and events are 'chosen', adding nothing new about the parameters, so baseline 3 applies.

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 ('Create a webhook on this account') and then explains the concrete effect: Cito starts POSTing chosen events to the URL. That distinguishes it cleanly from siblings like update_webhook, test_webhook, and create_webhook_inbox.

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 conditions: needs Pro or Scale, URL must be public, and explicitly sequences the next step ('Then call test_webhook'). It doesn't contrast against create_webhook_inbox or explain when a test inbox is preferable, so it stops short of full when/when-not guidance.

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