Take-home pay (PAYE)
get_take_home_payUse for any salary question: net (take-home) pay after income tax (PAYE) and payroll deductions (pension, social security, health, housing levies) for a gross salary in one African country. Picks the country's main PAYE calculator for you, so you only need the country and the amount. Returns tax, each deduction, net pay, effective and marginal rates, monthly and yearly figures, and a one-sentence summary. For the underlying tax bands use get_calculator_rules; for other calculators (loans, savings) use run_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": {
"country": "<country>",
"gross": "<gross>"
},
"name": "get_take_home_pay"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gross | Yes | Gross salary in local currency (150000, 150k, 1.2m). | |
| period | No | Whether gross is monthly or yearly. Defaults to the country's PAYE period (yearly for Nigeria, South Africa; monthly elsewhere). | |
| country | Yes | Country name or ISO code, e.g. "Kenya", "ke", "South Africa", "ng". |