Skip to main content
Glama

replay_event

Re-send a captured event to any URL — the test runner for a handler you just wrote. preserve_headers defaults to true so the original signature header (e.g. Stripe-Signature) arrives intact. If you changed the body or the receiver verifies with a different secret, pass resign_with (the dev's own signing secret) so the payload is re-signed and their verification code passes unmodified. Returns the response status, latency and body.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDestination URL to send it to.
bodyNoReplacement request body (defaults to the captured body).
headersNoHeader overrides layered on top of the preserved set.
event_idYesThe event id to replay.
resign_withNoSigning secret to re-sign the payload with (≥16 chars).
preserve_headersNoReplay the captured headers verbatim (default true).
signature_headerNoHeader name for resign_with (default x-signature).

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations, the description carries full burden and rises to the occasion. It discloses that preserve_headers defaults to true, how resign_with re-signs the payload, the signature header behavior (e.g., Stripe-Signature), and that the tool returns 'response status, latency and body'. This offers substantial behavioral context beyond the schema.

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?

The description is a tight four sentences: purpose, one default behavior, one conditional behavior, and the return value. Each sentence earns its place with no filler, and the most important information is front-loaded.

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?

Given the tool has 7 parameters, no output schema, and no annotations, the description covers the essential use case, the tricky signing flow, and the return format. It doesn't explain headers/body overrides in prose, but the schema handles those. For a test-runner tool, this is reasonably complete.

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 baseline is 3. The description adds meaningful context on top: it explains the default for preserve_headers, the purpose and usage of resign_with, and gives an example of a signature header. This moves it above baseline, though not every parameter (body, headers) receives narrative treatment.

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?

The description opens with 'Re-send a captured event to any URL' — a specific verb+object pair — and grounds it as 'the test runner for a handler you just wrote'. This clearly distinguishes it from sibling tools like get_event or forward_bucket.

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 states the primary use case ('test runner for a handler you just wrote') and provides conditional guidance for using resign_with ('If you changed the body or the receiver verifies with a different secret'). While it doesn't explicitly name alternatives like forward_bucket, the context is sufficient for an agent to know when to select this tool.

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.

TDQS

A4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: buckets, events, schemas, deliveries, forwarding, verification, replay, and waiting. Even similar pairs like latest_event vs list_events are clearly differentiated by purpose, with no overlapping responsibilities.

Naming Consistency4/5

Most tools follow a consistent verb_noun pattern with underscores, such as create_bucket, list_events, and delete_bucket. The only slight deviation is 'latest_event', which uses an adjective instead of a verb, but it remains intuitive and does not disrupt the overall predictability.

Tool Count4/5

At 17 tools, the set is slightly above the typical well-scoped range of 3-15, but the domain covers buckets, events, schemas, deliveries, configuration, and more, so each tool serves a distinct and justified purpose. The count feels appropriate for the platform's breadth rather than excessive.

Completeness3/5

The set covers the primary lifecycle for buckets, events, and schemas, including create, read, list, and delete operations. However, there is no way to update or delete a forwarding rule after creation, and no explicit update operation for bucket metadata, leaving notable gaps in managing configurations.