Wage Calc
wage_calcGross pay in exact cents. Hourly: regular hours at the rate, overtime hours at a multiplier (default 1.5) and double-time hours at a multiplier (default 2). Weekly: hours above the threshold (default 40) are overtime. Salary: the annual amount is split across 52, 26, 24 or 12 periods so the paychecks add back to the annual amount. Extra straight-time hours are paid at annual / 2080 (52 × 40). Overtime and double-time hours use that same base rate times their multipliers. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/wage-calc
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": {
"rate": "<rate>"
},
"name": "wage_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hourly | |
| rate | Yes | Hourly rate, or the annual salary in salary mode | |
| hours | No | Hours worked (weekly mode, or extra hours on top of a salary) | |
| dtHours | No | ||
| otHours | No | ||
| periods | No | Salary: paychecks per year | |
| dtMultiplier | No | Default 2 | |
| otMultiplier | No | Default 1.5 | |
| regularHours | No | ||
| weeklyThreshold | No | Weekly mode: hours before overtime, default 40 |