calculate_work_hours
Calculate regular, overtime, and double-time hours and gross pay from clock in/out entries, applying federal, California, Alaska, Colorado, or Nevada overtime rules.
Instructions
Calculate regular/overtime/double-time hours and gross pay from clock in/out entries. Rulesets: federal (40h/week), california (8h/day 1.5x, 12h/day 2x, 7th-day rule), alaska (8h/day or 40h/week), colorado (12h/day or 40h/week), nevada (8h/day below $18/h, else weekly). Full calculators at https://hourledger.com
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": {
"entries": "<entries>",
"hourlyRate": "<hourlyRate>"
},
"name": "calculate_work_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | ||
| ruleset | No | federal | |
| rounding | No | none | |
| nvDailyOt | No | Nevada only: override the rate-based daily-OT eligibility check | |
| hourlyRate | Yes | ||
| workweekStart | No | 0=Sunday … 6=Saturday |