Skip to main content
Glama

ValuEdge MCP — Stock Valuation, Screener & Portfolio Research

Review saved backtest result

get_backtest_result
Read-onlyIdempotent

Read one completed, account-owned Research Lab simulation by its exact run UUID. Show the real metrics, costs, assumptions, coverage, trade examples and sampled equity curve. Set trade_offset and trade_limit to read additional closed trades without simulation. Or supply compare_run_ids with one or two other completed run UUIDs; returns a compact historical comparison, flags incomparable windows/configurations, and does not run new simulations.

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_id": "<run_id>"
    },
    "name": "get_backtest_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
run_idYes
trade_limitNo
trade_offsetNo
compare_run_idsNo

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
metadataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / compare_run_ids
      Added value: +{
      +  "items": {
      +    "format": "uuid",
      +    "type": "string"
      +  },
      +  "maxItems": 2,
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / trade_limit
      Added value: +{
      +  "maximum": 50,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / trade_offset
      Added value: +{
      +  "maximum": 3780,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that: the run must be completed and account-owned, comparisons flag incomparable windows/configurations rather than silently mixing them, and no simulation is executed.

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?

Three sentences, front-loaded with the core read operation before the optional paging and comparison modes. The 'without simulation' / 'does not run new simulations' idea is repeated at both ends, which is slightly redundant but reinforces an important boundary.

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?

An output schema exists, so the description needn't enumerate return fields, yet it still previews the payload (metrics, costs, assumptions, coverage, trade examples, sampled equity curve) and the comparison result shape. Complete for correct invocation; only parameter defaults and numeric bounds are left to the schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With zero schema description coverage, the description must carry the parameter burden, and it explains the purpose of three of four parameters — trade_offset/trade_limit for paging closed trades and compare_run_ids for comparison runs (one or two UUIDs). It omits defaults and the enforced bounds (trade_limit max 50, trade_offset max 3780), which are only visible in the raw schema.

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 completed, account-owned Research Lab simulation by exact run UUID. It also scopes what the tool is not — no new simulations are run — which separates it from run_backtest and preview_backtest without needing to inspect their schemas.

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 concrete conditions for the optional modes: use trade_offset/trade_limit to page through more closed trades, use compare_run_ids for a historical comparison against one or two other runs. It does not explicitly name sibling tools like list_saved_backtests as the alternative for discovery, but the when-to-use context is clear.

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.