Skip to main content
Glama

Replay event

replay_event
Destructive

Re-send a captured webhook to a URL using its original method, headers, and body to validate real signature checks, then record the replay and return whether it fixed or regressed the prior attempt.

Instructions

Re-sends a captured webhook to a URL from this machine (e.g. the local handler at http://localhost:3000/webhooks), with its original method, headers and body, so signature checks run for real. Records the result in the dashboard's replay history and returns the verdict against the previous attempt to the same URL: fixed, regressed, still_failing or still_passing. For an event whose signature is invalid, the handler passes by rejecting it (4xx). It can change state in the receiving app (it is a real webhook delivery).

Input Schema

NameRequiredDescriptionDefault
event_idYesWhich event: its number (12 or "#12", from list_events or the dashboard), "latest", "latest <event type>" such as "latest invoice.paid", or the provider's own event id such as evt_1Qx...
target_urlYesWhere to deliver it, e.g. http://localhost:3000/webhooks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructive, open-world and non-idempotent behavior, and the description adds substantive context on top: the original method/headers/body are preserved, the attempt is written to dashboard replay history, and the returned verdict is defined against the prior attempt to the same URL (fixed, regressed, still_failing, still_passing). The explicit warning that it can change state in the receiving app reinforces rather than repeats the annotations.

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 core action and its target come first, followed by side effects and return semantics, so it is well front-loaded. Four sentences is a reasonable length for the behavioral payload, though the parenthetical example URL slightly duplicates the target_url example in the 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?

With no output schema and a destructive, open-world delivery, the description does the heavy lifting by naming the four verdict outcomes and the history recording. It stops short of saying what else is returned about the delivery (status code, response body), which matters for diagnosing a failing local handler.

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 description coverage is 100%, so the schema already explains both event_id forms and target_url. The description contributes nothing parameter-specific beyond the generic 'a URL from this machine' phrasing, so the 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?

The description uses a specific verb+resource ('Re-sends a captured webhook to a URL') and pins the scope to deliveries made from this machine with a concrete example URL. It implicitly separates itself from retrieval-style siblings by emphasizing that a real delivery is made, but it never names an alternative tool, so the differentiation is inferential rather than explicit.

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 a clear when-to-use rationale ('so signature checks run for real') plus a practical caveat that a correctly configured handler passes an invalid-signature event by rejecting it with 4xx. It does not name when NOT to use it or point to siblings such as get_replay_result or debug_signature, which an agent choosing between replay-style tools would want.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.