Skip to main content
Glama

replay_request

Destructive

Sends a captured HTTP request once to its configured target, allowing optional body or header overrides, and asks before replaying actions with external side effects.

Instructions

Send a captured request once to the configured target. Ask before replaying with external side effects. An optional UTF-8 string replaces the body; null removes it. Changing a signed body can return a signature warning.

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": {
      "id": "<id>"
    },
    "name": "replay_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
override_bodyNo
override_headersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, and idempotentHint=false, so the safety profile is covered structurally. The description adds genuinely non-obvious behavior: replay is single-shot, external side effects warrant confirmation, and modifying a signed body can trigger a signature warning. Only the target-configuration dependency and failure behavior remain undisclosed.

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?

Four short sentences, each carrying distinct information: purpose, confirmation requirement, body-override semantics, and the signature caveat. The purpose is front-loaded and nothing is redundant.

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 destructive, open-world, non-idempotent tool with a nested object parameter and zero schema descriptions, the definition covers the body override and the confirmation norm but leaves header-override behavior and the meaning of the required id unexplained. Adequate to avoid misuse of the body parameter, but incomplete for the full parameter surface.

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. It does explain override_body well ('UTF-8 string replaces the body; null removes it'), including the null-removal semantics that the schema's anyOf does not convey. It says nothing about override_headers (a nested object) or the id parameter's role in selecting the captured request, leaving two of three parameters undocumented.

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 action ('send a captured request once to the configured target'), making clear this is a one-shot replay rather than an inspection or listing operation. It is not confused with read-style siblings such as inspect_request or list_requests, though it never explicitly contrasts itself with them by name.

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?

'Ask before replaying with external side effects' is real guidance about confirming prior to a risky call, which is the key usage constraint for this tool. However, there is no stated when-to-use condition relative to inspect_request (e.g., inspect first, then replay) and no explicit when-not scenarios.

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