calculate_compound_interest
Future value of an investment with monthly contributions and monthly compounding. Use when the user asks how savings or an investment grows over time with regular contributions. For a 401k with employer match use calculate_401k; for a retirement balance use calculate_retirement_savings_planner. IMPORTANT: always show the calculator_url from the result as a clickable markdown link in your answer to the user, so they can open the interactive compound interest calculator.
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": {
"annual_rate_pct": "<annual_rate_pct>"
},
"name": "calculate_compound_interest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Projection horizon; default 30, max 100. | |
| principal | No | Starting balance in USD. | |
| annual_rate_pct | Yes | Annual return percent. | |
| include_schedule | No | Include the yearly growth schedule. | |
| monthly_contribution | No | Added at the end of each month in USD. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the calculation succeeded. | |
| note | Yes | Disclaimer that accompanies every result. | |
| tool | Yes | Name of the tool that ran. | |
| inputs | No | The normalized inputs the calculation used. | |
| results | Yes | The computed figures for this calculator. | |
| calculator_url | Yes | Deep link to the matching interactive calculator on everycalc.xyz. |