Skip to main content
Glama

get_run

Retrieve a completed run's summary using its run_id. Pass the run_id from run_backtest to view backtest results.

Instructions

Fetch a completed run's summary by its run_id. Example: get_run(run_id='a66d00139531003ef3abd6f9971de243').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
run_idYesThe run_id returned by run_backtest.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It states the tool fetches a summary, implying a read operation, but does not explicitly state it is non-mutating, what happens if the run_id is invalid or the run is not completed, or any error behavior. It also doesn't mention rate limits or auth. The constraint 'completed run' is mentioned but not elaborated.

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?

The description is a single sentence plus an example. It is front-loaded with the purpose and includes a concrete illustration. No wasted words; it earns its place efficiently.

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 simple tool with one parameter, an output schema, and 100% schema coverage, the description is mostly adequate. However, it does not explain what happens for non-completed runs or missing run_ids, and does not clarify whether the summary is a specific structure (though the output schema covers that). It could be more complete regarding failure modes and prerequisites, but given its simplicity, it is acceptable.

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% – the schema already documents run_id as 'The run_id returned by run_backtest.' The description adds a concrete example, which is useful for format, but does not provide additional semantic meaning beyond what the schema already states. Baseline 3 is appropriate.

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 clearly states the action (fetch), the resource (completed run's summary), and the key parameter (run_id). It provides a concrete example, making the purpose unambiguous. It does not explicitly contrast with siblings like compare_runs, but the verb 'fetch' and 'summary' make it distinct from comparison or explanation tools.

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?

The description implies usage: call when you have a run_id and need its summary. It does not explicitly state when not to use it or mention alternatives (e.g., compare_runs for comparing runs, explain_trades for trade details). The example is helpful but there is no explicit exclusion or routing guidance.

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