Check subcontractor payments against the workers-comp clearance date (Canada)
subcontractor_workers_compSubcontractor workers-comp clearance lapse check for general contractors and their agents (Canada: ON, BC, AB, SK, MB). Send the province and, per subcontractor payment, the date the subcontractor's clearance ran to (certificate_expiry) and the date the payment was released (payment_release), both YYYY-MM-DD. Get back per payment the days between the two (days_after_expiry: 0 or less means the payment was on or before the date; more than 0 means it went out that many days after), a summary of the batch, the province's official clearance page with a sentence quoted from it and the date we read it, and a signed record. Set check_source true to read that official page now and learn whether the quoted sentence is still on it. Answer fields: verdict, summary, payments (in your order), source, does_not, rule, observation, signature. Errors: ok false with a code (400 bad input, 413 too large, 429 hourly limit). Free. No model, nothing you send is stored, signed record. Up to 100 payments per call. Labels are your own text: emails, web addresses and long digit runs are refused; do not send names or account numbers. It does not check any certificate, does not say whether a payment was allowed or who is liable, and is not legal advice: the provincial board and your lawyer decide.
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": {
"province": "<province>",
"payments": "<payments>"
},
"name": "subcontractor_workers_comp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payments | Yes | ||
| province | Yes | Province code: ON, BC, AB, SK or MB (the English province name is accepted too). | |
| check_source | No | true: read the province's official page now and say whether the quoted sentence is still on it (default false). |