Skip to main content
Glama

list_backtests

Read-onlyIdempotent

The user's recent backtest runs, newest first, optionally just the ones for one strategy. Use it when they ask what they have run, or refer to an earlier result without giving an id -- then fetch the one you need with get_backtest. It is how you avoid re-running something that already has an answer. Results are newest first; pass strategy_id to see only one strategy's runs.

[Access: pay 0.001 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]

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": "list_backtests"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum results.
strategy_idNoThe strategy's UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description instead contributes the ordering guarantee (newest first) and, importantly, the access model — 0.001 USDC via x402 or API key with no per-call charge. It does not discuss result size, truncation, or what happens when limit is omitted.

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-loads the resource and scope, then the when-to-use routing. Slight redundancy: 'newest first' is stated at the start and restated verbatim at the end, which costs a sentence without adding information.

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?

Covers purpose, routing, ordering, filtering, and the payment/auth paths — enough for a two-optional-parameter read tool with no output schema. It never hints what a run record exposes (e.g. whether an id is returned for the get_backtest hand-off), which is the one remaining gap for the described workflow.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds functional meaning: strategy_id narrows the list to one strategy's runs, and the default result set is implicitly the recent ones. The value-add is modest since the schema already documents both parameters.

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?

Clearly identifies the resource (the user's recent backtest runs) and adds scope qualifiers (newest first, optional per-strategy filter). It effectively distinguishes itself from get_backtest, the single-record fetch sibling. It stops short of a leading verb+resource construction, opening with a noun phrase instead.

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?

Gives explicit trigger conditions ('when they ask what they have run, or refer to an earlier result without giving an id') and names the follow-up alternative get_backtest with the condition that selects it. Also states the negative-goal motivation: avoid re-running something that already has an answer.

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.