Skip to main content
Glama

Cito API

Replay Webhook

replay_webhook

Re-send stored events to this webhook: one eventId, or a matchId (at most 10 events, optionally one eventType). Each is marked data.replayed true with data.original_event_id, so the receiver can deduplicate. Take the ids from webhook_deliveries. 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": "replay_webhook"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe webhook id, from list_webhooks or create_webhook. Never invent one.
eventIdNoOne event to re-send.
matchIdNoRe-send this match's events.
eventTypeNoWith matchId, only this event name.

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.9/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, idempotentHint=false, destructiveHint=false, openWorldHint=true. The description goes well beyond that by disclosing the payload mutation ('marked data.replayed true with data.original_event_id'), the receiver-side dedup consequence, the 10-event ceiling, and the cost ('API calls: 1'). It does not say whether the original delivery record is altered or what happens when a match has more than 10 events, which keeps it from a 5.

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 dense sentences, front-loaded with the action and the two modes, followed by payload effect and id provenance. No filler, and the operational cost note is a single trailing token ('API calls: 1').

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?

With an output schema present, return values need not be explained, and the annotations cover the safety profile. The description supplies the mutation semantics and limits the agent needs to call it correctly. The main residual gap is overflow behavior when a matchId exceeds 10 events and whether replay affects delivery history.

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 would be 3, but the description adds real semantics on top: eventId and matchId are mutually exclusive modes, eventType only applies 'with matchId', and matchId expands to at most 10 events. That relational meaning is not obvious from the flat schema and directly shapes how the agent fills the parameters.

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 and resource ('Re-send stored events to this webhook') and immediately distinguishes two invocation modes: a single eventId versus a matchId group. It also names the source of valid ids (webhook_deliveries). It stops short of differentiating itself from close siblings like test_webhook or catch_up_webhook, so it lands just under a 5.

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?

Usage context is implied rather than stated: the agent learns where ids come from ('Take the ids from webhook_deliveries') and the group-size limit, which indirectly tells it when each mode applies. There is no explicit when-to-use or when-not-to-use versus alternatives such as test_webhook or catch_up_webhook, leaving the choice to inference.

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