calculate_raise_vs_inflation
Whether a raise beats inflation: nominal new salary, inflation adjusted real salary, the real percent change, and a real raise, real pay cut, or flat verdict. Use when the user asks whether a raise actually beats inflation in real terms. 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 raise vs inflation 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": {
"current_salary": "<current_salary>",
"raise_pct": "<raise_pct>",
"inflation_pct": "<inflation_pct>"
},
"name": "calculate_raise_vs_inflation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raise_pct | Yes | Raise percent. | |
| inflation_pct | Yes | Inflation percent over the same period. | |
| current_salary | Yes | Current salary 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. |