Skip to main content
Glama

Loutre

replay_request

Replay a request from the log exactly as it was received (same method, path, headers and body) against the mock as it is now, and return the answer. Useful after changing a rule, a body or a scenario.

Input Schema

NameRequiredDescriptionDefault
idYesEntry id from get_requests
slugYesSubdomain of the mock, e.g. "brisk-otter"
ownerTokenNoOwner token received at creation (not needed when the account is connected with an API token)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description does real work: it discloses that method, path, headers and body are replayed verbatim and evaluated against current (not historical) mock state, and that a response is returned. It is silent on whether the replay is itself recorded in the request log, whether it mutates state, and whether it can fail if the mock changed incompatibly — meaningful gaps for a no-annotation tool.

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, zero filler, with the core behavior front-loaded and the usage hint trailing. Every clause carries information.

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?

No output schema exists, yet 'return the answer' is the only hint about the return value — an agent can't tell whether it gets the raw mock response, a status/wrapper object, or the matched rule. Combined with the unaddressed question of whether replays pollute the request log, the definition is workable but incomplete.

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% and all three parameters (id, slug, ownerToken) are documented in-schema, including the get_requests provenance and the API-token auth exception. The description adds nothing parameter-specific, so 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?

States a specific verb (replay) plus the exact resource and scope: a logged request replayed byte-for-byte against the mock's *current* configuration. That 'as it is now' qualifier distinguishes it conceptually from call_mock, though no sibling is named explicitly.

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?

'Useful after changing a rule, a body or a scenario' gives a concrete triggering situation, and the schema notes the id comes from get_requests, implying the prerequisite workflow. No when-not guidance or named alternatives, 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.

Resources