{
  "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": "rotacloud.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "104.21.62.184",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.37",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1099,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.184",
          "172.67.138.37",
          "2606:4700:3030::ac43:8a25",
          "2606:4700:3032::6815:3eb8"
        ],
        "first_seen": "2026-11-22T19:33:01.632Z",
        "last_seen": "2026-11-22T19:33:01.632Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "rotacloud-mcp",
      "version": "1.32.5",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1098,
      "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-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "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-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1103,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "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-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1103,
      "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": 1103,
      "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": "42853",
    "server_name": "io.usefulapi/rotacloud",
    "url": "https://rotacloud.usefulapi.io/mcp",
    "host": "rotacloud.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T19:33:01.632Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "60d25ede902c8cae0a2a64286c2b30e1401c47f8fd08c9007a7caea1e30315b7",
    "first_listed_at": "2026-11-22T19:33:01.632Z",
    "created_at": "2026-11-21T12:40:13.779Z",
    "resolved_addresses": [
      "104.21.62.184",
      "172.67.138.37",
      "2606:4700:3030::ac43:8a25",
      "2606:4700:3032::6815:3eb8"
    ]
  },
  "server": {
    "name": "io.usefulapi/rotacloud",
    "title": "RotaCloud MCP by usefulapi",
    "description": "Read RotaCloud shifts, attendance, leave, availability and payroll; create shifts and handle leave.",
    "version": "1.32.5",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/rotacloud/",
    "published_at": "2026-11-20T19:57:44.413Z",
    "updated_at": "2026-11-20T19:57:44.413Z",
    "first_seen": "2026-11-21T12:40:13.116Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "trades"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T19:33:06.851Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 850,
    "first_check_in_window": "2026-11-22T19:33:01.632Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "60d25ede902c8cae0a2a64286c2b30e1401c47f8fd08c9007a7caea1e30315b7",
    "tools": 28,
    "resources": 0,
    "prompts": 7,
    "first_seen": "2026-11-22T19:33:02.484Z",
    "tool_names": [
      "rotacloud_list_accounts",
      "rotacloud_list_users",
      "rotacloud_get_user",
      "rotacloud_list_locations",
      "rotacloud_list_roles",
      "rotacloud_list_shifts",
      "rotacloud_get_shift",
      "rotacloud_list_swap_requests",
      "rotacloud_list_day_notes",
      "rotacloud_list_attendance",
      "rotacloud_list_clocked_in",
      "rotacloud_list_leave",
      "rotacloud_list_leave_requests",
      "rotacloud_get_leave_request",
      "rotacloud_list_leave_types",
      "rotacloud_list_holiday_allowances",
      "rotacloud_get_availability",
      "rotacloud_list_days_off",
      "rotacloud_list_pay_periods",
      "rotacloud_get_payroll",
      "rotacloud_create_shift",
      "rotacloud_update_shift",
      "rotacloud_publish_shifts",
      "rotacloud_find_shifts",
      "rotacloud_delete_shifts",
      "rotacloud_create_leave_request",
      "rotacloud_approve_leave_request",
      "rotacloud_deny_leave_request"
    ],
    "declared": {
      "tools": [
        {
          "name": "rotacloud_list_accounts",
          "title": "List accounts",
          "description": "The RotaCloud account(s) this API key belongs to: name, plan, time zone, employee count. GET /accounts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List accounts",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_users",
          "title": "List users",
          "description": "List employees (users) with their level, roles, locations, contact details and pay settings. Use it to map user ids in shifts, leave and attendance to names. GET /users.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these user ids."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only users in these location ids."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted (former) users."
              }
            }
          },
          "annotations": {
            "title": "List users",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_get_user",
          "title": "Get user",
          "description": "One employee by id. GET /users/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "user_id"
            ],
            "properties": {
              "user_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "RotaCloud user id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get user",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_locations",
          "title": "List locations",
          "description": "List locations (sites/branches) with address, time zone and managers. GET /locations.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these location ids."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted locations."
              }
            }
          },
          "annotations": {
            "title": "List locations",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_roles",
          "title": "List roles",
          "description": "List job roles (positions) with colour, default break and pay rate. GET /roles.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these role ids."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted roles."
              }
            }
          },
          "annotations": {
            "title": "List roles",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_shifts",
          "title": "List shifts",
          "description": "List rota shifts in a time range: start/end times (Unix seconds), break, assigned user (null = open shift), location, role, notes, published and acknowledged state. Filter by users, locations, roles, open or published. GET /shifts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "open": {
                "type": "boolean",
                "description": "true = only open (unassigned) shifts, false = only assigned shifts."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "roles": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only shifts with these role ids."
              },
              "start": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "description": "Only shifts of these user ids (add 0 to include open shifts)."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only shifts at these location ids."
              },
              "published": {
                "type": "boolean",
                "description": "true = only published shifts, false = only unpublished (draft) shifts."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted shifts."
              }
            }
          },
          "annotations": {
            "title": "List shifts",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_get_shift",
          "title": "Get shift",
          "description": "One shift by id. GET /shifts/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "shift_id"
            ],
            "properties": {
              "shift_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "RotaCloud shift id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get shift",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_swap_requests",
          "title": "List shift swap requests",
          "description": "List shift swap requests with their status, the shifts and the users involved. GET /swap_requests.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted swap requests."
              }
            }
          },
          "annotations": {
            "title": "List shift swap requests",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_day_notes",
          "title": "List day notes",
          "description": "List day notes (notices pinned to rota dates, e.g. events or deliveries), optionally for one location. GET /day_notes.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date (yyyy-mm-dd)."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date (yyyy-mm-dd)."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "location": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Only notes for this location id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "List day notes",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_attendance",
          "title": "List attendance records",
          "description": "List time & attendance records (clock-in/out times, breaks, minutes late, hours, approval state) in a time range. GET /attendance.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "roles": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these role ids."
              },
              "start": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these user ids."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "approved": {
                "type": "boolean",
                "description": "true = only approved records, false = only unapproved."
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these location ids."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted records."
              }
            }
          },
          "annotations": {
            "title": "List attendance records",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_clocked_in",
          "title": "List clocked-in users",
          "description": "Who is clocked in right now: user, location, role, clock-in time, minutes late and break state. GET /users_clocked_in.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List clocked-in users",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_leave",
          "title": "List leave",
          "description": "List booked leave (holiday, sickness, etc.) with type, user, dates, hours and status. Filter by date range or leave year, users and leave types; pending/denied/expired requests are excluded unless asked for. GET /leave.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date (yyyy-mm-dd)."
              },
              "year": {
                "type": "integer",
                "maximum": 2100,
                "minimum": 2000,
                "description": "Leave year instead of a date range."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date (yyyy-mm-dd)."
              },
              "types": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these leave type ids (see rotacloud_list_leave_types)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these user ids."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "include_denied": {
                "type": "boolean",
                "description": "Include denied leave requests."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted leave."
              },
              "include_expired": {
                "type": "boolean",
                "description": "Include expired leave requests."
              },
              "include_requested": {
                "type": "boolean",
                "description": "Include pending leave requests."
              }
            }
          },
          "annotations": {
            "title": "List leave",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_leave_requests",
          "title": "List leave requests",
          "description": "List leave requests awaiting a decision (and past ones): user, leave type, dates, half days, the employee's message. GET /leave_requests.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "Include deleted requests."
              }
            }
          },
          "annotations": {
            "title": "List leave requests",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_get_leave_request",
          "title": "Get leave request",
          "description": "One leave request by id, with the per-day breakdown. GET /leave_requests/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "request_id"
            ],
            "properties": {
              "request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get leave request",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_leave_types",
          "title": "List leave types",
          "description": "List leave types (Holiday, Sickness, Unpaid, ...) with id, short name and whether employees can request them. GET /leave_types.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List leave types",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_holiday_allowances",
          "title": "List holiday allowances",
          "description": "Every employee's holiday allowance for a leave year (default and custom allowance, unit, carried over). GET /holiday_allowances/{year}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "year"
            ],
            "properties": {
              "year": {
                "type": "integer",
                "maximum": 2100,
                "minimum": 2000,
                "description": "Leave year, e.g. 2026."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List holiday allowances",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_get_availability",
          "title": "Get availability",
          "description": "Employees' availability per date in a range (available / unavailable times). GET /availability.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date (yyyy-mm-dd)."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date (yyyy-mm-dd)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these user ids."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "Get availability",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_days_off",
          "title": "List days off",
          "description": "Employees' scheduled days off per date in a range. GET /days_off.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date (yyyy-mm-dd)."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date (yyyy-mm-dd)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only these user ids."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List days off",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_list_pay_periods",
          "title": "List pay periods",
          "description": "List pay periods overlapping a date range (id, name, start/end date, locked). GET /pay_periods.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last date (yyyy-mm-dd)."
              },
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "start": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First date (yyyy-mm-dd)."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              }
            }
          },
          "annotations": {
            "title": "List pay periods",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_get_payroll",
          "title": "Get payroll for a pay period",
          "description": "Payroll for one pay period, per employee: pay settings, attendance worked, paid/unpaid leave, overtime and pay totals. Contains pay data. GET /pay_periods/{id}/payroll.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "pay_period_id"
            ],
            "properties": {
              "limit": {
                "type": "integer",
                "maximum": 500,
                "description": "Results per page, 1-500 (RotaCloud may cap it lower; the reply's total and next_offset show what is left).",
                "exclusiveMinimum": 0
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Index of the first result; pass the previous reply's next_offset."
              },
              "pay_period_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Pay period id (from rotacloud_list_pay_periods).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Get payroll for a pay period",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_create_shift",
          "title": "Create shift",
          "description": "WRITE: create a shift on the rota. Leave user_id out for an open shift. Unpublished by default (employees see it once published). POST /shifts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start_time",
              "end_time",
              "location_id"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "maxLength": 2000,
                "description": "Shift notes shown to the employee."
              },
              "role_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Role id.",
                "exclusiveMinimum": 0
              },
              "user_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Assigned user id; omit for an open shift.",
                "exclusiveMinimum": 0
              },
              "end_time": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "published": {
                "type": "boolean",
                "description": "Publish immediately (default false)."
              },
              "start_time": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "location_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Location id.",
                "exclusiveMinimum": 0
              },
              "minutes_break": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unpaid break in minutes."
              }
            }
          },
          "annotations": {
            "title": "Create shift",
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_update_shift",
          "title": "Update shift",
          "description": "WRITE: change a shift's times, assignee, location, role, break, notes or published state. Only the fields you pass change. POST /shifts/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "shift_id"
            ],
            "properties": {
              "notes": {
                "type": "string",
                "maxLength": 2000,
                "description": "Shift notes."
              },
              "role_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "New role id.",
                "exclusiveMinimum": 0
              },
              "user_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "New assignee; null makes it an open shift."
              },
              "end_time": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "shift_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Shift id.",
                "exclusiveMinimum": 0
              },
              "published": {
                "type": "boolean",
                "description": "Published state."
              },
              "start_time": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "location_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "New location id.",
                "exclusiveMinimum": 0
              },
              "minutes_break": {
                "type": "integer",
                "maximum": 9007199254740991,
                "minimum": 0,
                "description": "Unpaid break in minutes."
              }
            }
          },
          "annotations": {
            "title": "Update shift",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_publish_shifts",
          "title": "Publish shifts",
          "description": "WRITE: publish shifts so the assigned employees see them (and get notified). POST /shifts_published.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "shift_ids"
            ],
            "properties": {
              "shift_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 500,
                "minItems": 1,
                "description": "Ids of the shifts to publish."
              }
            }
          },
          "annotations": {
            "title": "Publish shifts",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_find_shifts",
          "title": "Find shifts",
          "description": "Find shifts in a time range by open/assigned state, published state, location, role and ELAPSED duration (end − start; the break is not subtracted). It reads page after page, so it is the way to select shifts for a bulk change such as rotacloud_delete_shifts: e.g. open shifts shorter than 3 hours = open: true, shorter_than_minutes: 180 (a shift of exactly 180 minutes does not match). Deleted shifts never match. Returns up to max_results matches (shift_ids plus a summary each: UTC times, elapsed_minutes, user, location, role, published). complete: true = the whole range was read. Otherwise pass next_offset as offset to continue — but after deleting or changing shifts, search again from offset 0, because the list positions move. GET /shifts.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "start",
              "end"
            ],
            "properties": {
              "end": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "open": {
                "type": "boolean",
                "description": "true = only open (unassigned) shifts, false = only assigned shifts, omit = both."
              },
              "roles": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only shifts with these role ids."
              },
              "start": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Unix timestamp (seconds), an ISO 8601 date (2026-10-12 = 00:00 UTC) or an ISO 8601 date-time with a time zone (2026-10-12T09:00:00+01:00 or ...Z)."
              },
              "users": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "description": "Only shifts of these user ids (add 0 to include open shifts)."
              },
              "offset": {
                "type": "integer",
                "maximum": 1000000,
                "minimum": 0,
                "description": "Position in the range to start reading at; pass the previous reply's next_offset (0 again after a delete)."
              },
              "locations": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "description": "Only shifts at these location ids."
              },
              "published": {
                "type": "boolean",
                "description": "true = only published shifts, false = only unpublished (draft) shifts."
              },
              "max_results": {
                "type": "integer",
                "maximum": 100,
                "minimum": 1,
                "description": "Most matches to return (1-100, default 100; rotacloud_delete_shifts takes up to 100 ids)."
              },
              "at_least_minutes": {
                "type": "number",
                "minimum": 0,
                "description": "Only shifts whose elapsed duration is this many minutes or more."
              },
              "shorter_than_minutes": {
                "type": "number",
                "description": "Only shifts whose elapsed duration is strictly less than this many minutes.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Find shifts",
            "readOnlyHint": true
          }
        },
        {
          "name": "rotacloud_delete_shifts",
          "title": "Delete shifts",
          "description": "WRITE — deletes shifts from the rota (assigned employees lose the shift). Delete 1-100 shifts by id; select them first with rotacloud_find_shifts. Without confirm it only previews: it reads each shift and deletes nothing. Show the preview to the user, then call again with confirm: true. Guards re-check each shift right before its delete and skip it if it no longer qualifies: require_open (skip assigned shifts), require_shorter_than_minutes (skip shifts whose elapsed duration is not strictly less). After each delete the shift is read again to verify it is gone. DELETE /shifts/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "shift_ids"
            ],
            "properties": {
              "confirm": {
                "type": "boolean",
                "description": "true = delete now. Omit or false = preview only (nothing is deleted)."
              },
              "shift_ids": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "maxItems": 100,
                "minItems": 1,
                "description": "Ids of the shifts to delete (1-100)."
              },
              "require_open": {
                "type": "boolean",
                "description": "true = delete a shift only if it is still open (unassigned) at delete time."
              },
              "require_shorter_than_minutes": {
                "type": "number",
                "description": "Delete a shift only if its elapsed duration (end − start) is still strictly less than this many minutes.",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Delete shifts",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_create_leave_request",
          "title": "Request leave",
          "description": "WRITE: submit a leave request on behalf of an employee (sent as that user, for a manager to approve). POST /leave_requests with the User header.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "user_id",
              "leave_type_id",
              "start_date",
              "end_date"
            ],
            "properties": {
              "message": {
                "type": "string",
                "maxLength": 2000,
                "description": "Message from the employee to the manager."
              },
              "user_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "The employee requesting leave (the request is made as this user).",
                "exclusiveMinimum": 0
              },
              "end_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Last day (yyyy-mm-dd)."
              },
              "end_am_pm": {
                "enum": [
                  "am",
                  "pm"
                ],
                "type": "string",
                "description": "'am' ends at midday (half day); default 'pm'."
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "First day (yyyy-mm-dd)."
              },
              "start_am_pm": {
                "enum": [
                  "am",
                  "pm"
                ],
                "type": "string",
                "description": "'pm' starts at midday (half day); default 'am'."
              },
              "leave_type_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave type id (see rotacloud_list_leave_types; must be requestable).",
                "exclusiveMinimum": 0
              }
            }
          },
          "annotations": {
            "title": "Request leave",
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_approve_leave_request",
          "title": "Approve leave request",
          "description": "WRITE: approve a pending leave request (it becomes booked leave and the employee is notified). POST /leave_requests/{id}/approve.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "request_id"
            ],
            "properties": {
              "request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id.",
                "exclusiveMinimum": 0
              },
              "admin_message": {
                "type": "string",
                "maxLength": 2000,
                "description": "Message to the employee."
              }
            }
          },
          "annotations": {
            "title": "Approve leave request",
            "idempotentHint": true,
            "destructiveHint": true
          }
        },
        {
          "name": "rotacloud_deny_leave_request",
          "title": "Deny leave request",
          "description": "WRITE: deny a pending leave request (the employee is notified). POST /leave_requests/{id}/deny.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "request_id"
            ],
            "properties": {
              "request_id": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Leave request id.",
                "exclusiveMinimum": 0
              },
              "admin_message": {
                "type": "string",
                "maxLength": 2000,
                "description": "Reason shown to the employee."
              }
            }
          },
          "annotations": {
            "title": "Deny leave request",
            "idempotentHint": true,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with RotaCloud here, with example requests to try."
        },
        {
          "name": "see_who_works_when_and_where",
          "description": "The AI lists rota shifts for a time range, filtered by location, role or user, and shows open shifts. You get a plain view of who is working and which shifts have no one."
        },
        {
          "name": "check_who_is_clocked_in_and_who_is_late",
          "description": "The AI reads who is clocked in right now, with location, role, minutes late and break state. It can also check past attendance records for a time range."
        },
        {
          "name": "handle_leave_requests",
          "description": "The AI lists leave requests that wait for a decision and reads the dates, leave type and employee message. It can approve or deny a request when you say so."
        },
        {
          "name": "create_and_publish_shifts",
          "description": "The AI creates shifts with times, location and role, assigned or open, then publishes them so employees see them. It checks availability and days off first."
        },
        {
          "name": "clean_up_short_open_shifts",
          "description": "The AI finds open shifts shorter than a set time, shows a preview, and deletes them only after you confirm. Assigned shifts can be skipped."
        },
        {
          "name": "review_payroll_for_a_pay_period",
          "description": "The AI reads payroll per employee for a pay period: attendance worked, paid and unpaid leave, overtime and pay totals. It sums up the period for you."
        }
      ]
    },
    "instructions": "Tools for RotaCloud, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Who is working tomorrow and at which location?\"; \"Who is clocked in right now and is anyone late?\"; \"Which leave requests are waiting for my decision?\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes RotaCloud data. Free plan: 50 tool calls per month. Run rotacloud_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 rotacloud_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 rotacloud_upgrade without a plan: it returns both plans, each with a payment link for the user to open. rotacloud_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."
}