Skip to main content
Glama

Audit Single Hourly Rate or Exempt Salary Against Statutory Floor

audit_minimum_wage_floor
Read-onlyIdempotent

Self-contained rate-card check: resolves the controlling jurisdiction internally (no prior resolve_jurisdiction call needed) and compares optional proposed hourly wage and/or annual exempt salary against effective_date floors (incl. AB 1228 / SB 525), returning exact USD shortfalls (or null for omitted rates). USE THIS TOOL WHEN auditing job offers or pay bands without shifts; DO NOT use for multi-shift payroll (evaluate_timesheet). Read-only, stateless, zero-PII; returns isError=true on invalid inputs or PII.

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": {
      "effective_date": "<effective_date>",
      "employer_headcount": "<employer_headcount>"
    },
    "name": "audit_minimum_wage_floor"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoWGS84 decimal-degree latitude as a base-10 string in [-90, 90] (binary floats rejected). Required together with lon when address is omitted.
lonNoWGS84 decimal-degree longitude as a base-10 string in [-180, 180] (binary floats rejected). Required together with lat when address is omitted.
addressNoCommercial worksite street address as a US postal string (5-256 chars, e.g., '200 N Spring St, Los Angeles, CA 90012'). Required if lat and lon are omitted; jurisdiction resolution runs automatically inside this tool.
industry_codeNoEnumerated sector override ('general', 'fast_food_chain_60plus', 'healthcare_sb525', 'hospitality', 'agriculture'; defaults to 'general'). Applies CA AB 1228 ($20/hr, $83,200 exempt) and SB 525 ($25/hr) floors automatically.general
effective_dateYesISO-8601 calendar date (YYYY-MM-DD) evaluated against 2025-2027 half-open statutory rate intervals to select the controlling hourly and exempt-salary floors.
employer_headcountYesPositive integer (>= 1) representing total company-wide employees. Controls headcount-tiered floors such as Saint Paul MN (<=5 micro, 6-100 small, 101+ large).
proposed_hourly_rate_usdNoOptional hourly wage in USD/hr as a strictly positive base-10 string without '$' (e.g., '18.00'). When omitted (null), hourly_status and hourly_gap_usd return null while controlling_min_wage_usd is still returned.
proposed_annual_salary_usdNoOptional annual white-collar exempt salary in USD/year as a strictly positive base-10 string without '$' (e.g., '75000.00'). When omitted (null), exempt_salary_status and exempt_salary_gap_usd return null.

Output Schema

NameRequiredDescriptionDefault
disclaimerNoMandatory non-legal-advice UPL disclaimer.Deterministic statutory calculation for audit assistance only; not legal advice.
state_codeYesTwo-letter U.S. state code (or 'US' for Federal FLSA baseline).
hourly_statusNoCOMPLIANT or NON_COMPLIANT when proposed_hourly_rate_usd was provided.
hourly_gap_usdNoHourly shortfall below controlling_min_wage_usd (0.00 when compliant).
resolved_entityYesControlling municipal, state, or federal statutory jurisdiction.
ruleset_versionYesControlling jurisdiction ruleset version identifier.
exempt_salary_statusNoCOMPLIANT or NON_COMPLIANT when proposed_annual_salary_usd was provided.
upcoming_rate_changeNoNext scheduled minimum-wage or exempt-salary increase, if applicable.
exempt_salary_gap_usdNoAnnual exempt-salary shortfall (0.00 when compliant).
exempt_salary_floor_usdYesControlling statutory annual exempt-salary floor on effective_date.
controlling_min_wage_usdYesControlling statutory hourly minimum-wage floor on effective_date.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.8/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, and the description adds genuinely new context on top: statelessness, zero-PII handling, and that invalid inputs or PII produce isError=true. It also discloses the null-return contract for omitted rate parameters, which annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scoping statement, usage directive, and behavioral guarantees are front-loaded in a compact block with no filler sentences. It is dense and uses some statutory jargon, but every clause carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be enumerated, and the description still covers the relevant behavioral surface: internal jurisdiction resolution, null handling for omitted rates, and error signaling. For an 8-parameter read-only check with full schema coverage, an agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema coverage the baseline is 3, and the description earns an upgrade by explaining that effective_date is evaluated against 2025-2027 half-open statutory rate intervals, that industry_code applies CA AB 1228 and SB 525 floors, and that headcount drives tiered floors such as Saint Paul MN. Some parameters (lat/lon/address) are only referenced indirectly via the internal jurisdiction resolution.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it compares an optional proposed hourly wage and/or annual exempt salary against effective-date statutory floors for a single rate card. It also distinguishes itself from siblings by name, noting it needs no prior `resolve_jurisdiction` call and is not for multi-shift payroll like `evaluate_timesheet`.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the positive case ('USE THIS TOOL WHEN auditing job offers or pay bands without shifts') and the exclusion ('DO NOT use for multi-shift payroll (`evaluate_timesheet`)'). It further removes a common prerequisite by stating jurisdiction resolution happens internally, so the agent knows it doesn't need to call `resolve_jurisdiction` first.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources