Skip to main content
Glama

Backtest Vault

Server Details

Backtest NQ, ES and GC futures strategies on 15+ years of 1-minute data from your AI client.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.1/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct action on a distinct object: run_backtest creates, rerun derives, compare_runs diffs two runs, vault_stats aggregates, usage reports billing, get_spec returns grammar. The closest pair (run_backtest vs rerun) is explicitly separated by 'new spec' versus 'merge changes into an existing run's spec'. No tool pair invites misselection.

Naming Consistency4/5

Most names follow a clear verb_noun pattern (compare_runs, delete_run, get_run, get_spec, list_runs, name_run, run_backtest). Deviations are mild: 'rerun' drops the noun and 'usage'/'vault_stats' are noun-only, but all remain readable and unambiguous.

Tool Count5/5

Ten tools is a well-scoped surface for a backtest vault: execution, retrieval, naming, comparison, deletion, grammar reference, billing and aggregate stats. Every tool earns its place with no filler or near-duplicates.

Completeness4/5

Full lifecycle is covered: create (run_backtest), read (get_run/list_runs), update (name_run, rerun), delete (delete_run), plus comparison, stats and account usage. Minor gaps exist—no export of results or equity curve to a file, and no bulk operations—but these are workaround-able and not core to the domain.

Available Tools

10 tools
compare_runsCompare two runsA
Read-onlyIdempotent
Inspect

What it does: puts two saved runs side by side. Returns: the headline metrics of each plus spec_differences, the exact spec fields that differ with both values. When to use: 'is the 40-tick stop better than the 60?', or any A/B question about two runs. Free.

Inputs: run_id_a (required), run_id_b (required).

delete_runDelete a runA
DestructiveIdempotent
Inspect

What it does: deletes one run from the user's vault. Cannot be undone. Returns: {ok: true}, or 404 if the run is not in this vault. When to use: only when the user explicitly asks to delete a specific run; confirm the run_id with them first.

Inputs: run_id (required).

get_runGet one saved runA
Read-onlyIdempotent
Inspect

What it does: fetches one saved run in full. Returns: the spec as submitted, all metrics, the equity curve, the monthly table, name, notes and tags. When to use: to inspect or explain a past run, or to see the exact spec before a rerun or a comparison. Free.

Inputs: run_id (required).

get_specStrategy grammar and rulesA
Read-onlyIdempotent
Inspect

What it does: returns the full strategy grammar (every node type with its fields), the execution rules (signals at bar close, entry at the next bar's open, slippage against you, stop checked before target inside a bar, intraday only), the instruments (NQ, ES, GC) with tick size, point value and hours, the credit costs and four worked example specs. Returns: one JSON document. When to use: read it FIRST, before composing any spec for run_backtest, and again whenever a spec is rejected. Free, no credits, no key needed to list it.

Inputs: no named parameters.

list_runsList saved runsA
Read-onlyIdempotent
Inspect

What it does: lists the user's saved backtests, newest first, optionally filtered by tag. Returns: runs[] with id, name, tags, instrument, timeframe, date range, created_at and the headline metrics (trades, win rate, profit factor, net P&L, max drawdown, Sharpe). When to use: to find a run_id, to answer 'what have I tested', or to group runs by tag. Free.

Inputs: tag, limit, offset.

name_runName or tag a runA
Idempotent
Inspect

What it does: labels a saved run with a name, notes and/or tags (tags replace the run's tags). Returns: {ok: true}. When to use: when the user wants to remember a run or group runs for list_runs' tag filter. Free, nothing is re-run.

Inputs: run_id (required), name, tags, notes.

rerunRe-run with changesA
Idempotent
Inspect

What it does: re-runs a saved strategy with changes merged into its spec (objects merge one level down, e.g. {"exit": {"stop_ticks": 50}} changes only the stop; scalars and arrays replace) as a normal backtest and saves a new run. Returns: the same shape as run_backtest. When to use: variations of an existing run, so everything else stays identical. Costs the same credits as run_backtest; an unchanged spec is a free cache hit.

Inputs: run_id (required), changes (required).

run_backtestRun a backtestA
Idempotent
Inspect

What it does: runs one strategy spec against 15+ years of real 1-minute futures history (NQ by default; set spec.instrument to ES or GC) with realistic fills, slippage and commission, and saves the run to the user's private vault. Returns: run_id, metrics (trades, win rate, profit factor, net P&L in dollars, max drawdown, Sharpe, exit breakdown), an equity curve of at most 500 points, a monthly table, credits charged and credits left. A rejected spec returns a teaching error naming the exact path and the valid options: fix the spec and call again. When to use: whenever the user wants numbers for an idea; compose the spec from get_spec's grammar and never estimate results yourself. Costs 1 credit (2 on 1-minute bars); an identical re-run on the same data is a free cache hit. Never returns price bars.

Inputs: spec (required).

usageCredits and billingA
Read-onlyIdempotent
Inspect

What it does: reports this month's credits in one line, e.g. 'starter · 73 of 75 left · resets 2026-11-01' (or, on an account still finishing an earlier free trial, 'Starter trial · 3 of 5 free backtests left'). Returns: that line, then the numbers (used, quota, remaining, tier, reset date, account status) and the account's billing link (card, invoices, cancel). When to use: 'how many backtests do I have left', anything about billing, plan or cancelling. Free, no credits.

Inputs: no named parameters.

vault_statsVault totalsA
Read-onlyIdempotent
Inspect

What it does: totals over the user's vault. Returns: run count, credits spent, the best run by Sharpe, runs per timeframe. When to use: 'what's my best strategy', or any overview question about everything tested so far. Free.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to backtest trading strategies described in plain English, providing access to market data, technical indicators, and comprehensive performance reports.
      13
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.
      1,143
      GPL 3.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      Local-first backtesting engine with built-in overfitting detection (PBO, deflated Sharpe, bootstrap CI, walk-forward) and a native MCP server for AI agents to validate trading strategies.
      4
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Point-in-time market data and backtests for AI agents, 40 tools: 16,000+ US stocks since 2000 incl. delisted, 5,100+ ETFs, ticks, 139 futures markets, options GEX and chains, VIX, 123 indexes, 79 FX pairs, 512 crypto pairs, fundamentals as filed, 13F, COT since 1986, 22,700+ macro series with every vintage, Global Macro Pulse, congressional trades. Deflated-Sharpe backtests. No key to start.
      11
      60 PyPI
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources