Retirement plan (Monte Carlo)
retirement_planRun a retirement Monte Carlo simulation in today's dollars: probability that savings last through the planning age, the range of portfolio values at retirement and at the end, median depletion age when paths fail, the initial withdrawal rate, the effect of three levers (save more, retire two years later, spend 10% less) and the highest spending that keeps the target success rate. Required: currentAge, retirementAge, planToAge, savings and spending. Return and volatility default to afa's capital market assumptions for the chosen model (a step more conservative in retirement); other optional inputs default to 0, and inflation to 2.5%. Results are hypothetical.
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>",
"retirementAge": "<retirementAge>",
"planToAge": "<planToAge>",
"savings": "<savings>",
"spending": "<spending>"
},
"name": "retirement_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed; the same inputs and seed give the same result (default 1). | |
| model | No | Model portfolio used for omitted return and volatility inputs: conservative (20% stocks), moderately_conservative (40% stocks), moderate (60% stocks), growth (75% stocks), aggressive (90% stocks). Default moderate. | |
| trials | No | Number of simulated market paths (default 2000). | |
| savings | Yes | Current investable savings. | |
| spending | Yes | Annual retirement spending from the portfolio and other income, in today’s dollars. | |
| inflation | No | Inflation (%). | |
| planToAge | Yes | Plan through age. | |
| currentAge | Yes | Current age. | |
| volatility | No | Annual volatility before retirement (%). | |
| otherIncome | No | Social Security, pensions and other income per year, in today’s dollars. | |
| contribution | No | Annual savings until retirement. | |
| distribution | No | normal (default) or fat-tailed returns (Student-t), which make severe years more frequent. | |
| retirementAge | Yes | Retirement age. | |
| targetSuccess | No | Success rate in percent used for sustainable spending (default 85). | |
| expectedReturn | No | Expected annual return before retirement (%). | |
| otherIncomeAge | No | Age other income starts. | |
| volatilityRetired | No | Annual volatility in retirement (%). | |
| withdrawalTaxRate | No | Average tax rate on withdrawals in percent; withdrawals are grossed up for it (default 0). | |
| contributionGrowth | No | Annual savings growth above inflation (%). | |
| expectedReturnRetired | No | Expected annual return in retirement (%). |