Rosterfy MCP by usefulapi

v1.6.1
io.usefulapi/rosterfy Checked 3 days ago Published 1 day ago

Read people, events, training and rewards; assign and remove people on shifts in Rosterfy.

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

rosterfy_get_current_user Get the current user

Return the signed-in integration user: their profile, what they may do, and their user type. A quick check that the connection works. Rosterfy: GET /api/v2/user/me.

rosterfy_list_users List users

List the people on the account, one page at a time, with their contact details and custom attributes. Use filter to find someone, for example attr name with operator like. Rosterfy: GET /api/v2/user.

ParameterTypeDescription
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_get_user Get a user

Return one person's full record, with their subscription and verification state. Rosterfy: GET /api/v2/user/{id}.

ParameterTypeDescription
user_id *integerThe user id.

rosterfy_list_events List events

List the events on the account, one page at a time. An event holds shifts; each shift has statuses that rosterfy_assign_user_to_shift needs. Rosterfy: GET /api/v2/event.

ParameterTypeDescription
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_get_event Get an event

Return one event: when and where it runs, who may see it, and the shift status defaults each shift inherits. Rosterfy: GET /api/v2/event/{id}.

ParameterTypeDescription
event_id *integerThe event id.

rosterfy_list_shift_assignments List shift assignments

List the people on one shift, with their status and check-in times, one page at a time. Rosterfy: GET /api/v2/event/{event_id}/shift/{shift_id}/user.

ParameterTypeDescription
event_id *integerThe event id.
shift_id *integerThe shift id.
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_get_shift_assignment Get a shift assignment

Return one person's place on one shift: their status, check-in and check-out times, break and any rating. Rosterfy: GET /api/v2/event/{event_id}/shift/{shift_id}/user/{id}.

ParameterTypeDescription
event_id *integerThe event id.
shift_assignment_id *integerThe shift assignment id.
shift_id *integerThe shift id.

rosterfy_list_training_modules List training modules

List the training modules the account can use, including modules from an account above it. Rosterfy: GET /api/v2/training.

ParameterTypeDescription
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_list_training_assignments List training assignments

List the people assigned to one training module, with each person's status and progress. Rosterfy: GET /api/v2/training/{training_id}/user.

ParameterTypeDescription
training_id *integerThe training module id.
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_list_certificate_holders List certificate holders

List the people a certificate was issued to, one row per issue. Give certificate_id for one certificate, or leave it out for all. Rosterfy: GET /api/v2/certificate/user or GET /api/v2/certificate/{certificate_id}/user.

ParameterTypeDescription
certificate_idintegerThe certificate id.
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_get_reward_balance Get a reward point balance

Return one user's reward point balance: the points they hold now and who they belong to. Rosterfy: GET /api/v2/reward-point/user/{id}.

ParameterTypeDescription
user_id *integerThe user id.

rosterfy_list_reports List reports

List the account's reports and their generation state, one page at a time. This does not regenerate any report. Rosterfy: GET /api/v2/report.

ParameterTypeDescription
filterarrayFilter conditions. Each item is {attr, operator, value}. The filterable attributes differ per resource.
pageintegerPage of results, from 1. Default 1.
per_pageintegerRecords per page, 1 to 100. Default 25.
sort_bystringAttribute to sort on, for example id. Sorting is not applied unless set.
sort_orderstringSort direction. Default asc.

rosterfy_get_report Get a report

Return one report's definition and its generation state (queued, processing, completed or failed). This does not regenerate it. Rosterfy: GET /api/v2/report/{id}.

ParameterTypeDescription
report_id *integerThe report id.

rosterfy_assign_user_to_shift Assign a user to a shift

Put one person on one shift at the status you give. Read the status id from rosterfy_get_event first. A status the account treats as cancelled, or a full shift, is refused with a 422. Rosterfy: POST /api/v2/event/{event_id}/shift/{shift_id}/user.

ParameterTypeDescription
event_id *integerThe event id.
event_shift_status_id *integerThe shift status id.
shift_id *integerThe shift id.
user_id *integerThe user to put on the shift id.
is_leaderbooleanWhether this person leads the shift.

rosterfy_remove_user_from_shift Remove a user from a shift

Take one person off one shift. The assignment is soft-deleted, so the history stays. On a linked series, the first call returns a 400 that asks about later shifts; repeat the call with repeat set to true to remove them from those too. Rosterfy: DELETE /api/v2/event/{event_id}/shift/{shift_id}/user/{id}.

ParameterTypeDescription
event_id *integerThe event id.
shift_assignment_id *integerThe shift assignment id.
shift_id *integerThe shift id.
repeatbooleanAlso remove the person from every later linked shift.