Annual leave accrued, balance and encashment
annual_leave_entitlementAccrued annual leave at a date (UAE Art. 29: 30 days/year, 2 days/month between 6 and 12 months; Saudi Art. 109: 21 days, 30 after 5 years), balance after days taken, and encashment value at the legal basis wage. Example: country 'AE', start_date '2024-01-15', as_of_date '2026-10-31', taken_days 20, basic_monthly_wage 6000. Response: result with legal_basis (article) and explanation[] steps, data_confidence (high = official text; medium = translation or recent amendment via secondary source), estimated_items[], sources[] (law URLs), data_version, warnings[] and a not-legal-advice disclaimer.
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>",
"start_date": "<start_date>",
"as_of_date": "<as_of_date>"
},
"name": "annual_leave_entitlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | Yes | country: 'AE' (UAE private sector, Decree-Law 33/2021) or 'SA' (Saudi Labor Law M/51 incl. 2025 amendments). | |
| as_of_date | Yes | Date to compute the accrual at (e.g. today or the last working day). | |
| start_date | Yes | First day of service. | |
| taken_days | No | Annual-leave days already taken/paid in the period. | |
| basic_monthly_wage | No | For encashment value (UAE uses basic). | |
| total_monthly_wage | No | For encashment value where total wage applies (SA). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||