Monte Carlo backtest validation and prop-firm challenge pass-probability simulator for futures traders
Four well-defined tools with strong domain-specific descriptions (150 - 250 chars each) and complete Zod schemas. All parameters are typed and described. Tool names use verb_noun pattern (monte_carlo_validate, expected_value_calculator). Output is structured JSON with interpretation guidance. Key gaps: no error recovery guidance (e.g., 'if trades < 5, try...'), no pagination/limits on simulation counts (max 20k could timeout), and no explicit output schema documentation for LLM chaining. Risk hints present but not formal annotations.
Calculate per-trade expected value from win rate and average win/loss size. EV = winRate*avgWin - lossRate*avgLoss — the one number that actually answers "does this make money," since win rate and R:R each fail to answer it alone.
Validate a backtest via bootstrap resampling. Answers: is per-trade expected value statistically distinguishable from zero, and how lucky/unlucky was the observed trade ordering (drawdown percentile vs. reshuffled paths)?
Monte Carlo-simulate a prop firm evaluation challenge (convex payoff: fixed loss if you fail, real payout if you pass) to estimate pass probability from win rate, average win/loss, profit target, and max drawdown limit — the actual path-dependent question that win rate/EV alone cannot answer.
Compare multiple win-rate/avg-win/avg-loss geometries against the same prop firm challenge to see which risk shape passes most often — operationalizes the finding that tighter, higher-win-rate geometries tend to clear a fixed profit-target/drawdown-limit challenge more reliably than high-R:R/low-win-rate geometries, independent of raw edge quality.
Error responses lack recovery guidance. monte_carlo_validate returns bare JSON error for <5 trades; should suggest 'Collect more trades or use a smaller resampling window.' LLMs cannot self-correct without actionable next steps.
No tool annotations (readOnlyHint, idempotentHint). All four tools are read-only and idempotent, but this is not declared in the schema. Agents cannot infer safety properties and may over-retry or assume state changes.
Output schema not documented. Tools return structured JSON (observedPerTradeEV, ci90_perTradeEV, etc.) but no formal schema is provided. LLMs must infer field names and types, risking extraction errors and downstream tool chaining failures.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 67 | 2026-07-28+ | v2 |
Unbounded simulation counts (max 20k) lack timeout guidance. A request with simulations=20000 on a large trade array could hang. No mention of expected latency or timeout behavior in descriptions.
risk_geometry_comparator parameter 'geometries' is an array of objects with nested properties, but no example or validation guidance. LLMs may struggle to construct valid geometry objects without a concrete example or enum of common shapes.