Check pay stub math
check_pay_stub_mathChecks the figures on a pay stub for internal inconsistencies: gross minus deductions vs net, hours × rate, Social Security and Medicare rates, pay period length, pay date, year-to-date totals, and suspiciously round numbers. Read the numbers off the stub and pass them in. Flags items for follow-up; it does not authenticate a document or prove fraud.
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": {
"gross_pay": "<gross_pay>",
"net_pay": "<net_pay>",
"deductions": "<deductions>"
},
"name": "check_pay_stub_math"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | ||
| net_pay | Yes | ||
| pay_date | No | YYYY-MM-DD | |
| gross_pay | Yes | ||
| ytd_gross | No | ||
| deductions | Yes | Every deduction line, e.g. Federal, Social Security, Medicare, State, 401k | |
| hourly_rate | No | ||
| pay_frequency | No | ||
| pay_period_end | No | YYYY-MM-DD | |
| prior_ytd_gross | No | YTD gross from the previous stub, if available | |
| pay_period_start | No | YYYY-MM-DD |