Skip to main content
Glama
Firenook

Firenook

Official

functions_replay_call

Destructive

Replay a recorded function call with the same request or event after a fix to see the new outcome, status, response body and call id. Runs the function code again, including side effects.

Instructions

Run a recorded function call again with the same request or event (after a fix, say) and report the new call: outcome, status, response body and its id for functions_get_call. The function's code runs again, side effects included.

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": "functions_replay_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesCall id from functions_list_calls
maxBodyCharsNoCut the response body at this many characters; default 16384

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, readOnlyHint=false and idempotentHint=false; the description reinforces this with 'The function's code runs again, side effects included,' which is exactly the consequence an agent must weigh before calling. It also discloses the return shape (outcome, status, response body, new call id) absent an output schema; it stops short of noting confirmation requirements or irreversibility handling.

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?

Effectively two sentences, front-loaded with the action and followed by the side-effect warning. Dense but every clause carries information; minor density cost from packing the return fields into one list.

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 two-parameter mutation with no output schema, the description covers what is re-executed, what is returned, and the side-effect risk. Missing only the operational framing (confirmation, irreversibility) that would make it fully self-sufficient.

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 coverage is 100%, and the schema already documents both id (from functions_list_calls) and maxBodyChars with bounds and default. The description adds only the phrase 'same request or event,' which clarifies that no new payload is supplied but gives no extra syntax or format detail beyond the schema.

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 (run again) and a specific resource (a recorded function call, with its original request or event), which is meaningfully narrower than invoking or publishing a new call. It does not explicitly distinguish itself from functions_invoke or eventarc_replay_event, so a sibling-differentiation point is missing.

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?

'after a fix, say' gives an implied trigger condition for replaying rather than invoking fresh. It names functions_get_call as the follow-up for the returned id, but offers no when-not guidance or explicit comparison to functions_invoke / eventarc_replay_event.

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