Skip to main content
Glama

Webhook Toolkit

Replay a captured request

replay_webhook_request

Re-send a captured request (same method, headers and raw body) to a PUBLIC URL and return the target's response. Localhost and private IPs are refused here: for localhost use the CLI (npx webhook-toolkit replay) or the local MCP server (npx webhook-toolkit mcp).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYes
request_idYes
target_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It discloses meaningful traits: the request is re-sent verbatim (same method, headers, raw body), only PUBLIC targets are accepted, and the tool returns the target's raw response. It omits other useful behavioral details like failure behavior, retries, or idempotency, which leaves it adequate but not rich.

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?

Two sentences with zero waste. The core action and return value are front-loaded in the first sentence, followed by the restriction and alternatives in the second. Every clause earns its place; there is no filler or repetition of the tool name/title.

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?

For a 3-parameter tool with no output schema and no annotations, the description covers the essentials: what it does, what it returns ('the target's response'), and the key target restriction. The origin of request_id is inferable from the sibling tools (get_webhook_request/list_webhook_requests). Only the undocumented token parameter and lack of failure-mode detail keep it from being fully complete.

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 0%, so the description must compensate, and it partially does: target_url is implied by 'PUBLIC URL' and request_id by 'captured request.' However, the token parameter is completely unexplained in both schema and description, and the mapping is implicit rather than explicit. At 0% coverage this is a meaningful gap, keeping it at a baseline 3.

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 states a specific verb-resource pair: 'Re-send a captured request (same method, headers and raw body) to a PUBLIC URL and return the target's response.' This clearly differentiates from siblings like get_webhook_request (retrieve) and explain_webhook_request (analyze) by focusing on the replay action. It doesn't explicitly name those siblings, so the differentiation is implied rather than stated, which keeps it at a 4.

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?

The description gives explicit when-not guidance: localhost and private IPs are refused, and it names concrete alternatives ('use the CLI (`npx webhook-toolkit replay`) or the local MCP server (`npx webhook-toolkit mcp`)'). It covers exclusion well but offers no positive 'use this when...' framing beyond the inherent re-send action, so it stops short of a 5.

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.