{"serverId":"mcp-registry/io.github.midasflowai-lab/midasflow-mcp-quickstart","tools":[{"name":"backtest","fixed":{"name":"backtest","description":"LAB / RESEARCH tool — replay an arbitrary {symbol, entry, tp, sl} setup over MidasFlow's 1m candle history and get its historical P(TP1-before-SL) + EV, in the canonical first-touch TP1 frame (same frame as get_accuracy). Historical market DATA, NOT a prediction or advice. Low-sample setups return a directional band (normal, not an error). NOTE: live results are gated behind ff:backtest_live — until that flips, EVERY tier gets a coming-soon envelope (no live numbers). Routes: POST /v1/backtest.","inputSchema":{"type":"object","title":"backtestArguments","required":["symbol","entry","tp","sl"],"properties":{"sl":{"type":"number","title":"Sl","description":"Stop-loss price. Direction (long/short) is inferred from tp/sl vs entry."},"tp":{"title":"Tp","description":"Take-profit price, or an ordered list of prices (nearest = TP1 banked first).","type":"string"},"entry":{"type":"number","title":"Entry","description":"Entry price; defines the TP/SL offsets replayed over historical anchors."},"symbol":{"type":"string","title":"Symbol","description":"Perp symbol, e.g. 'BTCUSDT' (case/space-insensitive)."},"max_hold_min":{"type":"integer","title":"Max Hold Min","default":240,"description":"Forward first-touch window per anchor in minutes (clamped 15-1440). Default 240. Timeout anchors are excluded from p, not losses."},"lookback_days":{"type":"integer","title":"Lookback Days","default":30,"description":"Historical window to sample anchors from, in days (clamped 7-90). Default 30."}}},"annotations":{"readOnlyHint":true,"openWorldHint":true,"idempotentHint":true,"destructiveHint":false},"title":"[LAB] Backtest a setup (historical P(TP1 before SL) + EV)"},"changes":[{"kind":"schema","detail":"Added \"type\":\"string\" to untyped parameters: tp. Change to number/boolean/array where that's what you accept.","verify":true}],"tokensBefore":422,"tokensAfter":426}],"toolsChanged":1,"tokensSaved":0,"todo":[],"note":"Deterministic fixes. Changes marked verify need a human look before shipping (renames, inferred annotations, inferred types, removed text). Parameter descriptions in `todo` need to be written by someone who knows the API."}