Statutory leave tracker
calculateRun the Statutory leave tracker calculator: Statutory leave for the leave year; Leave accrued in hours, at 12.07% of hours worked; Of that, filled by bank holidays your employer counts; Days left for the worker to choose. Missing inputs fall back to their documented defaults.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How are the hours arranged? | regular |
| taken | No | Days of leave already taken | |
| booked | No | Days booked but not yet taken | |
| averageDay | No | Length of a normal working day, in hours | |
| daysPerWeek | No | Days worked in a normal week | |
| hoursWorked | No | Hours actually worked so far this leave year | |
| bankHolidaysCounted | No | Bank holidays your employer counts inside the 5.6 weeks |