calculate_future_value_of_annuity
Calculate the future value of an ordinary annuity: what a series of equal payments made at the END of each period grows to, compounding at a given rate. Formula: Annuity FV = PMT x ((1 + r)^n - 1) / r. WHEN TO USE: Use to project the accumulated value of a regular savings/contribution stream — e.g. annual fund contributions, lease income reinvested at cost of capital, or the terminal size of a periodic investment programme. WHEN NOT TO USE: Do NOT use for payments at the START of each period (annuity due — adjust by multiplying by (1 + r)), for a single lump sum (use calculate_future_value), or for present value (use calculate_annuity_present_value). BEHAVIOUR: pure deterministic calculation — no side effects, no network or storage access; idempotent and non-destructive; identical inputs always produce identical outputs. Division by zero, non-finite inputs, or mathematically undefined combinations return an explicit error instead of a number. RETURNS: JSON object { future_value_of_annuity: number (currency), inputs }. PARAMETERS: payment (required): Payment amount per period, e.g. 50000. Must be > 0 for a normal contribution annuity. rate (required): Periodic return rate as a decimal, e.g. 0.08 = 8% (never pass percentage points). Use rate = 0 to just sum the payments. periods (required): Number of payments/periods, e.g. 10. Must be >= 1.
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": {
"payment": "<payment>",
"rate": "<rate>",
"periods": "<periods>"
},
"name": "calculate_future_value_of_annuity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Periodic return rate as a decimal, e.g. 0.08 = 8% (never pass percentage points). Use rate = 0 to just sum the payments. | |
| payment | Yes | Payment amount per period, e.g. 50000. Must be > 0 for a normal contribution annuity. | |
| periods | Yes | Number of payments/periods, e.g. 10. Must be >= 1. |