When I Work MCP by usefulapi

io.usefulapi/when-i-work · v1.40.6 · communication

When I Work MCP by usefulapi is healthy: it completed an MCP handshake in 2025 ms and exposes 21 tools.

Check shifts, time clock entries, time-off requests, swaps and availability, and manage shifts.

Endpoint: https://when-i-work.usefulapi.io/mcp (streamable-http)

Repository · Website · JSON · Add to my inventory

Facts

Users (last 30 days)0
HandshakeHealthy
Auth neededNone
Tool count21
Latency2025 ms
Last checked (UTC)2026-11-29T11:30:28.050Z

Health history

Checked (UTC)StatusLatencyError
2026-11-29T11:30:28.050ZHealthy2025
2026-11-27T02:50:36.892ZHealthy3208
2026-11-24T19:50:21.453ZHealthy2451
2026-11-22T15:00:25.280ZHealthy1587
2026-11-20T11:40:31.351ZHealthy669
2026-11-18T09:25:49.379ZHealthy1304
2026-11-16T08:35:16.747ZHealthy622
2026-11-14T09:20:59.803ZHealthy3251
2026-11-12T11:00:25.318ZHealthy354
2026-11-10T13:50:34.624ZHealthy1387
2026-11-08T17:55:22.042ZHealthy836
2026-11-06T23:15:42.045ZHealthy475
2026-11-05T05:20:45.405ZHealthy529
2026-11-03T12:10:23.606ZHealthy1062
2026-11-01T20:20:26.009ZHealthy265
2026-10-31T05:25:21.348ZHealthy493
2026-10-29T15:15:25.880ZHealthy453
2026-10-28T01:30:18.088ZHealthy475
2026-10-26T13:05:11.924ZHealthy350
2026-10-25T01:25:08.407ZHealthy145

Tools (21)

wheniwork_get_accountFetch the When I Work account (workplace) the token acts on — company name, plan and settings; for a parent account also its child accounts. A cheap way to confirm the credentials work. When I Work: GET /2/account.
wheniwork_list_usersList the employees, supervisors, managers and admins in the account, optionally limited to some schedules or searched by name/email. Returns 25 per call by default; page with offset (next_offset is null on the last page). Role codes: 1 admin, 2 manager, 3 employee, 5 supervisor. When I Work: GET /2/
wheniwork_get_userFetch one user by id — name, email, role, positions, schedules, wage. When I Work: GET /2/users/{id}.
wheniwork_list_locationsList the schedules in the account. The API calls a schedule a "location"; its id is the location_id every shift belongs to. When I Work: GET /2/locations.
wheniwork_list_positionsList the positions (job roles such as Cashier or Dishwasher) in the account. When I Work: GET /2/positions.
wheniwork_list_shiftsList scheduled shifts in a time window — who works when, where and in which position — optionally including open shifts and unpublished drafts. Answers "who is on on Friday?" and "what open shifts are left?". Returns up to 25 shifts by default (limit up to 1000); narrow the window to see more. When
wheniwork_get_shiftFetch one shift by id, including its breaks and publish state. When I Work: GET /2/shifts/{id}.
wheniwork_list_eligible_users_for_shiftFind who could take an open shift — either an existing shift (shift_id) or a hypothetical one (start, end, position_id and location_id all required). When I Work: GET /2/shifts/eligible.
wheniwork_list_timesList clocked time entries — actual hours worked, clock-in/out times, length and approval state. Use only_open to see who is clocked in right now. Returns 25 per call by default; page with offset (next_offset is null on the last page). When I Work: GET /2/times.
wheniwork_list_time_off_requestsList time-off requests in a date range, with the requesting users. Status: 0 pending, 1 canceled, 2 accepted, 3 expired, 4 denied. When I Work: GET /2/requests.
wheniwork_get_time_off_requestFetch one time-off request by id, with its message thread and users. When I Work: GET /2/requests/{request_id}.
wheniwork_list_time_off_typesList the time-off types (e.g. Personal, Sick, Holiday) and whether each allows paid time. Their ids are the type_id for a new request. When I Work: GET /2/requesttypes.
wheniwork_list_shift_swapsList shift requests: swaps, drops and alerts, with the shifts and users involved. Status: 0 pending, 1 approved, 2 declined, 3 completed, 4 canceled, 5 expired. Type: 1 swap, 2 drop, 3 alert. start and end must be given together. When I Work: GET /2/swaps.
wheniwork_list_availabilityList availability events — when people said they can or cannot work, including recurring patterns that fall in the window. Defaults to the caller, from now to two weeks out. When I Work: GET /2/availabilityevents.
wheniwork_list_annotationsList schedule annotations — announcements, business-closed days and blackout dates when time off is not allowed. Defaults to today through one year out. When I Work: GET /2/annotations.
wheniwork_create_shiftCreate one shift on a schedule — assigned to a user, or open (user_id 0). Created as a draft unless published is true. Undo by editing it or unpublishing. When I Work: POST /2/shifts.
wheniwork_update_shiftChange a shift — reassign it, move it, change position or notes. When I Work requires start_time, end_time and location_id on every update, so fetch the shift first and pass them back. This tool never sends a breaks array; When I Work documents that breaks omitted from an update's breaks list are re
wheniwork_publish_shiftsPublish draft shifts so employees can see them. Publishing does not itself send notifications. Undo with wheniwork_unpublish_shifts. When I Work: POST /2/shifts/publish.
wheniwork_unpublish_shiftsReturn published shifts to draft, hiding them from employees. Undo with wheniwork_publish_shifts. When I Work: POST /2/shifts/unpublish.
wheniwork_create_time_off_requestCreate a time-off request for a user (default the calling user). It starts pending; cancel it with wheniwork_update_time_off_request (status 1). Get type ids from wheniwork_list_time_off_types. When I Work: POST /2/requests.
wheniwork_update_time_off_requestChange a time-off request: set its status (0 pending, 1 canceled, 2 accepted/approved, 3 expired, 4 denied) and/or its dates or hours. Reversible — set the status back. start_time and end_time must be given together. When I Work: PUT /2/requests/{request_id}.