Humanforce MCP by usefulapi
v1.5.1Read employees, rosters, timesheets, leave requests and clocking status in Humanforce.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
humanforce_list_employees List employees
List employees with summary details (code, name, default location, department and role, active status). Humanforce API: GET /api/1.0/employees.
| Parameter | Type | Description |
|---|---|---|
activeOnly | boolean | Only active employees (true) or include terminated (false). |
defaultDepartmentGuidKey | string | Filter by default department GUID. |
defaultLocationGuidKey | string | Filter by default location GUID. |
employeeCode | string | Filter by employee code. |
lastEdit | string | Only records changed since this date-time (ISO 8601). |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_get_employee Get an employee
Get one employee with all details (personal, employment, roles, locations and departments). Humanforce API: GET /api/1.0/employees/{guidKey}.
| Parameter | Type | Description |
|---|---|---|
guidKey * | string | GUID key of the record (from a list tool). |
roleRevisionEffectiveDate | string | Role revision effective date (yyyy-mm-dd), if the role at a date matters. |
humanforce_list_locations List locations
List locations with summary data (site names and codes). Humanforce API: GET /api/1.0/locations.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_departments List departments
List all departments. Humanforce API: GET /api/1.0/departments.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_roles List roles
List all roles (job roles used for rostering and pay). Humanforce API: GET /api/1.0/roles.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_shift_types List shift types
List shift types, including leave types when isLeaveType is true. Humanforce API: GET /api/1.0/shiftTypes.
| Parameter | Type | Description |
|---|---|---|
isLeaveType | boolean | Only leave types (true) or only non-leave shift types (false). |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_pay_types List pay types
List all pay types used in timesheets and payruns. Humanforce API: GET /api/1.0/payTypes.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_pay_companies List pay companies
List the pay companies (legal payroll entities) in this tenant. Humanforce API: GET /api/1.0/PayCompany.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
humanforce_list_roster_items List roster shifts
List rostered shifts between two dates, with filters for employee, location, department and role. Humanforce API: GET /api/1.0/rosterItems.
| Parameter | Type | Description |
|---|---|---|
dateMax * | string | Date as yyyy-mm-dd. |
dateMin * | string | Date as yyyy-mm-dd. |
departmentGuidKey | string | Filter by department GUID. |
employeeGuidKey | string | Filter by employee GUID. |
includeDeleted | boolean | Include deleted shifts. |
locationGuidKey | string | Filter by location GUID. |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
published | boolean | Only published (true) or unpublished (false) shifts. |
roleGuidKey | string | Filter by role GUID. |
humanforce_list_availability List availability
List employee availability between two dates, optionally for one employee, location or department. Humanforce API: GET /api/1.0/availability.
| Parameter | Type | Description |
|---|---|---|
dateMax * | string | Date as yyyy-mm-dd. |
dateMin * | string | Date as yyyy-mm-dd. |
departmentGuidKey | string | Filter by department GUID. |
employeeGuidKey | string | Filter by employee GUID. |
locationGuidKey | string | Filter by location GUID. |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
recurring | boolean | Only recurring availability (true) or only one-off (false). |
humanforce_list_public_holidays List public holidays
List public holidays between two dates, optionally for one region. Humanforce API: GET /api/1.0/publicHolidays.
| Parameter | Type | Description |
|---|---|---|
dateMax * | string | Date as yyyy-mm-dd. |
dateMin * | string | Date as yyyy-mm-dd. |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
regionGuidKey | string | Filter by region GUID. |
humanforce_get_clocking_status Get clocking status
Get whether an employee is clocked in or out now, in their local time. Humanforce API: GET /api/1.0/clocking/status.
| Parameter | Type | Description |
|---|---|---|
employeeGuidKey * | string | Employee GUID. |
timezoneOffset * | integer | Minutes offset from UTC for local time, for example 600 for Sydney and -240 for New York. |
humanforce_list_timesheets List timesheets
List timesheets in a date range (or pay-date range), with filters for employee, location and approval. Humanforce API: GET /api/1.0/timesheets.
| Parameter | Type | Description |
|---|---|---|
dateMax * | string | Date as yyyy-mm-dd. |
dateMin * | string | Date as yyyy-mm-dd. |
usePayDate * | boolean | Filter on the pay date (true) or the shift date (false). |
authorised | boolean | Only authorised (true) or unauthorised (false) timesheets. |
employeeGuidKey | string | Filter by employee GUID. |
includeDeleted | boolean | Include deleted timesheets. |
locationGuidKey | string | Filter by location GUID. |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |
rostered | boolean | Only rostered (true) or unrostered (false) timesheets. |
humanforce_list_leave_requests List leave requests
List leave requests in a date range, optionally only approved ones or for one employee. Humanforce API: GET /api/1.0/leaveRequest.
| Parameter | Type | Description |
|---|---|---|
dateMax * | string | Date as yyyy-mm-dd. |
dateMin * | string | Date as yyyy-mm-dd. |
approvedStatus | boolean | Only approved (true) or not approved (false) requests. |
deleted | boolean | Only deleted (true) or not deleted (false) requests. |
employeeGuidKey | string | Filter by employee GUID. |
locationGuidKey | string | Filter by location GUID. |
page | integer | Page number (default 1). |
pageSize | integer | Results per page, 1 to 500 (default 100). |