Check UK working-time limits
global-employment_uk-working-time-checkCheck caller-supplied shifts against UK 48-hour average, under-18 limits, 20-minute breaks, daily rest, and weekly or fortnightly rest rules. Price $0.04 USDC. POST /api/v1/global-employment/uk-working-time-check. An unpaid call returns the x402 payment terms and does not run.
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": {
"shifts": "<shifts>"
},
"name": "global-employment_uk-working-time-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shifts | Yes | shifts, array. Required. | |
| under18 | No | under18, boolean. Required. | |
| optedOut | No | optedOut, boolean. Required. | |
| referenceWeeks | No | referenceWeeks, integer, from 1 to 52. Required. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ok. Boolean. | |
| sources | No | sources. Array. | |
| violations | No | violations. Array. | |
| limitations | No | limitations. Array. | |
| averageWeeklyHours | No | averageWeeklyHours. Number. |