Easy Employer MCP by usefulapi

v1.2.1
io.usefulapi/easy-employer Checked 2 days ago Published 1 day ago

Read rosters, timesheets, leave and users; create leave requests in Easy Employer.

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

easyemployer_get_settings Get organisation settings

Get the organisation name, time zone, and feature flags (timesheets, flexible leave) for the configured organisation. Good first call to check the connection. API: GET /org/{org}/settings.

easyemployer_list_users List users

List employees (users) in the organisation. Optional `include` and `filter` take the JSON strings the API documents, e.g. filter {"active":{"eq":true}}. API: GET /api/2/users.

ParameterTypeDescription
filterstringJSON object string filter, e.g. {"active":{"eq":true}}.
includestringJSON array string of payload parts to include, e.g. ["personal_details","contact_details"].

easyemployer_get_user Get a user

Get one employee by user ID, with contact, employment and pay fields. API: GET /api/1/user/{user_id}.

ParameterTypeDescription
user_id *integerThe Easy Employer user ID.

easyemployer_list_roster_shifts List roster shifts

List assigned roster shifts (who is rostered where and when) with optional date range and paging. API: GET /org/{org}/assigned_roster_shift.

ParameterTypeDescription
date_endintegerShifts ending at or before this Unix timestamp.
date_startintegerShifts starting at or after this Unix timestamp.
include_groupbooleanInclude this extra detail in the response.
include_rolesbooleanInclude this extra detail in the response.
pageintegerPage number (default 1).
per_pageintegerResults per page.
status1 = active records (default), 0 = deleted records.

easyemployer_list_unassigned_roster_shifts List open roster shifts

List roster shifts that have no employee assigned yet (open shifts), with optional date range. API: GET /org/{org}/unassigned_roster_shift.

ParameterTypeDescription
date_endintegerShifts ending at or before this Unix timestamp.
date_startintegerShifts starting at or after this Unix timestamp.
include_groupbooleanInclude this extra detail in the response.
pageintegerPage number (default 1).
per_pageintegerResults per page.
status1 = active records (default), 0 = deleted records.

easyemployer_list_groups List groups

List organisation groups (areas, roles, sites) that shifts and users belong to. API: GET /api/1/group.

ParameterTypeDescription
typestringGroup type to filter for, e.g. area, role or site.

easyemployer_list_roles List roles

List the roles defined in the organisation. API: GET /api/2/roles.

easyemployer_list_awards List awards

List the awards (pay and conditions rules) the organisation uses. API: GET /api/2/awards.

easyemployer_list_timesheet_shifts List timesheet shifts

List actual (clocked) timesheet shifts with optional date range. Use these for payroll checks. API: GET /org/{org}/actual_shift.

ParameterTypeDescription
date_endintegerShifts ending at or before this Unix timestamp.
date_startintegerShifts starting at or after this Unix timestamp.
pageintegerPage number (default 1).
per_pageintegerResults per page.
status1 = active records (default), 0 = deleted records.

easyemployer_list_leave List leave requests

List leave requests, optionally for one user and a date range. API: GET /org/{org}/leave.

ParameterTypeDescription
date_endintegerLeave whose end date is at or before this Unix timestamp.
date_startintegerLeave whose start date is at or after this Unix timestamp.
pageintegerPage number (default 1).
per_pageintegerResults per page.
status1 = active records (default), 0 = deleted records.
user_idintegerOnly leave for this user ID.

easyemployer_list_leave_types List leave types

List the leave types (e.g. annual, sick) the organisation offers. API: GET /org/{org}/leave_type.

ParameterTypeDescription
pageintegerPage number (default 1).
per_pageintegerResults per page.
status1 = active records (default), 0 = deleted records.
user_idintegerOnly leave types available to this user ID.

easyemployer_create_leave_request Create a leave request

Create a leave request for a user. This creates a record the user and managers see; it does not approve it. Dates are Unix timestamps in seconds. API: POST /org/{org}/leave.

ParameterTypeDescription
date_end *integerEnd of the leave, inclusive.
date_start *integerStart of the leave, inclusive.
leave_type_id *integerThe leave type ID (see easyemployer_list_leave_types).
user_id *integerThe user the leave is for.
commentstringComment for the leave request.
date_end_all_day1 if the leave covers all of the end day.
date_start_all_day1 if the leave covers all of the start day.
flexible1 if the leave is flexible.
paid1 if the leave is paid, 0 if unpaid.