{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "app.tabletemplates.com",
    "site": "tabletemplates.com",
    "addresses": [
      {
        "address": "216.150.16.129",
        "endpoints": 471,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      },
      {
        "address": "216.150.16.1",
        "endpoints": 600,
        "shared_infrastructure": true,
        "network": {
          "asn": 16509,
          "name": "AMAZON-02 - Amazon.com, Inc.",
          "prefix": "216.150.16.0/24",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "216.150.16.129",
          "216.150.16.1"
        ],
        "first_seen": "2026-11-23T21:21:02.073Z",
        "last_seen": "2026-11-23T21:21:02.073Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.16.193",
          "216.150.1.65"
        ],
        "first_seen": "2026-11-22T21:20:03.911Z",
        "last_seen": "2026-11-22T21:20:03.911Z",
        "checks": 1
      },
      {
        "addresses": [
          "216.150.1.1",
          "216.150.16.193"
        ],
        "first_seen": "2026-11-21T17:24:01.281Z",
        "last_seen": "2026-11-21T17:24:01.281Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Vercel",
        "evidence": "Server header \"Vercel\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "leavesheet-certified-payroll",
      "version": "0.2.0",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "Vercel",
      "strict-transport-security": "max-age=63072000"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1025,
      "sample": [
        {
          "id": "38",
          "url": "https://www.hood.ag/api/mcp",
          "server_name": "ag.hood/name-service",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:33:00.789Z"
        },
        {
          "id": "39",
          "url": "https://www.almostimpossible.agency/mcp",
          "server_name": "agency.almostimpossible/site",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:33:00.789Z"
        },
        {
          "id": "144",
          "url": "https://mcp.agentgates.ai/compute",
          "server_name": "ai.agentgates/compute",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:34:01.701Z"
        },
        {
          "id": "182",
          "url": "https://www.ai-portal.ai/mcp",
          "server_name": "ai.ai-portal/ai-portal",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:35:03.203Z"
        },
        {
          "id": "413",
          "url": "https://booqer.ai/mcp",
          "server_name": "ai.booqer/booqer",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:41:01.200Z"
        },
        {
          "id": "461",
          "url": "https://callmcp.ai/mcp",
          "server_name": "ai.callmcp/server",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.318Z"
        },
        {
          "id": "465",
          "url": "https://www.canaryusers.ai/api/mcp",
          "server_name": "ai.canaryusers/canaryusers",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:42:02.398Z"
        },
        {
          "id": "523",
          "url": "https://agentmart.ciphyr.ai/mcp",
          "server_name": "ai.ciphyr.agentmart/agentmart",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:02.614Z"
        },
        {
          "id": "524",
          "url": "https://agentmart.ciphyr.ai/mcp/core",
          "server_name": "ai.ciphyr.agentmart/core",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:45:02.872Z"
        },
        {
          "id": "540",
          "url": "https://www.clearthesis.ai/mcp",
          "server_name": "ai.clearthesis/clearthesis",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:43:03.469Z"
        },
        {
          "id": "670",
          "url": "https://www.decisionlog.ai/api/mcp",
          "server_name": "ai.decisionlog/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:46:01.434Z"
        },
        {
          "id": "787",
          "url": "https://mcp.tenda.eshmere.ai/mcp",
          "server_name": "ai.eshmere/tenda",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:50:03.224Z"
        },
        {
          "id": "1083",
          "url": "https://govrelations.ai/mcp",
          "server_name": "ai.govrelations/govrelations",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:54:01.421Z"
        },
        {
          "id": "1105",
          "url": "https://guestlogic.ai/mcp",
          "server_name": "ai.guestlogic/guest-logic",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T04:56:00.944Z"
        },
        {
          "id": "1300",
          "url": "https://kifly.ai/api/mcp",
          "server_name": "ai.kifly/mcp",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:00:09.397Z"
        },
        {
          "id": "1353",
          "url": "https://kwekuanansi.ai/mcp/africa-contacts",
          "server_name": "ai.kwekuanansi/africa-contacts",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:01:00.822Z"
        },
        {
          "id": "1354",
          "url": "https://kwekuanansi.ai/mcp/africa-pay",
          "server_name": "ai.kwekuanansi/africa-pay",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:02:02.224Z"
        },
        {
          "id": "1355",
          "url": "https://kwekuanansi.ai/mcp/africa-scam-check",
          "server_name": "ai.kwekuanansi/africa-scam-check",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:03:01.033Z"
        },
        {
          "id": "1356",
          "url": "https://kwekuanansi.ai/mcp/akan-proverbs",
          "server_name": "ai.kwekuanansi/akan-proverbs",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T05:05:01.848Z"
        },
        {
          "id": "1357",
          "url": "https://kwekuanansi.ai/mcp/day-names",
          "server_name": "ai.kwekuanansi/day-names",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T06:44:00.889Z"
        }
      ]
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.github.tresor4k",
      "total": 9,
      "sample": [
        {
          "name": "io.github.tresor4k/calcuris-mcp",
          "title": "Calcuris"
        },
        {
          "name": "io.github.tresor4k/creavores-aeo-mcp",
          "title": "Créavores AEO Audit"
        },
        {
          "name": "io.github.tresor4k/leavesheet-mcp",
          "title": "LeaveSheet: WH-347 payroll and PTO accrual"
        },
        {
          "name": "io.github.tresor4k/macalc-mcp",
          "title": "MaCalculatriceEnLigne"
        },
        {
          "name": "io.github.tresor4k/parkandkeep-mcp",
          "title": "Park & Keep airport parking"
        },
        {
          "name": "io.github.tresor4k/realdentalcosts-mcp",
          "title": "Real Dental Costs"
        },
        {
          "name": "io.github.tresor4k/statetakehome-mcp",
          "title": "StateTakeHome"
        },
        {
          "name": "io.github.tresor4k/tabletemplates-mcp",
          "title": "TableTemplates"
        },
        {
          "name": "io.github.tresor4k/takeoffmetric-mcp",
          "title": "TakeoffMetric Construction Calculators"
        }
      ]
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "40395",
    "server_name": "io.github.tresor4k/leavesheet-certified-payroll",
    "url": "https://app.tabletemplates.com/api/mcp",
    "host": "app.tabletemplates.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-23T21:21:02.073Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "555523017f23feace55dcaf01307592da5c11687d4c37403d7dd3460153d69d9",
    "first_listed_at": "2026-11-21T17:24:01.281Z",
    "created_at": "2026-11-21T12:15:03.664Z",
    "resolved_addresses": [
      "216.150.16.129",
      "216.150.16.1"
    ]
  },
  "server": {
    "name": "io.github.tresor4k/leavesheet-certified-payroll",
    "title": "LeaveSheet: Davis-Bacon wage rates and WH-347 certified payroll",
    "description": "Read-only Davis-Bacon wage determination lookup, crew pay checks, fringe 6B, WH-347 payroll drafts.",
    "version": "0.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://tabletemplates.com/certified-payroll-software/",
    "published_at": "2026-10-19T09:21:07.264Z",
    "updated_at": "2026-10-19T09:21:07.264Z",
    "first_seen": "2026-11-21T12:15:02.659Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T15:52:06.490Z"
  },
  "operator": {
    "key": "macalculatriceenligne.com",
    "name": "tresor4k",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 3,
    "answered": 3,
    "answered_percent": 100,
    "avg_listing_latency_ms": 472,
    "first_check_in_window": "2026-11-21T17:24:01.281Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-23",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "555523017f23feace55dcaf01307592da5c11687d4c37403d7dd3460153d69d9",
    "tools": 8,
    "resources": 1,
    "prompts": 0,
    "first_seen": "2026-11-21T17:24:01.795Z",
    "tool_names": [
      "find_wage_determination",
      "get_wage_rates",
      "check_crew_pay",
      "annualize_fringe",
      "compare_wd_revisions",
      "build_certified_payroll",
      "draft_conformance_request",
      "reconcile_fringe_6b"
    ],
    "declared": {
      "tools": [
        {
          "name": "find_wage_determination",
          "title": "Find the Davis-Bacon wage determination for a project",
          "description": "Use when the user needs the general wage determination (WD) for a federally funded construction project. This tool makes no network call: it explains where the WD is (the one incorporated in the contract or bid documents, starting with \"General Decision Number\"), builds the sam.gov search link with the filters to set (state, county, construction type) for the user to open, and quotes the revision rules of 29 CFR 1.6(c). If the user pastes the WD text (wdText) with the contract award date, it reads the modification table and picks the modification that applies under 29 CFR 1.6(c). Example: state=\"TX\", county=\"Travis\", constructionType=\"Highway\", awardDate=\"2026-06-01\". Then call get_wage_rates with the pasted text.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "state"
            ],
            "properties": {
              "state": {
                "type": "string",
                "pattern": "^[A-Za-z]{2}$",
                "description": "Two-letter state code, e.g. \"TX\"."
              },
              "county": {
                "type": "string",
                "maxLength": 60,
                "minLength": 2,
                "description": "County name, e.g. \"Travis\"."
              },
              "wdText": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Text of the WD found by the user, optional, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              },
              "awardDate": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Contract award date (or start of construction when there is no award)."
              },
              "bidOpeningDate": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Bid opening date, sealed-bid contracts only."
              },
              "constructionType": {
                "enum": [
                  "Building",
                  "Heavy",
                  "Highway",
                  "Residential"
                ],
                "type": "string",
                "description": "Construction type named in the contract."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "searchUrl",
              "filters",
              "steps",
              "rules",
              "pasted",
              "applicable",
              "warnings",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "wd"
              },
              "rules": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "text",
                    "cite"
                  ],
                  "properties": {
                    "cite": {
                      "type": "string"
                    },
                    "text": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "steps": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "pasted": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "source",
                      "header"
                    ],
                    "properties": {
                      "header": {
                        "type": "object",
                        "required": [
                          "wd",
                          "state",
                          "counties",
                          "constructionTypes",
                          "modifications"
                        ],
                        "properties": {
                          "wd": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "state": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "counties": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "modifications": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "required": [
                                "number",
                                "published"
                              ],
                              "properties": {
                                "number": {
                                  "type": "number"
                                },
                                "published": {
                                  "type": "string"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "constructionTypes": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "additionalProperties": false
                      },
                      "source": {
                        "type": "object",
                        "required": [
                          "origin",
                          "wd",
                          "revision",
                          "published",
                          "samUrl"
                        ],
                        "properties": {
                          "wd": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "origin": {
                            "type": "string",
                            "const": "pasted_text",
                            "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                          },
                          "samUrl": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Public sam.gov page of this WD, for the user to check the text."
                          },
                          "revision": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ],
                            "description": "Last modification listed in the pasted text."
                          },
                          "published": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "filters": {
                "type": "object",
                "required": [
                  "state",
                  "county",
                  "constructionType"
                ],
                "properties": {
                  "state": {
                    "type": "string"
                  },
                  "county": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "constructionType": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "searchUrl": {
                "type": "string",
                "description": "sam.gov wage determination search, opened by the user."
              },
              "applicable": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "revision",
                      "published",
                      "cutoff",
                      "rule",
                      "warnings",
                      "samUrl",
                      "cite"
                    ],
                    "properties": {
                      "cite": {
                        "type": "string"
                      },
                      "rule": {
                        "type": "string"
                      },
                      "cutoff": {
                        "type": "string"
                      },
                      "samUrl": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "revision": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "warnings": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "published": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "disclaimer": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Find wage determination",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "get_wage_rates",
          "title": "Wage rates of a wage determination",
          "description": "Use when the user needs the prevailing base rate and fringe of one or more classifications and has the text of the WD (pasted from the contract or the sam.gov page). Reads the pasted text and returns each matching classification row (craft, classification, zone, base and fringe $/h with the rule they come from, notes, parse confidence) plus the verbatim excerpt and the sam.gov page to check it. rowId values feed check_crew_pay and draft_conformance_request when the same text is passed. Example: wdText=\"General Decision Number: TX20260291 05/18/2026 …\", search=\"welder\".",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "wdText"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "default": 25,
                "maximum": 100,
                "minimum": 1,
                "description": "Maximum rows returned (1-100)."
              },
              "search": {
                "type": "string",
                "maxLength": 80,
                "minLength": 2,
                "description": "Text to match in craft, classification or zone, e.g. \"laborer\"."
              },
              "wdText": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Full text of the general wage determination, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "source",
              "header",
              "totalRows",
              "matched",
              "rows",
              "unparsedLines",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rowId",
                    "craft",
                    "classification",
                    "zone",
                    "rateIdentifier",
                    "rateSource",
                    "unit",
                    "base",
                    "fringe",
                    "fringeFormula",
                    "notes",
                    "confidence",
                    "raw"
                  ],
                  "properties": {
                    "raw": {
                      "type": "string"
                    },
                    "base": {
                      "type": "object",
                      "required": [
                        "amount",
                        "cite"
                      ],
                      "properties": {
                        "cite": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "unit": {
                      "enum": [
                        "hour",
                        "day"
                      ],
                      "type": "string"
                    },
                    "zone": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "craft": {
                      "type": "string"
                    },
                    "notes": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rowId": {
                      "type": "string"
                    },
                    "fringe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "confidence": {
                      "type": "number"
                    },
                    "rateSource": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fringeFormula": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "classification": {
                      "type": "string"
                    },
                    "rateIdentifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "view": {
                "type": "string",
                "const": "wd"
              },
              "header": {
                "type": "object",
                "required": [
                  "wd",
                  "state",
                  "counties",
                  "constructionTypes",
                  "modifications"
                ],
                "properties": {
                  "wd": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "state": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "counties": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "modifications": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "number",
                        "published"
                      ],
                      "properties": {
                        "number": {
                          "type": "number"
                        },
                        "published": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "constructionTypes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": false
              },
              "source": {
                "type": "object",
                "required": [
                  "origin",
                  "wd",
                  "revision",
                  "published",
                  "samUrl"
                ],
                "properties": {
                  "wd": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "origin": {
                    "type": "string",
                    "const": "pasted_text",
                    "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                  },
                  "samUrl": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Public sam.gov page of this WD, for the user to check the text."
                  },
                  "revision": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Last modification listed in the pasted text."
                  },
                  "published": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "matched": {
                "type": "number"
              },
              "totalRows": {
                "type": "number"
              },
              "disclaimer": {
                "type": "string"
              },
              "unparsedLines": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Get wage rates",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "check_crew_pay",
          "title": "Check a crew's pay against the wage determination",
          "description": "Use when the user wants to know whether each worker on a Davis-Bacon job was paid at least the WD rate for a payroll week. For every worker and classification it computes the base and fringe due vs. paid, recomputes overtime (hours over 40 in the workweek, 29 CFR 5.5(b)(1) and 5.32), checks apprentice registration and the daily apprentice ratio (29 CFR 5.5(a)(4)), and totals the restitution owed, each amount with its CFR citation; also returns the WH-347 lines as paid. Up to 50 workers. Either pass the pasted WD text (wdText) and link each segment to a row with wdRowId (from get_wage_rates on the same text), or give the WD rate of each segment directly (rate) as the user reads it in the contract. Example: wdText=\"General Decision Number: TX20260291 …\", weekEnding=\"2026-06-07\", workers=[{name:\"Crew 1\", segments:[{classification:\"Welder\", wdRowId:\"r1\", stByDay:[8,8,8,8,8], paidBaseRate:22}]}].",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "weekEnding",
              "workers"
            ],
            "properties": {
              "wdText": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Full text of the general wage determination, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              },
              "workers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "segments"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1,
                      "description": "Worker name or label (no SSN)."
                    },
                    "segments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "classification",
                          "paidBaseRate"
                        ],
                        "properties": {
                          "rate": {
                            "type": "object",
                            "required": [
                              "base",
                              "fringe"
                            ],
                            "properties": {
                              "base": {
                                "type": "number",
                                "maximum": 10000,
                                "minimum": 0
                              },
                              "fringe": {
                                "type": "number",
                                "maximum": 10000,
                                "minimum": 0
                              }
                            },
                            "description": "WD rate to use when there is no WD row (e.g. conformed classification)."
                          },
                          "otByDay": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "maximum": 24,
                              "minimum": 0
                            },
                            "default": [],
                            "maxItems": 7,
                            "description": "Overtime hours paid, Monday to Sunday."
                          },
                          "stByDay": {
                            "type": "array",
                            "items": {
                              "type": "number",
                              "maximum": 24,
                              "minimum": 0
                            },
                            "default": [],
                            "maxItems": 7,
                            "description": "Straight-time hours paid, Monday to Sunday."
                          },
                          "wdRowId": {
                            "type": "string",
                            "pattern": "^r\\d{1,4}$",
                            "description": "rowId from get_wage_rates on the same wdText (preferred)."
                          },
                          "paidFringe": {
                            "type": "object",
                            "default": {
                              "pension": 0,
                              "training": 0,
                              "vacation": 0,
                              "healthWelfare": 0
                            },
                            "properties": {
                              "pension": {
                                "type": "number",
                                "default": 0,
                                "maximum": 10000,
                                "minimum": 0
                              },
                              "training": {
                                "type": "number",
                                "default": 0,
                                "maximum": 10000,
                                "minimum": 0
                              },
                              "vacation": {
                                "type": "number",
                                "default": 0,
                                "maximum": 10000,
                                "minimum": 0
                              },
                              "healthWelfare": {
                                "type": "number",
                                "default": 0,
                                "maximum": 10000,
                                "minimum": 0
                              }
                            },
                            "description": "Fringe contributions paid to each plan, $/h."
                          },
                          "paidOtRate": {
                            "type": "number",
                            "maximum": 10000,
                            "minimum": 0,
                            "description": "Rate paid for overtime hours; default paidBaseRate x 1.5."
                          },
                          "paidBaseRate": {
                            "type": "number",
                            "maximum": 10000,
                            "minimum": 0,
                            "description": "Cash hourly rate paid, excluding cash in lieu of fringe."
                          },
                          "cashInLieuRate": {
                            "type": "number",
                            "default": 0,
                            "maximum": 10000,
                            "minimum": 0,
                            "description": "Cash paid in lieu of fringe, $/h."
                          },
                          "classification": {
                            "type": "string",
                            "maxLength": 160,
                            "minLength": 1,
                            "description": "Classification worked, as the user names it."
                          }
                        }
                      },
                      "maxItems": 5,
                      "minItems": 1,
                      "description": "One entry per classification worked this week."
                    },
                    "apprentice": {
                      "type": "object",
                      "required": [
                        "registered",
                        "pctOfJourneyworker",
                        "ratio"
                      ],
                      "properties": {
                        "ratio": {
                          "type": "object",
                          "required": [
                            "apprentices",
                            "journeyworkers"
                          ],
                          "properties": {
                            "apprentices": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 1
                            },
                            "journeyworkers": {
                              "type": "integer",
                              "maximum": 20,
                              "minimum": 0
                            }
                          }
                        },
                        "registered": {
                          "type": "boolean"
                        },
                        "programFringe": {
                          "anyOf": [
                            {
                              "type": "number",
                              "maximum": 10000,
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "pctOfJourneyworker": {
                          "type": "number",
                          "maximum": 1,
                          "minimum": 0,
                          "description": "Program wage as a fraction of the journeyworker base, e.g. 0.6."
                        }
                      }
                    },
                    "hoursRecordedByClassification": {
                      "type": "boolean",
                      "default": true,
                      "description": "Payroll records show the hours in each classification."
                    }
                  }
                },
                "maxItems": 50,
                "minItems": 1
              },
              "weekEnding": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last day of the payroll week."
              },
              "overtimeClause": {
                "type": "boolean",
                "default": true,
                "description": "CWHSSA overtime clause applies (contracts over $100,000)."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "source",
              "weekEnding",
              "totalRestitution",
              "workers",
              "ratios",
              "flags",
              "wdRowsUsed",
              "wh347Lines",
              "notImplemented",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "compliance"
              },
              "flags": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "ratios": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "source": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "origin",
                      "wd",
                      "revision",
                      "published",
                      "samUrl"
                    ],
                    "properties": {
                      "wd": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "origin": {
                        "type": "string",
                        "const": "pasted_text",
                        "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                      },
                      "samUrl": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Public sam.gov page of this WD, for the user to check the text."
                      },
                      "revision": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Last modification listed in the pasted text."
                      },
                      "published": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "workers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "wdRowsUsed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rowId",
                    "craft",
                    "classification",
                    "zone",
                    "rateIdentifier",
                    "rateSource",
                    "unit",
                    "base",
                    "fringe",
                    "fringeFormula",
                    "notes",
                    "confidence",
                    "raw"
                  ],
                  "properties": {
                    "raw": {
                      "type": "string"
                    },
                    "base": {
                      "type": "object",
                      "required": [
                        "amount",
                        "cite"
                      ],
                      "properties": {
                        "cite": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "unit": {
                      "enum": [
                        "hour",
                        "day"
                      ],
                      "type": "string"
                    },
                    "zone": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "craft": {
                      "type": "string"
                    },
                    "notes": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rowId": {
                      "type": "string"
                    },
                    "fringe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "confidence": {
                      "type": "number"
                    },
                    "rateSource": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fringeFormula": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "classification": {
                      "type": "string"
                    },
                    "rateIdentifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "weekEnding": {
                "type": "string"
              },
              "wh347Lines": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "notImplemented": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "totalRestitution": {
                "type": "object",
                "required": [
                  "amount",
                  "cite"
                ],
                "properties": {
                  "cite": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Check crew pay",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "annualize_fringe",
          "title": "Annualize a fringe benefit contribution",
          "description": "Use when a contractor pays a fringe plan (health, pension…) for a worker who also does private work, and needs the hourly credit it may take on Davis-Bacon payrolls. Applies 29 CFR 5.25(c): plan cost divided by all hours worked, over-credit and fringe owed on DBRA hours, and the defined-contribution pension exception checks. Example: annualPlanCost=9600, totalHoursWorked=2000, dbraHours=600, plan={kind:\"health\"}, claimedHourlyCredit=8.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "annualPlanCost",
              "totalHoursWorked",
              "dbraHours",
              "claimedHourlyCredit",
              "plan"
            ],
            "properties": {
              "plan": {
                "type": "object",
                "required": [
                  "kind"
                ],
                "properties": {
                  "kind": {
                    "enum": [
                      "health",
                      "defined_contribution_pension",
                      "defined_benefit_pension",
                      "other"
                    ],
                    "type": "string"
                  },
                  "unfunded": {
                    "type": "boolean"
                  },
                  "exceptionGranted": {
                    "type": "boolean"
                  },
                  "continuousInNature": {
                    "type": "boolean"
                  },
                  "immediateParticipation": {
                    "type": "boolean"
                  },
                  "vestsWithinFirst500Hours": {
                    "type": "boolean"
                  },
                  "compensatesPrivateAndDbraWork": {
                    "type": "boolean"
                  }
                }
              },
              "dbraHours": {
                "type": "number",
                "maximum": 8784,
                "minimum": 0,
                "description": "DBRA-covered hours within totalHoursWorked."
              },
              "annualPlanCost": {
                "type": "number",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Plan cost for ONE worker over the period, $."
              },
              "totalHoursWorked": {
                "type": "number",
                "maximum": 8784,
                "minimum": 1,
                "description": "All hours worked by that worker over the period, private + DBRA."
              },
              "claimedHourlyCredit": {
                "type": "number",
                "maximum": 10000,
                "minimum": 0,
                "description": "Hourly fringe credit claimed for this plan on DBRA payrolls, $/h."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "status",
              "annualizedHourlyRate",
              "allowedHourlyCredit",
              "overCredit",
              "restitution",
              "exceptionChecks",
              "warnings",
              "notImplemented",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "compliance"
              },
              "status": {
                "type": "string"
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "overCredit": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "amount",
                      "cite"
                    ],
                    "properties": {
                      "cite": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "restitution": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "amount",
                      "cite"
                    ],
                    "properties": {
                      "cite": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notImplemented": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "exceptionChecks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "allowedHourlyCredit": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "amount",
                      "cite"
                    ],
                    "properties": {
                      "cite": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "annualizedHourlyRate": {
                "type": "object",
                "required": [
                  "amount",
                  "cite"
                ],
                "properties": {
                  "cite": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Annualize fringe",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "compare_wd_revisions",
          "title": "Compare two revisions of a wage determination",
          "description": "Use when the user asks what changed between two modifications of the same WD (e.g. the one in the contract vs. the latest one) and pastes both texts. Lists classifications added, removed and those whose base or fringe changed, with old and new amounts and the verbatim rows. Example: wdTextA=\"General Decision Number: CA20260001 … (modification 2)\", wdTextB=\"… (modification 3)\".",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "wdTextA",
              "wdTextB"
            ],
            "properties": {
              "wdTextA": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Text of the earlier WD modification, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              },
              "wdTextB": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Text of the later WD modification, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "sourceA",
              "sourceB",
              "added",
              "removed",
              "changed",
              "unchanged",
              "truncated",
              "warnings",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "wd"
              },
              "added": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rowId",
                    "craft",
                    "classification",
                    "zone",
                    "rateIdentifier",
                    "rateSource",
                    "unit",
                    "base",
                    "fringe",
                    "fringeFormula",
                    "notes",
                    "confidence",
                    "raw"
                  ],
                  "properties": {
                    "raw": {
                      "type": "string"
                    },
                    "base": {
                      "type": "object",
                      "required": [
                        "amount",
                        "cite"
                      ],
                      "properties": {
                        "cite": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "unit": {
                      "enum": [
                        "hour",
                        "day"
                      ],
                      "type": "string"
                    },
                    "zone": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "craft": {
                      "type": "string"
                    },
                    "notes": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rowId": {
                      "type": "string"
                    },
                    "fringe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "confidence": {
                      "type": "number"
                    },
                    "rateSource": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fringeFormula": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "classification": {
                      "type": "string"
                    },
                    "rateIdentifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "changed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "key",
                    "before",
                    "after",
                    "baseDelta",
                    "fringeDelta"
                  ],
                  "properties": {
                    "key": {
                      "type": "string"
                    },
                    "after": {
                      "type": "object",
                      "required": [
                        "rowId",
                        "craft",
                        "classification",
                        "zone",
                        "rateIdentifier",
                        "rateSource",
                        "unit",
                        "base",
                        "fringe",
                        "fringeFormula",
                        "notes",
                        "confidence",
                        "raw"
                      ],
                      "properties": {
                        "raw": {
                          "type": "string"
                        },
                        "base": {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        "unit": {
                          "enum": [
                            "hour",
                            "day"
                          ],
                          "type": "string"
                        },
                        "zone": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "craft": {
                          "type": "string"
                        },
                        "notes": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "rowId": {
                          "type": "string"
                        },
                        "fringe": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "amount",
                                "cite"
                              ],
                              "properties": {
                                "cite": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "rateSource": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fringeFormula": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "classification": {
                          "type": "string"
                        },
                        "rateIdentifier": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "before": {
                      "type": "object",
                      "required": [
                        "rowId",
                        "craft",
                        "classification",
                        "zone",
                        "rateIdentifier",
                        "rateSource",
                        "unit",
                        "base",
                        "fringe",
                        "fringeFormula",
                        "notes",
                        "confidence",
                        "raw"
                      ],
                      "properties": {
                        "raw": {
                          "type": "string"
                        },
                        "base": {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        "unit": {
                          "enum": [
                            "hour",
                            "day"
                          ],
                          "type": "string"
                        },
                        "zone": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "craft": {
                          "type": "string"
                        },
                        "notes": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "rowId": {
                          "type": "string"
                        },
                        "fringe": {
                          "anyOf": [
                            {
                              "type": "object",
                              "required": [
                                "amount",
                                "cite"
                              ],
                              "properties": {
                                "cite": {
                                  "type": "string"
                                },
                                "amount": {
                                  "type": "number"
                                }
                              },
                              "additionalProperties": false
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "rateSource": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "fringeFormula": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "classification": {
                          "type": "string"
                        },
                        "rateIdentifier": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false
                    },
                    "baseDelta": {
                      "type": "number"
                    },
                    "fringeDelta": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "removed": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rowId",
                    "craft",
                    "classification",
                    "zone",
                    "rateIdentifier",
                    "rateSource",
                    "unit",
                    "base",
                    "fringe",
                    "fringeFormula",
                    "notes",
                    "confidence",
                    "raw"
                  ],
                  "properties": {
                    "raw": {
                      "type": "string"
                    },
                    "base": {
                      "type": "object",
                      "required": [
                        "amount",
                        "cite"
                      ],
                      "properties": {
                        "cite": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "unit": {
                      "enum": [
                        "hour",
                        "day"
                      ],
                      "type": "string"
                    },
                    "zone": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "craft": {
                      "type": "string"
                    },
                    "notes": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rowId": {
                      "type": "string"
                    },
                    "fringe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "confidence": {
                      "type": "number"
                    },
                    "rateSource": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fringeFormula": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "classification": {
                      "type": "string"
                    },
                    "rateIdentifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "sourceA": {
                "type": "object",
                "required": [
                  "origin",
                  "wd",
                  "revision",
                  "published",
                  "samUrl"
                ],
                "properties": {
                  "wd": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "origin": {
                    "type": "string",
                    "const": "pasted_text",
                    "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                  },
                  "samUrl": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Public sam.gov page of this WD, for the user to check the text."
                  },
                  "revision": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Last modification listed in the pasted text."
                  },
                  "published": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "sourceB": {
                "type": "object",
                "required": [
                  "origin",
                  "wd",
                  "revision",
                  "published",
                  "samUrl"
                ],
                "properties": {
                  "wd": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "origin": {
                    "type": "string",
                    "const": "pasted_text",
                    "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                  },
                  "samUrl": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Public sam.gov page of this WD, for the user to check the text."
                  },
                  "revision": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "description": "Last modification listed in the pasted text."
                  },
                  "published": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "unchanged": {
                "type": "number"
              },
              "disclaimer": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Compare WD revisions",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "build_certified_payroll",
          "title": "Build the WH-347 certified payroll",
          "description": "Use when the user is ready to produce the weekly certified payroll (WH-347 PDF or Excel). Computes the WH-347 columns for the crew and returns a link to the export page where the files are generated in the browser; the crew data travels in the URL fragment, which is never sent to the server. The optional last 4 digits of each SSN are typed by the user on that page only. Do not put SSNs or addresses in the arguments. Up to 50 workers.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "header",
              "workers"
            ],
            "properties": {
              "header": {
                "type": "object",
                "required": [
                  "weekEnding"
                ],
                "properties": {
                  "isFinal": {
                    "type": "boolean",
                    "default": false
                  },
                  "weekEnding": {
                    "type": "string",
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
                  },
                  "projectName": {
                    "type": "string",
                    "default": "",
                    "maxLength": 160
                  },
                  "payrollNumber": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 1
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "projectNumber": {
                    "type": "string",
                    "default": "",
                    "maxLength": 80
                  },
                  "contractorName": {
                    "type": "string",
                    "default": "",
                    "maxLength": 120
                  },
                  "contractorType": {
                    "anyOf": [
                      {
                        "enum": [
                          "prime",
                          "sub"
                        ],
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "wdModification": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "maximum": 9007199254740991,
                        "minimum": 0
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  },
                  "projectLocation": {
                    "type": "string",
                    "default": "",
                    "maxLength": 160
                  },
                  "wageDetermination": {
                    "anyOf": [
                      {
                        "type": "string",
                        "pattern": "^[A-Z]{2}\\d{8}$"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null
                  }
                },
                "description": "Contractor, project, WD and payroll week."
              },
              "workers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "classification",
                    "baseRate",
                    "fringe",
                    "stByDay",
                    "otByDay"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "maxLength": 80,
                      "minLength": 1
                    },
                    "fringe": {
                      "type": "object",
                      "required": [
                        "healthWelfare",
                        "pension",
                        "vacation",
                        "training"
                      ],
                      "properties": {
                        "pension": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "training": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "vacation": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "healthWelfare": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        }
                      }
                    },
                    "otByDay": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "maximum": 24,
                        "minimum": 0
                      },
                      "maxItems": 7,
                      "minItems": 7
                    },
                    "stByDay": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "maximum": 24,
                        "minimum": 0
                      },
                      "maxItems": 7,
                      "minItems": 7
                    },
                    "baseRate": {
                      "type": "number",
                      "maximum": 10000,
                      "minimum": 0
                    },
                    "deductions": {
                      "type": "object",
                      "default": {
                        "fica": 0,
                        "other": 0,
                        "stateTax": 0,
                        "federalTax": 0
                      },
                      "required": [
                        "fica",
                        "federalTax",
                        "stateTax",
                        "other"
                      ],
                      "properties": {
                        "fica": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "other": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "stateTax": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        "federalTax": {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        }
                      }
                    },
                    "workerType": {
                      "anyOf": [
                        {
                          "enum": [
                            "J",
                            "RA"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "grossAllWork": {
                      "anyOf": [
                        {
                          "type": "number",
                          "maximum": 10000,
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "cashInLieuRate": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0
                    },
                    "classification": {
                      "type": "string",
                      "maxLength": 120,
                      "minLength": 1
                    },
                    "apprenticeLevel": {
                      "anyOf": [
                        {
                          "type": "string",
                          "maxLength": 40
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    }
                  }
                },
                "maxItems": 50,
                "minItems": 1,
                "description": "One entry per worker-week, rates and hours as paid."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "url",
              "urlLength",
              "workers",
              "weekEnding",
              "totals",
              "lines",
              "reconciles",
              "reviewLines",
              "disclaimer",
              "card"
            ],
            "properties": {
              "url": {
                "type": "string"
              },
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "export"
              },
              "lines": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "totals": {
                "type": "object",
                "required": [
                  "gross7A",
                  "fringe6B",
                  "deductions8",
                  "net9"
                ],
                "properties": {
                  "net9": {
                    "type": "number"
                  },
                  "gross7A": {
                    "type": "number"
                  },
                  "fringe6B": {
                    "type": "number"
                  },
                  "deductions8": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "workers": {
                "type": "number"
              },
              "urlLength": {
                "type": "number"
              },
              "disclaimer": {
                "type": "string"
              },
              "reconciles": {
                "type": "boolean"
              },
              "weekEnding": {
                "type": "string"
              },
              "reviewLines": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Build certified payroll",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "draft_conformance_request",
          "title": "Draft an SF-1444 conformance request",
          "description": "Use when a worker performs a classification that is missing from the WD and the contractor must ask the contracting officer to add it. Fills the SF-1444 fields, compares the proposed rate with related WD classifications, and checks the criteria of 29 CFR 5.5(a)(1)(iii)(A) (each answered yes / no / to verify). Related classifications come from neighbourRowIds (get_wage_rates on the pasted wdText, passed again here) or are given directly. Example: missingClassification=\"Drone operator\", tasks=[\"aerial survey\"], wd=\"TX20260291\", wdText=\"General Decision Number: TX20260291 …\", neighbourRowIds=[\"r1\"], proposed={base:24,fringe:0}.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "missingClassification",
              "tasks",
              "wd",
              "proposed"
            ],
            "properties": {
              "wd": {
                "type": "string",
                "description": "General wage determination number, e.g. \"CA20260001\"."
              },
              "tasks": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 200,
                  "minLength": 2
                },
                "maxItems": 20,
                "minItems": 1,
                "description": "Duties actually performed."
              },
              "header": {
                "type": "object",
                "properties": {
                  "location": {
                    "type": "string",
                    "maxLength": 160
                  },
                  "contractor": {
                    "type": "string",
                    "maxLength": 120
                  },
                  "dateOfAward": {
                    "type": "string",
                    "maxLength": 20
                  },
                  "dateBidOpened": {
                    "type": "string",
                    "maxLength": 20
                  },
                  "dateOfRequest": {
                    "type": "string",
                    "maxLength": 20
                  },
                  "subcontractor": {
                    "type": "string",
                    "maxLength": 120
                  },
                  "contractNumber": {
                    "type": "string",
                    "maxLength": 80
                  },
                  "dateWorkStarted": {
                    "type": "string",
                    "maxLength": 20
                  },
                  "projectAndDescription": {
                    "type": "string",
                    "maxLength": 300
                  }
                }
              },
              "wdText": {
                "type": "string",
                "maxLength": 400000,
                "minLength": 100,
                "description": "Full text of the general wage determination, pasted by the user from the contract or from the sam.gov page, from \"General Decision Number\" to \"END OF GENERAL DECISION\", line breaks kept (max 400000 characters). Pass the same text again in later calls so rowId values stay valid."
              },
              "answers": {
                "type": "object",
                "properties": {
                  "doesNotSplitWdClassification": {
                    "type": "boolean"
                  },
                  "usedInAreaByConstructionIndustry": {
                    "type": "boolean"
                  },
                  "workNotPerformedByWdClassification": {
                    "type": "boolean"
                  }
                }
              },
              "proposed": {
                "type": "object",
                "required": [
                  "base",
                  "fringe"
                ],
                "properties": {
                  "base": {
                    "type": "number",
                    "maximum": 10000,
                    "minimum": 0
                  },
                  "fringe": {
                    "type": "number",
                    "maximum": 10000,
                    "minimum": 0
                  }
                }
              },
              "revision": {
                "type": "integer",
                "maximum": 99,
                "minimum": 0,
                "description": "WD modification (revision) number as listed on SAM.gov."
              },
              "neighbours": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "title",
                    "base",
                    "fringe"
                  ],
                  "properties": {
                    "base": {
                      "type": "number",
                      "maximum": 10000,
                      "minimum": 0
                    },
                    "title": {
                      "type": "string",
                      "maxLength": 160,
                      "minLength": 2
                    },
                    "fringe": {
                      "type": "number",
                      "maximum": 10000,
                      "minimum": 0
                    }
                  }
                },
                "default": [],
                "maxItems": 10,
                "description": "Related classifications given directly."
              },
              "neighbourRowIds": {
                "type": "array",
                "items": {
                  "type": "string",
                  "pattern": "^r\\d{1,4}$"
                },
                "default": [],
                "maxItems": 10,
                "description": "rowIds of related WD classifications (requires wdText)."
              },
              "missingClassification": {
                "type": "string",
                "maxLength": 120,
                "minLength": 2
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "source",
              "sf1444",
              "criteria",
              "neighbourComparison",
              "neighbourRows",
              "justification",
              "submission",
              "warnings",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "view": {
                "type": "string",
                "const": "wd"
              },
              "sf1444": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "source": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "origin",
                      "wd",
                      "revision",
                      "published",
                      "samUrl"
                    ],
                    "properties": {
                      "wd": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "origin": {
                        "type": "string",
                        "const": "pasted_text",
                        "description": "Rates come from the WD text pasted by the user; nothing is fetched."
                      },
                      "samUrl": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Public sam.gov page of this WD, for the user to check the text."
                      },
                      "revision": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "Last modification listed in the pasted text."
                      },
                      "published": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "criteria": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "warnings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "disclaimer": {
                "type": "string"
              },
              "submission": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": {}
                }
              },
              "justification": {
                "type": "string"
              },
              "neighbourRows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "rowId",
                    "craft",
                    "classification",
                    "zone",
                    "rateIdentifier",
                    "rateSource",
                    "unit",
                    "base",
                    "fringe",
                    "fringeFormula",
                    "notes",
                    "confidence",
                    "raw"
                  ],
                  "properties": {
                    "raw": {
                      "type": "string"
                    },
                    "base": {
                      "type": "object",
                      "required": [
                        "amount",
                        "cite"
                      ],
                      "properties": {
                        "cite": {
                          "type": "string"
                        },
                        "amount": {
                          "type": "number"
                        }
                      },
                      "additionalProperties": false
                    },
                    "unit": {
                      "enum": [
                        "hour",
                        "day"
                      ],
                      "type": "string"
                    },
                    "zone": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "craft": {
                      "type": "string"
                    },
                    "notes": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rowId": {
                      "type": "string"
                    },
                    "fringe": {
                      "anyOf": [
                        {
                          "type": "object",
                          "required": [
                            "amount",
                            "cite"
                          ],
                          "properties": {
                            "cite": {
                              "type": "string"
                            },
                            "amount": {
                              "type": "number"
                            }
                          },
                          "additionalProperties": false
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "confidence": {
                      "type": "number"
                    },
                    "rateSource": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "fringeFormula": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "classification": {
                      "type": "string"
                    },
                    "rateIdentifier": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "additionalProperties": false
                }
              },
              "neighbourComparison": {
                "type": "object",
                "properties": {},
                "additionalProperties": {}
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Draft conformance request",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "reconcile_fringe_6b",
          "title": "Reconcile WH-347 column 6B with fringe plan payments",
          "description": "Use when the user wants to check that the fringe credited on the WH-347 (column 6B) matches what was paid to each plan (health and welfare, pension, vacation, training) for the week. Same computation as the wh347_fringe_reconcile tool of leavesheet-mcp: 6B per line, totals per plan, reconciles when |sum 6B − sum plans| < 0.005. Up to 50 workers.",
          "inputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "workers"
            ],
            "properties": {
              "workers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "worker": {
                      "type": "string",
                      "default": "",
                      "maxLength": 80,
                      "description": "Worker label (no SSN)."
                    },
                    "ot_hours": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "maximum": 24,
                        "minimum": 0
                      },
                      "default": [],
                      "maxItems": 7,
                      "description": "Overtime hours, day 1 to 7."
                    },
                    "st_hours": {
                      "type": "array",
                      "items": {
                        "type": "number",
                        "maximum": 24,
                        "minimum": 0
                      },
                      "default": [],
                      "maxItems": 7,
                      "description": "Straight-time hours, day 1 to 7."
                    },
                    "base_rate": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Base hourly rate paid, $/h (column 6A)."
                    },
                    "fringe_pension": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Pension plan, $/h."
                    },
                    "fringe_training": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Training plan, $/h."
                    },
                    "fringe_vacation": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Vacation / holiday plan, $/h."
                    },
                    "cash_in_lieu_rate": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Cash paid in lieu of fringe, $/h (column 6C)."
                    },
                    "fringe_health_welfare": {
                      "type": "number",
                      "default": 0,
                      "maximum": 10000,
                      "minimum": 0,
                      "description": "Health and welfare plan, $/h."
                    }
                  }
                },
                "maxItems": 50,
                "minItems": 1
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "required": [
              "view",
              "form",
              "lines",
              "plan_totals",
              "plan_totals_sum",
              "fringe_column_6b_sum",
              "tolerance",
              "reconciles",
              "disclaimer",
              "card"
            ],
            "properties": {
              "card": {
                "type": "object",
                "required": [
                  "view",
                  "title",
                  "subtitle",
                  "columns",
                  "rows",
                  "notes",
                  "excerpt",
                  "link"
                ],
                "properties": {
                  "link": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "label",
                          "href"
                        ],
                        "properties": {
                          "href": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "view": {
                    "enum": [
                      "wd",
                      "compliance",
                      "export"
                    ],
                    "type": "string"
                  },
                  "notes": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "title": {
                    "type": "string"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "excerpt": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "subtitle": {
                    "type": "string"
                  }
                },
                "additionalProperties": false
              },
              "form": {
                "type": "string"
              },
              "view": {
                "type": "string",
                "const": "compliance"
              },
              "lines": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "line",
                    "worker",
                    "total_hours",
                    "fringe_6b"
                  ],
                  "properties": {
                    "line": {
                      "type": "number"
                    },
                    "worker": {
                      "type": "string"
                    },
                    "fringe_6b": {
                      "type": "number"
                    },
                    "total_hours": {
                      "type": "number"
                    }
                  },
                  "additionalProperties": false
                }
              },
              "tolerance": {
                "type": "number"
              },
              "disclaimer": {
                "type": "string"
              },
              "reconciles": {
                "type": "boolean"
              },
              "plan_totals": {
                "type": "object",
                "required": [
                  "health_welfare",
                  "pension",
                  "vacation",
                  "training"
                ],
                "properties": {
                  "pension": {
                    "type": "number"
                  },
                  "training": {
                    "type": "number"
                  },
                  "vacation": {
                    "type": "number"
                  },
                  "health_welfare": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "plan_totals_sum": {
                "type": "number"
              },
              "fringe_column_6b_sum": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "annotations": {
            "title": "Reconcile fringe 6B",
            "readOnlyHint": true,
            "openWorldHint": false,
            "idempotentHint": true,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [
        {
          "name": "payroll-widget",
          "uri": "ui://widget/payroll-v2.html",
          "mimeType": "text/html;profile=mcp-app"
        }
      ],
      "prompts": []
    },
    "instructions": null
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}