calculate_payroll
Calculates payroll for a single employee, including taxes, SSI, and employer cost, with support for gross/net wages, extra payments, and multi-month projections.
Instructions
Calculate payroll for a single employee including taxes, SSI, and employer cost
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": {
"name": "<name>",
"wage": "<wage>",
"calculationType": "<calculationType>",
"year": "<year>",
"month": "<month>"
},
"name": "calculate_payroll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Employee name | |
| wage | Yes | Wage amount | |
| year | Yes | Calculation year (e.g., 2025) | |
| month | Yes | Starting month (1-12) | |
| ssiType | No | SSI type (default: S4A for general employees) | |
| periodCount | No | Number of months to calculate (default: 1) | |
| customParams | No | Custom global parameters to override defaults | |
| extraPayments | No | Extra payments like bonuses | |
| calculationType | Yes | Whether the wage is gross or net | |
| transferredSSIBase1 | No | Starting transferred SSI base 1 | |
| transferredSSIBase2 | No | Starting transferred SSI base 2 | |
| cumulativeIncomeTaxBase | No | Starting cumulative income tax base to carry from previous months | |
| cumulativeMinWageIncomeTaxBase | No | Starting cumulative minimum wage income tax base |