Skip to main content
Glama

Resolve Worksite Statutory Jurisdiction

resolve_jurisdiction
Read-onlyIdempotent

Return full US statutory wage-and-hour rules (minimum wage, exempt salary floor, daily/weekly OT triggers, meal/rest break rules, 2027 transitions, and agency URLs) for one worksite address or lat/lon on effective_date. USE THIS TOOL WHEN you need rule metadata without shift punches; DO NOT use for shift pay (evaluate_timesheet), rate-card checks (audit_minimum_wage_floor), or catalog browsing (list_supported_jurisdictions). 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": "resolve_jurisdiction"
  }
}

Input Schema

NameRequiredDescriptionDefault
latNoWGS84 decimal-degree latitude as a base-10 string in [-90, 90] (e.g., '34.0537'). Required together with lon when address is omitted; rejected if supplied alone.
lonNoWGS84 decimal-degree longitude as a base-10 string in [-180, 180] ('-118.2427'). Required together with lat when address is omitted; rejected if supplied alone.
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; must never contain employee names, SSNs, or email addresses.
industry_codeNoEnumerated sector override ('general', 'fast_food_chain_60plus', 'healthcare_sb525', 'hospitality', 'agriculture'). Defaults to 'general'. Triggers CA AB 1228 ($20/hr), SB 525 ($25/hr), NY Part 146 zero-offset spread pay, or agricultural UPL review.general
effective_dateYesISO-8601 calendar date (YYYY-MM-DD) evaluated against half-open [start, end) statutory intervals (2025-2027 verified). Determines active minimum wage, exempt salary floor, and whether an upcoming scheduled transition is returned.
employer_headcountYesPositive integer (>= 1) representing total company-wide employees. Drives tiered local schedules such as Saint Paul MN (<=5 micro, 6-100 small, 101+ macro/large).

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).
fips_place_codeYes7-digit Census FIPS place or state baseline code.
resolved_entityYesOfficial name of the controlling statutory jurisdiction.
ruleset_versionYesDeterministic ruleset version identifier applied to this lookup.
meal_break_rulesYesPlain-English statutory meal-break rules with legal citations.
rest_break_rulesYesPlain-English statutory rest-break rules with legal citations.
official_source_urlsYesPrimary government labor-agency reference URLs.
upcoming_rate_changeNoNext scheduled rate adjustment or CPI review notice, if applicable.
daily_dt_trigger_hoursNoDaily 2.0x double-time threshold in hours (e.g., 12.0 in CA; null elsewhere).
daily_ot_trigger_hoursNoDaily 1.5x overtime threshold in hours (e.g., 8.0 in CA; null under FLSA/MN).
exempt_salary_floor_usdYesControlling annual white-collar exempt salary threshold in USD.
weekly_ot_trigger_hoursYesWeekly 1.5x overtime threshold in hours (40.0 under FLSA/CA/MN/NY).
controlling_min_wage_usdYesControlling minimum-wage floor on effective_date in exact USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered structurally. The description adds information beyond that: it is stateless, zero-PII, and signals failure via isError=true on invalid inputs or PII. That is real added context, though it does not describe latency or how partial coverage (e.g., unmapped localities) is represented.

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

Conciseness5/5

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

Four front-loaded segments — capability, when-to-use, when-not-to-use, behavioral guarantees — with no filler. The long parenthetical is a field inventory rather than padding, and each sentence changes what the agent would do.

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?

For a six-parameter read tool with a full output schema and rich annotations, the description covers what the agent actually needs: what is returned, when to pick it over siblings, input constraints, and error signaling. Return-value details are appropriately delegated to the output schema rather than duplicated.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents lat/lon mutual exclusivity, address format, effective_date semantics, and the headcount tiers — the description only echoes the address-or-lat/lon and effective_date framing. It never mentions industry_code's statutory overrides ($20/hr AB 1228, $25/hr SB 525) or employer_headcount, both of which carry meaningful business logic downstream. Baseline 3 applies when the schema does the heavy lifting.

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?

Opens with a specific verb+resource ('Return full US statutory wage-and-hour rules') and enumerates exactly what comes back — minimum wage, exempt salary floor, OT triggers, break rules, 2027 transitions, agency URLs — scoped to 'one worksite address or lat/lon on effective_date'. The DO NOT clause names three siblings, so an agent can separate this tool from evaluate_timesheet, audit_minimum_wage_floor, and list_supported_jurisdictions without opening any schema.

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?

Provides an explicit USE THIS TOOL WHEN condition ('you need rule metadata without shift punches') and an explicit exclusion list mapping each alternative to its own use case (shift pay, rate-card checks, catalog browsing). This is the when/when-not/alternatives pattern at full strength.

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