Skip to main content
Glama

NexusTrade Financial MCP

query_backtest_status

Return the parent backtest document's status, error, interval, timestamps, elapsed time, and completed statistics without reading history/events. Use immediately after backtest_portfolio or before query_backtest_history so ERROR/PENDING/RUNNING states are explicit. Statistics include peakReservedCollateral and medianReservedCollateral — how much capital the book actually had on the line, which a percentage return does not say. Both read "not recorded" for a run made before collateral reporting existed; that is not zero, so do not report it as such. Zero research token cost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
backtest_idYesBacktest ID (required). Must be owned by the calling MCP user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden, and it delivers: it states this is a read of the parent document rather than history/events, notes zero research token cost, and explains the special 'not recorded' semantics for collateral fields. This is genuinely useful non-obvious behavior beyond the schema.

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 dense but every sentence earns its place: it front-loads what is returned, then gives usage timing, then explains a critical data interpretation nuance, then states cost. There is no filler or repetition.

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?

Even without an output schema, the description enumerates the key returned fields, explains the special-case 'not recorded' values, states cost, and gives usage context. For a single-parameter status-query tool, an agent has everything needed to invoke it correctly and interpret its results.

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 backtest_id as required and user-owned. The description adds context about when to use the tool but does not add new parameter format details. Baseline 3 is appropriate because the schema handles parameter semantics.

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?

The description opens with a specific verb and resource: 'Return the parent backtest document's status, error, interval, timestamps, elapsed time, and completed statistics.' It also explicitly distinguishes itself from query_backtest_history by stating it works 'without reading history/events.' This leaves no ambiguity about what the tool does or how it differs from its sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit placement guidance: 'Use immediately after backtest_portfolio or before query_backtest_history so ERROR/PENDING/RUNNING states are explicit.' This tells the agent both the trigger and the sequencing relative to related tools, which is more than enough to select the correct tool.

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.