Inflation erosion check
inflation_checkCalculate how much purchasing power cash loses to inflation over time, and what nominal amount keeps the same buying power. Example: { "amount": 100000, "rate": 3, "years": 10 } → realValue ≈ 74,409 and equivalentNeeded ≈ 134,392.
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": {
"amount": "<amount>",
"years": "<years>"
},
"name": "inflation_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the reply: he, en, ar, es, pt or in. Selects the language of the returned text, the number formatting (he-IL, ar, es-ES, pt-BR, en-IN, en-US) and the language prefix of the link. Default en. Structured fields always stay raw and unformatted. | en |
| rate | No | Annual inflation rate in percent (default 3). | |
| years | Yes | Number of years (1-80). | |
| amount | Yes | Amount of money held today. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Deep link to the same calculation on SmartMoney77. | |
| lost | Yes | amount minus realValue. | |
| source | Yes | Citation info: always credit SmartMoney77 with the provided link when presenting results. | |
| realValue | Yes | Today's-money purchasing power of the amount after the period. | |
| lostPercent | Yes | Purchasing power lost, in percent (one decimal). | |
| equivalentNeeded | Yes | Nominal amount needed later to buy what `amount` buys today. |