Skip to main content
Glama

API Keg — HookSink Ephemeral Webhook Receiver

Replay Captured Webhook Event

replay_event

Replays a captured webhook event (exact raw body, HTTP method, and signature headers) from an inbox to a public HTTP/HTTPS target URL protected by strict SSRF filtering, returning target status, latency, and response snippet. Pricing: $0.003 USD per SSRF-guarded webhook replay (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.

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": {
      "inboxId": "<inboxId>",
      "readToken": "<readToken>",
      "eventId": "<eventId>",
      "targetUrl": "<targetUrl>"
    },
    "name": "replay_event"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventIdYesIdentifier of the captured webhook event to replay.
inboxIdYesInbox identifier containing the captured event.
readTokenYesSecret read token returned by create_inbox.
targetUrlYesPublicly routable http:// or https:// URL to receive the replayed webhook.
timeoutMsNoOutbound replay request timeout in milliseconds (500–15000, default 10000).
overrideHeadersNoOptional additional or overridden HTTP headers to send on replay.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the supplied annotations, the description discloses that the replay preserves exact raw body, HTTP method, and signature headers; that the target URL is protected by strict SSRF filtering; and that the response includes target status, latency, and a response snippet. It also clearly states the per-replay price and available free dry-run validation.

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 description is well front-loaded, starting with the core replay behavior and immediately following with return values, pricing, and validation. It is appropriately sized, though the pricing and dry-run sentences could be slightly tightened.

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 non-idempotent, open-world mutation with six parameters and no output schema, the description covers the essential behavior, SSRF constraints, response contents, cost, and validation mode. It leaves minor gaps around authentication and header override semantics, but the required readToken and overrideHeaders are documented in the schema.

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 documents all six parameters. The description adds contextual meaning around the webhook replay and target URL SSRF constraints, but it does not expand on parameter-level semantics beyond what the schema provides.

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 clear verb and resource: it replays a captured webhook event from an inbox to a target URL, preserving raw body, HTTP method, and signature headers. This clearly distinguishes it from inspecting inbox events or verifying signatures, though it does not explicitly name or contrast those siblings.

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?

It provides useful context such as pricing, SSRF-filtered targets, and a free REST dry-run mode for schema validation. However, it does not explicitly say when to use this tool instead of siblings like inspect_inbox_events or verify_webhook_signature, nor does it describe when-not-to-use conditions.

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