Money maths
money_mathsWorks out compound growth, what a fee costs over the years, what inflation does to cash, or how holding more things changes how much a mix swings, from numbers the person gives. Use it to show how money grows or shrinks over time with their own example. Pure arithmetic, drawn as a chart they can change in Claude; the rate is their assumption, never a forecast or a suggestion.
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": {
"calculation": "<calculation>"
},
"name": "money_maths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| years | No | Number of years, 1 to 60. | |
| amount | No | Starting amount (compound_growth, fees, inflation). | |
| fee_pct | No | Yearly fee in percent of the balance (fees). | |
| monthly | No | Optional amount added each month (compound_growth, fees). | |
| holdings | No | Show up to this many holdings, 2 to 100 (diversification; default 20). | |
| rate_pct | No | Yearly return the person wants to assume, in percent (compound_growth, fees). | |
| calculation | Yes | Which calculation. | |
| correlation | No | How closely holdings move together, -1 to 1 (diversification). | |
| inflation_pct | No | Yearly inflation to assume, in percent (inflation). | |
| volatility_pct | No | How much one holding swings in a year, in percent (diversification). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| inputs | No | ||
| notice | Yes | ||
| series | Yes | ||
| xLabel | No | ||
| yLabel | No | ||
| calculation | Yes |