Skip to main content
Glama

Backtest the trade plan

backtest_trades

Start the existing owner-scoped historical trade-plan simulation. Read get_workload until its actual completion. This does not place orders.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "backtest_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
weightsNo
intervalNo
dashboardIdNoWhich live dashboard (browser tab) runs it; from get_dashboard_state. Optional when one tab stands out: the tab the user last approved an action in, the only live tab, or the only tab on screen. Refused before any approval when the target is ambiguous or disconnected.
idempotencyKeyNo
transferPolicyNo
expectedRevisionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), it adds two genuinely useful facts: this is an asynchronous job that must be polled via get_workload, and it does not place real orders. It still does not explain what state the call creates, how repeated calls behave despite the idempotencyKey parameter, or any resource/cancellation considerations.

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 short sentences with the action and scope front-loaded, then the polling procedure, then the safety caveat — a sensible ordering with no filler. The middle sentence ('Read get_workload until its actual completion') is slightly awkward and could state the polling condition more plainly.

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

Completeness2/5

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

For a 6-parameter tool with nested objects, multiple enums, and no output schema, the description is too thin: it explains neither the weighting model nor the interval or transfer policy, and does not say what the simulation produces or where results surface beyond 'get_workload'.

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

Parameters2/5

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

With only 17% schema description coverage across 6 parameters (weights, interval, transferPolicy, expectedRevision, idempotencyKey all undocumented), the description needed to compensate and adds nothing about any of them. Only dashboardId carries meaning, and that meaning comes from the schema, not the description.

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 and resource: 'Start the existing ... historical trade-plan simulation,' which tells an agent this runs a backtest over an already-defined plan rather than creating one. The scope words 'existing' and 'owner-scoped' differentiate it somewhat from the sibling 'simulation', though the distinction is implied rather than stated.

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 (you need an existing trade plan, and it is owner-scoped) and gives a concrete follow-up procedure: poll get_workload until completion. However, it never explicitly says when to choose this over the 'simulation' sibling or what prerequisites like dashboard control are required before calling.

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.