time-and-a-half-calculator
Compute the time-and-a-half overtime rate (hourly × 1.5) and gross pay for a week with regular and overtime hours. Follows the US FLSA convention: hours past 40 are paid at 1.5× the base rate.
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": {
"hourly_rate": "<hourly_rate>"
},
"name": "time-and-a-half-calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hourly_rate | Yes | Base hourly wage in dollars. The straight-time rate before any overtime premium. | |
| regular_hours | No | Straight-time hours worked in the week. Defaults to 40 — the FLSA threshold above which time-and-a-half kicks in. | |
| overtime_hours | No | Hours worked past the regular threshold. Defaults to 0. These are paid at 1.5× the hourly rate. |