Skip to main content
Glama

Sergio by Serviche

Resend an event to a webhook

webhook_resend
Idempotent

Posts one past event (event_id from read webhook_deliveries) to one webhook (webhook_id) again now, as Resend in its delivery log does; events are kept 7 days. Pass the same idempotency_key when retrying.

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": {
      "webhook_id": "<webhook_id>",
      "event_id": "<event_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "webhook_resend"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idYes
webhook_idYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new context — the 7-day event retention window and the 'again now' immediacy of the re-delivery — but says nothing about rate limits, whether a new delivery record is created, or error behavior for expired events or an unknown webhook_id.

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 action and its two ids are front-loaded in the first clause, and the retention and idempotency notes follow as short supporting sentences. Slightly dense phrasing ('as Resend in its delivery log does') costs a little, but no sentence is wasted.

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

Completeness3/5

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

For a 3-required-parameter mutation with no output schema, the definition covers inputs, retention, and idempotency well. It leaves the agent guessing about the response shape and failure modes, which matter for a tool whose whole purpose is verifying a redelivery succeeded.

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 only 33%, with just idempotency_key documented inline, so the description has to carry event_id and webhook_id. It does so by tying event_id to a source (read webhook_deliveries) and webhook_id to the single target webhook, plus the key-reuse rule, which meaningfully compensates for the schema gap.

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?

The description names a specific verb and resource (re-post one past event to one webhook) and pins down the exact meaning of both ids, so it is clearly distinct from generic webhook management siblings. It does not explicitly distinguish itself from webhook_test, which also triggers a delivery, leaving that one differentiation to inference.

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?

It gives concrete preconditions: event_id must come from read webhook_deliveries, events are only retained 7 days, and the same idempotency_key should be reused on retries. It stops short of stating when not to use it (for example, a synthetic test delivery via webhook_test) or what happens when the 7-day window has passed.

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