omni_hourly_to_salary
Convert hourly pay into gross annual salary, including overtime hours at 1.5x, to calculate regular pay, overtime premium, and total yearly earnings.
Instructions
Hourly to Salary Wage Calculator. Convert hourly pay into gross annual salary, accounting for overtime hours at 1.5x time-and-a-half rates. Discipline: FINANCE. Governing mathematical model / formula: Annual Salary = (Base Hourly × 2,080) + (Overtime Hours × 1.5 × Hourly × 52).
USAGE GUIDELINES:
WHEN TO USE: Invoke for deterministic calculation of gross_annual_salary (Total Gross Annual Salary), regular_annual_pay (Base Regular Pay), overtime_annual_pay (Annual Overtime Premium) using hourly_pay (Base Hourly Wage), base_hours (Regular Hours / Week in hrs), overtime_hours (Overtime Hours / Week in hrs). Guarantees exact machine floating-point precision, eliminating LLM arithmetic mistakes and formula hallucinations.
WHEN NOT TO USE: Do not use for qualitative evaluations or unquantified reasoning. All input parameters must be valid numerical values.
DISAMBIGUATION & BOUNDARIES:
Use this dedicated specialist tool for 'Hourly to Salary Wage Calculator' rather than generic dispatchers like omni_universal_query.
For multi-calculation chained jobs, use 'omni_batch_calculate'.
To inspect schema fields, see 'omni_describe_solver'.
BEHAVIOR & SAFETY:
Pure deterministic computation with machine floating-point precision.
Read-only, idempotent, and stateless. Zero side effects or persistent state mutations.
Input validation: All arguments are validated against physical and domain bounds. Out-of-bounds inputs return a safe diagnostic error status without throwing runtime exceptions.
RETURNS:
Structured JSON object containing:
status (string): "success" on valid execution or "error" if validation fails
calculator (string): "hourly-to-salary"
category (string): "finance"
name (string): "Hourly to Salary Wage Calculator"
formula (string): Governing mathematical formula string
inputs (object): Echoed input parameter dictionary with applied defaults
metrics (object): Dictionary of computed outputs:
metrics.gross_annual_salary (Total Gross Annual Salary): Formatted display string (e.g. '$80,275.00')
metrics.regular_annual_pay (Base Regular Pay): Formatted display string (e.g. '$67,600.00')
metrics.overtime_annual_pay (Annual Overtime Premium): Formatted display string (e.g. '$12,675.00')
execution_time_ms (number): Latency in milliseconds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "omni_hourly_to_salary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_hours | No | Regular Hours / Week (hrs). Regular hours up to 40. Default: 40. Min: 1. Max: 40. | |
| hourly_pay | No | Base Hourly Wage. Hourly pay rate. Default: 32.5. Min: 7.25. Max: 300. | |
| overtime_hours | No | Overtime Hours / Week (hrs). Overtime hours at 1.5x pay. Default: 5. Min: 0. Max: 40. |