Work out the salary for a take-home figure
calculate_gross_salary_for_take_homeWork out the gross UK salary needed to take home a given amount a year after income tax, employee National Insurance, student loan and a pension percentage, for a tax year (net to gross).
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": {
"targetTakeHome": "<targetTakeHome>"
},
"name": "calculate_gross_salary_for_take_home"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taxYear | No | UK tax year, e.g. "2026-27". Defaults to the current one. | |
| pensionPercent | No | Employee pension as a percentage of gross, e.g. 5 | |
| targetTakeHome | Yes | Take-home pay wanted a year, in pounds | |
| studentLoanPlan | No | Student loan plans held: one plan or a list of every plan, e.g. ["plan2", "postgrad"]. plan1 (pre-2012), plan2 (2012 onwards), plan4 (Scotland), plan5 (2023 onwards), postgrad (postgraduate loan, repaid alongside any other plan). Omit or "none" for no loan. | |
| scottishTaxpayer | No | True for a Scottish taxpayer (Scottish bands) |