Skip to main content
Glama

Read a run report

read_run_report
Read-only

Read one run's report: what a replay, paper or canary run did, and how it ended.

Instructions

Read one run's report: what a replay, paper or canary run did, and how it ended.

Returns run.json as written (label, instrument, strategy, prints, bars, intents, refusals,
fills, net bps, what stopped it) and the count of closed round trips in its trades.jsonl. Use
`list_runs` to find the run directory first. Read-only.

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": {
      "run_dir": "<run_dir>"
    },
    "name": "read_run_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_dirYesa run's directory, the one holding run.json

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, and the description's 'Read-only' merely restates that. It does add useful behavioral context by naming what a report covers (prints, bars, intents, refusals, fills, net bps, what stopped the run) and that it returns run.json verbatim plus a round-trip count, but omits any failure modes such as a missing run.json.

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?

Front-loaded with the purpose, then the return contents and the sibling pointer. Two compact paragraphs with little waste; the trailing 'Read-only' is redundant against the annotations and could be dropped.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A one-parameter read tool with an output schema, annotations, and full schema coverage — the description need not explain return shape in detail. Purpose, prerequisite, and rough return contents are all present, so an agent has what it needs to invoke it correctly.

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 the single `run_dir` parameter is already documented as the directory holding run.json. The description adds no format, path-resolution, or validation detail beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Read one run's report') and scopes it to replay, paper or canary runs, ending with what the run did and how it terminated. The explicit reference to `list_runs` lets an agent separate this from the sibling that enumerates run directories.

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?

Gives a concrete prerequisite and routing hint — use `list_runs` to obtain the run directory before calling this. It stops short of stating when not to use it (e.g., that it cannot list runs itself), so it is clear but not fully exclusionary.

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