calculate_salary
Convert between hourly, daily, weekly, biweekly, monthly, and annual pay. Use when the user converts pay between hourly, weekly and annual figures. For take-home pay after taxes use calculate_paycheck or calculate_income_tax_estimator. 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 salary calculator.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "calculate_salary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Whether the input is an hourly rate or an annual salary; default hourly. | |
| annual | No | Annual salary in USD (annual mode). | |
| hourly | No | Hourly rate in USD (hourly mode). | |
| hours_per_week | No | Hours worked per week; default 40. |
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. |