Skip to main content
Glama

Server Details

Backtest crypto trading strategies by describing them in plain English. Your AI writes the rules; a deterministic engine runs them on real Binance data (perpetual futures and spot) with fees, slippage and funding counted. Optimize with a held-out check, forward test on live data, build portfolios, and get a full report for every result.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

B3.4/5.0

Scored across 27 tools

Disambiguation4/5

Most tools target a distinct resource+action pair (get_run vs get_trades vs get_equity_curve; run_backtest vs run_portfolio vs optimize_strategy), and descriptions reinforce the boundaries. Minor friction exists between get_strategy and get_strategy_spec_rules, and between check_strategy and run_backtest's validation, but these are clearly explained.

Naming Consistency4/5

Names follow a clean verb_noun snake_case convention (list_strategies, create_portfolio, promote_strategy, run_backtest). The only outlier is 'whoami', which breaks the pattern but is a widely recognized idiom.

Tool Count3/5

27 tools is on the heavy side and exceeds the comfortable 3-15 band, but the domain is genuinely rich (strategies, portfolios, runs, optimization, forward testing). Each tool covers a distinct operation, so it is borderline rather than bloated.

Completeness4/5

Strong lifecycle coverage: strategies (create via run_backtest save, get, update, delete, fork, promote/demote), portfolios (full CRUD), runs (headline, trades, equity curve, compare), plus search, validation, and optimization. No explicit standalone create_strategy, but it is reachable through run_backtest with save, so only a minor gap.

Publisher details

Operator
AI Backtester · Publisher source
Vendor relationship
First-party · Publisher source
Trust center
Not available
Restrictions
Needs a free AI Backtester account (sign-up during connect). The free plan covers daily candles on BTC, ETH and SOL; other timeframes and markets, optimizing, forking and portfolios need the Pro plan. · Publisher source

Available Tools

27 tools
check_strategyValidate a strategy without running itA
Read-only
Inspect

Validate a strategy spec and prove whether its rules can ever fire. Costs nothing and touches no market data. Catches impossible conditions (for example an RSI threshold above 100) and strategies with no way to close a position.

Inputs: spec (required).

compare_backtestsCompare results side by sideA
Read-only
Inspect

Put 2 to 6 saved runs (yours or public ones) side by side: return, buy & hold, drawdown, Sharpe, trades and win rate. Runs over different markets or periods are listed, but the answer says so, because their numbers are not comparable.

Inputs: runIds (required).

create_portfolioCreate a portfolioAInspect

Put several of your saved strategies together as a portfolio, each with a share of the capital, and see their combined result — equity, drawdown, Sharpe, each one's contribution, and how correlated they are. Combining saved backtests costs nothing. Pro.

Inputs: name (required), strategies (required).

delete_portfolioDelete a portfolioA
Destructive
Inspect

Delete a portfolio. Its strategies and their results are kept. confirm must be true: ask the user first.

Inputs: id (required), confirm (required).

delete_strategyDelete a strategyA
Destructive
Inspect

Delete one of your strategies. It disappears from your strategies, Browse and your profile, its forward test (if any) stops, and its results become private. This cannot be undone from here, so confirm must be true: ask the user first.

Inputs: id (required), confirm (required).

demote_strategyStop forward testingA
Destructive
Inspect

Stop forward testing and DISCARD the forward record. Promoting again starts from zero at the new date: a forward test cannot be paused and resumed, because that would let an unflattering period be edited out.

Inputs: id (required).

fork_strategyFork a public strategyAInspect

Copy someone else's public strategy into this account as a private strategy of its own, and run it once so it has a result (uses one backtest). Pro. Pass the id of one of its public runs, from search_strategies or a report link.

Inputs: runId (required).

get_equity_curveEquity curve for a runB
Read-only
Inspect

Account equity over time, downsampled to at most maxPoints samples. The default is deliberately small so the response fits comfortably in context.

Inputs: runId (required), maxPoints.

get_forward_resultBacktest versus forwardB
Read-only
Inspect

Compare a strategy's backtest against how it has actually performed since being promoted. This is the number that matters: backtests are fitted to the past, forward results are not.

Inputs: id (required).

get_portfolioA portfolio's resultA
Read-only
Inspect

Show a portfolio: its latest run — the combined equity numbers, trades, and each strategy's part — or, if it has never run, its strategies' own saved results combined. Free.

Inputs: id (required).

get_runOpen a saved resultA
Read-only
Inspect

The headline numbers of one saved run by id — yours, or anyone's public one — with a link to its full report. Use get_trades and get_equity_curve for the detail.

Inputs: runId (required).

get_strategyRead a strategyB
Read-only
Inspect

Fetch a strategy and its current spec by id.

Inputs: id (required).

get_strategy_spec_rulesHow to write a strategyA
Read-only
Inspect

REQUIRED reading before calling run_backtest or check_strategy for the first time. Returns the full strategy format: the JSON schema, every supported indicator with the range it can occupy, the condition operators, and worked examples.

Inputs: no named parameters.

get_tradesTrade list for a runB
Read-only
Inspect

Every trade from a saved run, in order.

Inputs: runId (required), limit, offset.

list_portfoliosYour portfoliosA
Read-only
Inspect

List your portfolios, with how many strategies each holds.

Inputs: no named parameters.

list_strategiesYour saved strategiesB
Read-only
Inspect

List strategies saved to this account.

Inputs: limit, offset.

list_symbolsSearch marketsA
Read-only
Inspect

Search every market with history in the archive, by ticker or by coin: USD-M perpetual futures (the default) or spot. Worth calling before writing a strategy: Binance futures prefix small-cap coins by lot size, so PEPE trades as 1000PEPEUSDT there (PEPEUSDT on spot), and guessing the ticker finds nothing. Spot also has coins with no futures market, pairs quoted in BTC, ETH, FDUSD and others, and history from 2017.

Inputs: limit, query, market.

optimize_portfolioOptimize a portfolioA
Destructive
Inspect

Search a portfolio's allocations — some may go to 0 — for the best score on the first 70% of its last run, then show how that did on the last 30% (which the search never saw) next to the current allocations and equal ones. The last 30% is the honest number; say so. Needs a run first (run_portfolio). Free: it re-weights the run's results. Nothing changes unless apply is true — ask the user before applying. Objectives: avg_month, green_months, min_drawdown, fast_recovery (these two never at a lower return than now), sharpe, return_over_dd.

Inputs: id (required), objective (required), cap, apply.

optimize_strategySweep parameters, honestlyAInspect

Search a strategy's declared params for the best combination, then report how much of that result is explained by the search itself. Searches on the first 60% of the window, chooses on the next 20%, and confirms on the last 20%, which it never looked at; rejects candidates that barely traded; and discounts the winning score by the number of attempts. Frequently concludes that the winner is not worth trading — that is the tool working, not failing. Uses 20 backtests from the quota, whatever its size.

Inputs: spec (required), minTrades, objective, pointsPerParam, +1 more.

promote_strategyStart forward testingCInspect

Begin evaluating a saved strategy on candles it has never seen. A backtest can be tuned until it looks good; the future cannot be tuned. The gap between the two is the honest measure of whether a strategy actually works.

Inputs: id (required).

propose_optimization_planPreview a parameter sweepA
Read-only
Inspect

Show what a sweep would search before spending anything on it: the values per param, the total combinations, and any range that had to be clamped because it reached outside what the param can actually affect. Costs nothing.

Inputs: spec (required), pointsPerParam, maxCombinations.

run_backtestRun a backtestAInspect

Run a strategy against real historical data and return its performance. Nothing is saved or published unless save is set — a backtest is a question, not a publication. Call get_strategy_spec_rules first if you have not already. If exactly this — same rules, settings and period, over months that have finished — was saved before (by this account, or publicly), that result comes back and no backtest is used.

Inputs: spec (required), save, params.

run_portfolioRun a portfolioAInspect

Run every strategy in a portfolio over the same dates and show the combined result. The money is split by the allocations; each strategy trades its slice with its own current rules, position size and leverage (a fixed amount per trade is kept in proportion to its slice); the strategies themselves are not changed. Uses one backtest per strategy (none for a result already made over finished months). Capital or dates given here are used for this run and not saved; the dates default to the first day all its markets have data, to the start of this month.

Inputs: id (required), end, start, capital.

search_strategiesBrowse public resultsB
Read-only
Inspect

Search public backtest results. Sorted by Sharpe ratio by default, not raw profit: ranking by return alone puts the most overfit result on top. Results with fewer than minTrades trades are excluded, because a handful of trades cannot distinguish skill from luck.

Inputs: name, sort, limit, market, +11 more.

update_portfolioChange a portfolioA
Destructive
Inspect

Rename a portfolio, or replace its strategies and their shares (give the whole list: it replaces the old one).

Inputs: id (required), name, strategies.

update_strategyRename a strategy, or make it public or privateAInspect

Rename one of your strategies, or change who can see it. Making it private takes it and every result it saved off Browse and your profile (Pro); making it public puts them back. To change its rules, run a backtest with the new spec and save.strategyId.

Inputs: id (required), name, visibility.

whoamiAccount and quotaA
Read-only
Inspect

Confirm the API key is valid and report the current plan and weekly backtest quota. Worth calling first in a conversation so later failures are not a surprise.

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
      C
      maintenance
      Provides tools to research crypto trading strategies via backtesting, walk-forward validation, and paper trading, with a deflated-Sharpe overfitting check. Enables natural-language-driven analysis and interpretation of strategy performance.
      2
      Apache 2.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
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to mine, validate, and paper-trade quantitative trading strategies via chat, with the engine running locally on the user's own machine.
      1
      -
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources