Compare Estonian salary scenarios side by side
compare_salary_scenariosCompare 2 to 6 Estonian salary scenarios in one call and get a compact table of gross, net, employer cost and the difference against the first scenario. Each scenario takes the same arguments as calculate_salary (amount, amount_type, year, pillar2, tax_free, tax_free_amount, pensioner, state_pension, pillar3, withheld, hours) plus an optional label; defaults holds the arguments every scenario shares. Use it for 'what if' questions: this year vs next year, II pillar 2% vs 6%, a raise from 2000 to 2300, net-to-gross for two offers. Every row is exactly what calculate_salary returns for those arguments.
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": {
"scenarios": "<scenarios>"
},
"name": "compare_salary_scenarios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| defaults | No | Arguments shared by every scenario, e.g. {"amount": 2000}. A scenario's own value wins. | |
| language | No | Language of the readable breakdown. Pass the user's language: "et" for Estonian, otherwise "en". | en |
| scenarios | Yes | 2–6 scenarios. Each is a calculate_salary argument object; fields left out come from `defaults`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| count | Yes | ||
| calculator_url | Yes | ||
| confidence_note | No |