Rotageek MCP by usefulapi

v1.9.1
io.usefulapi/rotageek Checked 1 day ago Published 8 hours ago

Read staff, locations, shifts, gaps and leave; create leave requests in Rotageek.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rotageek_list_users List users

List the users (staff) in the organisation, optionally filtered by user ids or a location. Use it first to find the user ids the other tools need. Rotageek API: GET /api/v1/users.

ParameterTypeDescription
location_idstringOnly users at this location id.
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
sortstringSort field.
user_idsarrayOnly these user ids.

rotageek_get_user Get a user

Get one user by id: name, contact details, primary location and status. Rotageek API: GET /api/v1/users/{userId}.

ParameterTypeDescription
user_id *stringThe Rotageek id.

rotageek_list_locations List locations

List the locations (sites) of the organisation. Rotageek API: GET /api/v1/locations.

ParameterTypeDescription
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
sortstringSort field.

rotageek_get_location Get a location

Get one location by id, with its settings. Rotageek API: GET /api/v1/locations/{locationId}.

ParameterTypeDescription
location_id *stringThe Rotageek id.

rotageek_list_location_users List users at a location

List the users assigned to one location. Rotageek API: GET /api/v1/locations/{locationId}/users.

ParameterTypeDescription
location_id *stringThe Rotageek id.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.

rotageek_list_user_shifts List a user's schedule

List the scheduled shifts and leave records of one user between two date-times, with start, end, location and break minutes. Rotageek API: GET /api/v1/schedule/users/{userId}.

ParameterTypeDescription
user_id *stringThe Rotageek id.
fromstringDate and time, e.g. 2026-01-05T09:00:00.
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
record_typestringOnly shifts or only leave records (default: both).
sortstringSort field.
tostringDate and time, e.g. 2026-01-05T09:00:00.

rotageek_list_location_schedule List a location's schedule

List the scheduled shifts and leave records of one location between two date-times, for every user there. Rotageek API: GET /api/v1/schedule/locations/{locationId}.

ParameterTypeDescription
location_id *stringThe Rotageek id.
fromstringDate and time, e.g. 2026-01-05T09:00:00.
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
record_typestringOnly shifts or only leave records (default: both).
sortstringSort field.
tostringDate and time, e.g. 2026-01-05T09:00:00.

rotageek_list_gaps List open gaps

List the open gaps (unfilled shifts) for one or more locations between two date-times. Rotageek API: GET /api/v1/gaps/locations.

ParameterTypeDescription
location_ids *arrayLocation ids to read the gaps of.
add_tasksbooleanInclude the tasks of each gap.
fromstringDate and time, e.g. 2026-01-05T09:00:00.
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
sortstringSort field.
tostringDate and time, e.g. 2026-01-05T09:00:00.

rotageek_list_leave_requests List leave requests

List the leave requests of the organisation, optionally in a leave year or date range. Rotageek API: GET /api/v1/leave/requests.

ParameterTypeDescription
fromstringDate and time, e.g. 2026-01-05T09:00:00.
include_overlappingbooleanInclude requests that only overlap the range.
leave_yearintegerLeave year, e.g. 2026.
orderstringSort order.
pageintegerPage number for paging (zero-based).
page_sizeintegerRecords per page.
sortstringSort field.
tostringDate and time, e.g. 2026-01-05T09:00:00.

rotageek_list_leave_types List leave types

List the leave types (for example holiday or sickness) and their ids. Rotageek API: GET /api/v1/leave/types.

rotageek_create_leave_request Create a leave request

Create a leave request for one user with a leave type id and a start and end date-time. It is saved in Rotageek and can change the rota and holiday balance. Rotageek API: POST /api/v1/leave/requests/users/{userId}.

ParameterTypeDescription
end *stringDate and time, e.g. 2026-01-05T09:00:00.
leave_type_id *stringThe leave type id (from rotageek_list_leave_types).
start *stringDate and time, e.g. 2026-01-05T09:00:00.
user_id *stringThe Rotageek id.
end_all_daybooleanThe last day is a whole day.
notesstringNotes shown on the request.
start_all_daybooleanThe first day is a whole day.

rotageek_get_timesheet Get a week's timesheet

Get the timesheet records of one location for the week that starts on weekStartDate: hours scheduled and worked per user. Rotageek API: GET /api/v1/timesheets/locations/{locationId}/{weekStartDate}.

ParameterTypeDescription
location_id *stringThe Rotageek id.
week_start_date *stringThe first day of the week, yyyy-mm-dd.
worker_typestringOnly this worker type (default: all).

rotageek_list_positions List positions

List the job positions (roles) of the organisation with their ids. Rotageek API: GET /api/v1/positions.

rotageek_list_skills List skills

List the skills of the organisation with their ids. Rotageek API: GET /api/v1/skills.

rotageek_list_payroll_codes List payroll codes

List the payroll codes that shifts and leave map to. Rotageek API: GET /api/v1/payrollcodes.