{
  "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": "keypay.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "172.67.138.37",
        "endpoints": 825,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "104.21.62.184",
        "endpoints": 825,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 825,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 825,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "172.67.138.37",
          "104.21.62.184",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-22T15:02:01.455Z",
        "last_seen": "2026-11-22T15:02:01.455Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "keypay-mcp",
      "version": "1.24.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 824,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:10:01.976Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:11:01.183Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:12:01.080Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:13:02.135Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:14:01.432Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:15:01.611Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:16:00.986Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:17:01.057Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:18:00.734Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:19:00.968Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:20:01.024Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:21:01.299Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:22:00.819Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:23:00.761Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:24:00.644Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:25:02.340Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:26:02.127Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:27:01.202Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:28:00.709Z"
        }
      ]
    },
    "same_site": {
      "total": 1097,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:10:01.976Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:11:01.183Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:12:01.080Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:13:02.135Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:14:01.432Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:15:01.611Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:16:00.986Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:17:01.057Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:18:00.734Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:19:00.968Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:20:01.024Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:21:01.299Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:22:00.819Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:23:00.761Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:24:00.644Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:25:02.340Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:26:02.127Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:27:01.202Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:28:00.709Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-21T18:29:00.620Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1097,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1097,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "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": "42582",
    "server_name": "io.usefulapi/keypay",
    "url": "https://keypay.usefulapi.io/mcp",
    "host": "keypay.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T15:02:01.455Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "bf396aad47cc6c4a704ec8e68c15fcb1fcb32efef7c93812b798b3d2d7dc24db",
    "first_listed_at": "2026-11-22T15:02:01.455Z",
    "created_at": "2026-11-21T12:40:10.558Z",
    "resolved_addresses": [
      "172.67.138.37",
      "104.21.62.184",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/keypay",
    "title": "Employment Hero Payroll MCP by usefulapi",
    "description": "Read Employment Hero Payroll pay runs, payslips, timesheets and leave; approve or decline leave.",
    "version": "1.24.4",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/keypay/",
    "published_at": "2026-11-18T11:02:26.978Z",
    "updated_at": "2026-11-18T11:02:26.978Z",
    "first_seen": "2026-11-21T12:40:09.912Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T16:20:17.353Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 374,
    "first_check_in_window": "2026-11-22T15:02:01.455Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "bf396aad47cc6c4a704ec8e68c15fcb1fcb32efef7c93812b798b3d2d7dc24db",
    "tools": 26,
    "resources": 0,
    "prompts": 7,
    "first_seen": "2026-11-22T15:02:01.868Z",
    "tool_names": [
      "keypay_get_user",
      "keypay_list_businesses",
      "keypay_get_business",
      "keypay_list_employees",
      "keypay_get_employee",
      "keypay_get_leave_balances",
      "keypay_list_pay_runs",
      "keypay_get_pay_run",
      "keypay_list_pay_run_summaries",
      "keypay_get_pay_run_summary",
      "keypay_get_pay_run_totals",
      "keypay_get_pay_run_payslips",
      "keypay_list_pay_run_warnings",
      "keypay_list_timesheets",
      "keypay_get_timesheet",
      "keypay_list_leave_requests",
      "keypay_get_leave_request",
      "keypay_list_leave_categories",
      "keypay_list_pay_schedules",
      "keypay_list_locations",
      "keypay_list_pay_categories",
      "keypay_list_work_types",
      "keypay_report_gross_to_net",
      "keypay_report_leave_balances",
      "keypay_approve_leave_request",
      "keypay_decline_leave_request"
    ],
    "declared": {
      "tools": [
        {
          "name": "keypay_get_user",
          "title": "Get current user",
          "description": "The Employment Hero Payroll user this API key belongs to: id, email, display name and time zone. GET /user.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {}
          },
          "annotations": {
            "title": "Get current user",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_businesses",
          "title": "List businesses",
          "description": "List the payroll businesses this user can access: id, name, region, legal name, contact details, pay cycle, number of employees. Start here: most other tools need a business id. GET /business (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              }
            }
          },
          "annotations": {
            "title": "List businesses",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_business",
          "title": "Get business",
          "description": "One business by id: name, legal name, contact, address, ABN/company details, leave year, standard hours, pay cycle. GET /business/{businessId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get business",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_employees",
          "title": "List employees",
          "description": "List the business's employees with basic details: id, name, preferred name, gender, date of birth, contact details, address, start and end date, external id. Tax file, bank and super details are not part of this list. Filter with OData, e.g. \"Surname eq 'Smith'\". GET /business/{businessId}/employee/details (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List employees",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_employee",
          "title": "Get employee",
          "description": "One employee's full record: name, contact, employment type, status, start/end date, pay schedule, primary location and pay category, rate and rate unit, hours per week, award, leave template, work types, tags. Tax file / national insurance / IRD / NRIC numbers, bank accounts and super member numbers are removed. GET /business/{businessId}/employee/unstructured/{employeeId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "employee_id"
            ],
            "properties": {
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Employee id (from keypay_list_employees).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get employee",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_leave_balances",
          "title": "Get employee leave balances",
          "description": "An employee's leave balances per leave category (accrued amount and unit), optionally as at a date. GET /business/{businessId}/employee/{employeeId}/leavebalances.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "employee_id"
            ],
            "properties": {
              "as_at_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "Balance as at this date (yyyy-mm-dd); default today."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Employee id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get employee leave balances",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_pay_runs",
          "title": "List pay runs",
          "description": "List the business's pay runs: id, pay schedule, pay period start/end, date paid, finalised flag, payslips published, notation. Newest first with orderby \"PayPeriodEnding desc\". GET /business/{businessId}/payrun (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List pay runs",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_pay_run",
          "title": "Get pay run",
          "description": "One pay run by id: pay schedule, period, date paid, whether it is finalised, notation. GET /business/{businessId}/payrun/{payRunId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "pay_run_id"
            ],
            "properties": {
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay run id (from keypay_list_pay_runs).",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get pay run",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_pay_run_summaries",
          "title": "List pay run summaries",
          "description": "Pay runs with their totals: total hours, gross wages and net wages, plus the usual pay run fields. GET /business/{businessId}/payrun/summary (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List pay run summaries",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_pay_run_summary",
          "title": "Get pay run summary",
          "description": "One pay run with its total hours, gross wages and net wages. GET /business/{businessId}/payrun/{payRunId}/summary.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "pay_run_id"
            ],
            "properties": {
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay run id.",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get pay run summary",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_pay_run_totals",
          "title": "Get pay run totals per employee",
          "description": "Per-employee totals of a pay run (gross, net, tax withheld, super and the like; the fields depend on the region). Bank payment details are removed. GET /business/{businessId}/payrun/{payRunId}/totals.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "pay_run_id"
            ],
            "properties": {
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay run id.",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get pay run totals",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_pay_run_payslips",
          "title": "Get pay slip data of a pay run",
          "description": "Pay slip data for every employee in a pay run, keyed by employee: earnings lines, deductions, tax, super, leave taken and accrued, gross/net and year-to-date totals. Large for big pay runs. Bank account numbers and tax/identity numbers are removed. GET /business/{businessId}/payrun/{payRunId}/payslips.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "pay_run_id"
            ],
            "properties": {
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay run id.",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "show_all_data": {
                "type": "boolean",
                "description": "Include all pay slip data, not only what is printed on the slip (default false)."
              }
            }
          },
          "annotations": {
            "title": "Get pay slip data",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_pay_run_warnings",
          "title": "List pay run warnings",
          "description": "Warnings on a pay run (for example an employee paid below their award rate or with a negative net pay): type, employee and message. GET /business/{businessId}/payrun/{payRunId}/warnings.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "pay_run_id"
            ],
            "properties": {
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay run id.",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List pay run warnings",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_timesheets",
          "title": "List timesheets",
          "description": "List the business's timesheet lines: employee, start/end time, units, work type, location, status, comments, breaks. Filter by employee or date with OData, e.g. \"EmployeeId eq 123 and StartTime gt datetime'2026-04-01T00:00:00'\". GET /business/{businessId}/timesheet (OData: $filter, $orderby, $top, $skip).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List timesheets",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_timesheet",
          "title": "Get timesheet line",
          "description": "One timesheet line by id. GET /business/{businessId}/timesheet/{timesheetLineId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "timesheet_id"
            ],
            "properties": {
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "timesheet_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Timesheet line id (from keypay_list_timesheets).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get timesheet line",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_leave_requests",
          "title": "List leave requests",
          "description": "List the business's leave requests: employee, leave category, from/to date, total hours, status (Approved, Pending, Rejected, Cancelled), notes. Filter by status, dates, category, location or employee. GET /business/{businessId}/leaverequest.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "status": {
                "enum": [
                  "Approved",
                  "Pending",
                  "Rejected",
                  "Cancelled"
                ],
                "type": "string",
                "description": "Only requests with this status."
              },
              "to_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "Only leave ending on or before this date (yyyy-mm-dd)."
              },
              "from_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "Only leave starting on or after this date (yyyy-mm-dd)."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this employee.",
                "exclusiveMinimum": 0
              },
              "location_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this location (keypay_list_locations).",
                "exclusiveMinimum": 0
              },
              "leave_category_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this leave category (keypay_list_leave_categories).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List leave requests",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_get_leave_request",
          "title": "Get leave request",
          "description": "One leave request: employee, category, dates, hours, status, notes. GET /business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "employee_id",
              "leave_request_id"
            ],
            "properties": {
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Employee id.",
                "exclusiveMinimum": 0
              },
              "leave_request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id (from keypay_list_leave_requests).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get leave request",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_leave_categories",
          "title": "List leave categories",
          "description": "Leave categories of the business (annual, personal/sick, long service...): id, name, unit type, accrual rule. GET /business/{businessId}/leavecategory (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List leave categories",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_pay_schedules",
          "title": "List pay schedules",
          "description": "Pay schedules of the business: id, name, frequency, last date paid, last pay run. Bank and tax account details are removed. GET /business/{businessId}/payschedule (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List pay schedules",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_locations",
          "title": "List locations",
          "description": "Locations of the business (sites, departments): id, name, parent, fully qualified name, state. GET /business/{businessId}/location (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List locations",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_pay_categories",
          "title": "List pay categories",
          "description": "Pay categories (earnings types) of the business: id, name, rate unit, loadings, super rate, whether leave accrues. GET /business/{businessId}/paycategory (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List pay categories",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_list_work_types",
          "title": "List work types",
          "description": "Work types of the business: id, name, pay category, leave category, short code. GET /business/{businessId}/worktype (OData).",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "top": {
                "type": "integer",
                "maximum": 100,
                "description": "Results per request, 1-100 (default 25; the API caps it at 100).",
                "exclusiveMinimum": 0
              },
              "skip": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Results to skip (default 0). Pass the previous reply's next_skip."
              },
              "filter": {
                "type": "string",
                "maxLength": 500,
                "minLength": 1,
                "description": "OData v3 $filter. Property names are capitalised, e.g. \"Surname eq 'Smith'\", \"StartTime gt datetime'2026-04-01T00:00:00'\", \"DefaultSuperRate ne 9.5M\"."
              },
              "orderby": {
                "type": "string",
                "maxLength": 200,
                "minLength": 1,
                "description": "OData $orderby, e.g. \"Name\" or \"PayPeriodEnding desc\"."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List work types",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_report_gross_to_net",
          "title": "Gross to net report",
          "description": "Gross-to-net report per employee: earnings by pay category, tax, deductions, super, net pay. Choose a date range (from_date + to_date) or one finalised pay run (pay_run_id). The report has no paging: at most 200 rows are returned (narrow with employee_id or location_id). GET /business/{businessId}/report/grosstonet.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "to_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "End of the date range (yyyy-mm-dd)."
              },
              "from_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "Start of the date range (yyyy-mm-dd), with to_date."
              },
              "pay_run_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "A pay run id: report that pay run (then from_date/to_date are ignored).",
                "exclusiveMinimum": 0
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this employee.",
                "exclusiveMinimum": 0
              },
              "location_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this location.",
                "exclusiveMinimum": 0
              },
              "pay_schedule_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this pay schedule.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Gross to net report",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_report_leave_balances",
          "title": "Leave balances report",
          "description": "Leave balances of all employees as at a date, per leave category. The report has no paging: at most 200 rows are returned (narrow with location_id or leave_category_id). For one employee use keypay_get_leave_balances. GET /business/{businessId}/report/leavebalances.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id"
            ],
            "properties": {
              "as_at_date": {
                "type": "string",
                "pattern": "^(\\d{4})-(\\d{2})-(\\d{2})$",
                "description": "Balances as at this date (yyyy-mm-dd); default today."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "location_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this location.",
                "exclusiveMinimum": 0
              },
              "leave_category_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only this leave category.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Leave balances report",
            "readOnlyHint": true,
            "openWorldHint": true,
            "destructiveHint": false
          }
        },
        {
          "name": "keypay_approve_leave_request",
          "title": "Approve leave request",
          "description": "WRITE: approves a pending leave request (the employee is notified and the leave is applied to their pay). Check the request first with keypay_get_leave_request. Cannot be undone through this server. POST /business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}/approve.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "employee_id",
              "leave_request_id"
            ],
            "properties": {
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Employee id.",
                "exclusiveMinimum": 0
              },
              "leave_request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Approve leave request",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "keypay_decline_leave_request",
          "title": "Decline leave request",
          "description": "WRITE: declines a leave request, with an optional reason the employee sees. Check the request first with keypay_get_leave_request. POST /business/{businessId}/employee/{employeeId}/leaverequest/{leaveRequestId}/decline.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "business_id",
              "employee_id",
              "leave_request_id"
            ],
            "properties": {
              "reason": {
                "type": "string",
                "maxLength": 1000,
                "minLength": 1,
                "description": "Reason shown to the employee."
              },
              "business_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Business id (from keypay_list_businesses).",
                "exclusiveMinimum": 0
              },
              "employee_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Employee id.",
                "exclusiveMinimum": 0
              },
              "leave_request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Decline leave request",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Employment Hero Payroll (KeyPay) here, with example requests to try."
        },
        {
          "name": "review_a_pay_run_and_its_warnings",
          "description": "The AI lists pay runs, reads hours, gross and net wages of one, and lists its warnings, for example an employee paid below the award rate or with negative net pay."
        },
        {
          "name": "check_pay_per_employee_in_a_pay_run",
          "description": "The AI reads per-employee totals (gross, net, tax, super) or the pay slip data of a pay run with earnings, deductions and leave taken."
        },
        {
          "name": "run_a_gross_to_net_report",
          "description": "The AI reads earnings by pay category, tax, deductions, super and net pay per employee for a date range or one finalised pay run."
        },
        {
          "name": "check_leave_balances_of_staff",
          "description": "The AI reads the leave balances of one employee, or a report for all employees as at a date (up to 200 rows), per leave category."
        },
        {
          "name": "review_timesheets_by_employee_or_date",
          "description": "The AI lists timesheet lines with employee, start and end time, units, work type, location and status, filtered by employee or date."
        },
        {
          "name": "approve_or_decline_leave_requests",
          "description": "The AI lists pending leave requests, reads one, and approves it or declines it with a reason the employee sees."
        }
      ]
    },
    "instructions": "Tools for Employment Hero Payroll (KeyPay), hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Show my latest pay run and its total gross and net wages.\"; \"Which leave requests are still pending approval?\"; \"What is Jane Smith's annual leave balance?\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Employment Hero Payroll (KeyPay) data. Free plan: 50 tool calls per month. Run keypay_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run keypay_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run keypay_upgrade without a plan: it returns both plans, each with a payment link for the user to open. keypay_cancel_subscription cancels Pro at the end of the paid period."
  },
  "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."
}