{
  "name": "StatePayRules Compliance & Overtime Engine",
  "description": "Programmatic Model Context Protocol (MCP) tool manifest for calculating US wage compliance, FLSA 40-hour weekly overtime, daily overtime, tip credits, and meal break penalties.",
  "version": "1.0.0",
  "homepage": "https://statepayrules.com",
  "tools": [
    {
      "name": "calculate_wage_overtime",
      "description": "Calculates regular pay, 1.5x overtime, 2.0x daily double time, tip credits, and meal break penalty pay for any US state.",
      "parameters": {
        "type": "object",
        "properties": {
          "state_code": {
            "type": "string",
            "description": "Two-letter state postal code (e.g. CA, TX, NY, FL, NV)."
          },
          "hourly_rate": {
            "type": "number",
            "description": "Regular hourly base pay rate in USD."
          },
          "weekly_hours": {
            "type": "number",
            "description": "Total hours worked during the 7-day workweek."
          },
          "daily_hours": {
            "type": "number",
            "description": "Average or max hours worked in a single workday."
          },
          "is_tipped": {
            "type": "boolean",
            "description": "Whether the employee is in a tipped position."
          },
          "missed_break": {
            "type": "boolean",
            "description": "Whether a mandatory 30-minute meal break was missed or interrupted."
          }
        },
        "required": ["state_code", "hourly_rate", "weekly_hours"]
      },
      "endpoint": "https://statepayrules.com/api/v1/states/{state_code}.json"
    },
    {
      "name": "get_state_labor_statutes",
      "description": "Retrieves 2026 statutory minimum wage, daily overtime thresholds, tip credit caps, and statute citations for a given state.",
      "parameters": {
        "type": "object",
        "properties": {
          "state_slug": {
            "type": "string",
            "description": "State URL slug (e.g. california, texas, new-york)."
          }
        },
        "required": ["state_slug"]
      },
      "endpoint": "https://statepayrules.com/api/v1/states/{state_slug}.json"
    }
  ]
}
