Monte Carlo Retirement
monte_carlo_retirementStress-test the retirement plan across thousands of randomized market paths. Returns success rate WITH a 95% confidence interval, ending-balance percentiles, worst drawdown, and CVaR (average ending balance of the worst 5% of paths). Use when the user asks 'what are the odds', 'what's my success rate', 'what if markets crash', or wants a probability-based retirement analysis. For crash / bad-timing / sequence-of-returns questions set returnModel='block_bootstrap' (resamples real market history — fat tails + bad-streak clustering — more realistic than the default normal model). Quote the success rate with its CI, and cite CVaR for 'how bad could it get'.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"currentAge": "<currentAge>",
"currentBalance": "<currentBalance>",
"targetRetireAge": "<targetRetireAge>",
"targetAnnualSpend": "<targetAnnualSpend>"
},
"name": "monte_carlo_retirement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endAge | No | ||
| stdDevPct | No | ||
| currentAge | Yes | ||
| iterations | No | 100-5000. | |
| ssStartAge | No | ||
| returnModel | No | Return model. Default 'normal'. Use 'block_bootstrap' for crash/sequence-of-returns questions; 'student_t' for parametric fat tails. | |
| inflationPct | No | ||
| annualSavings | No | ||
| meanReturnPct | No | ||
| ssMonthlyAt67 | No | ||
| currentBalance | Yes | ||
| targetRetireAge | Yes | ||
| targetAnnualSpend | Yes |