Go2Clock MCP by usefulapi
v1.9.0Read clock records, timesheets and rotas; change employees and rotas, add clock records in Go2Clock.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
go2clock_list_users List clock users
List every clock user with id, name, department, shift, payroll number and manager flag. Clock PINs are removed. Go2Clock API: POST /api/users/.
go2clock_list_employees List employee details
List employee details: contact, department, trade, pay rates, roles, start and termination dates. Go2Clock API: POST /api/employees/.
go2clock_list_clock_records List clock records for a day
List every clocking record (punch) for one date. Go2Clock API: POST /api/punches/ with punch_date.
| Parameter | Type | Description |
|---|---|---|
punch_date * | string | Date to read, yyyy-mm-dd. |
go2clock_list_clock_records_range List clock records for a date range
List clocking records between two dates, optionally for one employee. Keep the range to 7 days or fewer per call; Go2Clock advises against larger pulls. Go2Clock API: POST /api/punches_range/.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last date, yyyy-mm-dd. |
start_date * | string | First date, yyyy-mm-dd. |
userid | string | Employee ID (userid), numeric. |
go2clock_get_timesheet_csv Get timesheet CSV
Generate the timesheet report as CSV for up to 7 days, optionally for one department or one employee. Returns the CSV text. Go2Clock API: POST /api/timesheet_csv_v1.
| Parameter | Type | Description |
|---|---|---|
nodays * | integer | Number of days, 1 to 7. |
start_date * | string | First day of the report, yyyy-mm-dd. |
dept | string | Department name to filter by (default: all departments). |
userid | string | Employee ID (userid), numeric. |
go2clock_get_rota Get employee rota
Read an employee's rota (shift schedule) between two dates: shift name, colour and planned hours per day. Go2Clock API: GET /api/employee_rota.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last date, yyyy-mm-dd. |
start_date * | string | First date, yyyy-mm-dd. |
userid * | string | Employee ID (userid), numeric. |
go2clock_update_employee Update employee details
Change some details of one existing employee. Send only the fields to change. Go2Clock API: PUT /api/employee_update. Does not change sign-in passwords or roles.
| Parameter | Type | Description |
|---|---|---|
userid * | string | Employee ID (userid), numeric. |
deptname | string | |
email | string | |
holiday_total_allowed | string | number | |
home_address | string | |
home_phone | string | |
hourlypay | string | number | |
max_hours_day | string | number | |
max_hours_week | string | number | |
mobilenumber | string | |
name | string | |
payrate | string | number | |
payrollno | string | |
peoplehr_employeeid | string | |
sagehr_employeeno | string | |
start_date | string | |
termination_date | string | |
termination_reason | string | |
tradename | string |
go2clock_upload_employees Create or update employees
Upload a list of employees (new or changed). Go2Clock keys each record on userid. Sends a JSON array. Go2Clock API: PUT /api/employees/. Does not set passwords or roles.
| Parameter | Type | Description |
|---|---|---|
employees * | array | Employees to create or update. |
go2clock_upload_clock_record Add a clock record
Add one clocking record (punch) for an employee. Go2Clock refuses a duplicate record. Go2Clock API: PUT /api/punches/.
| Parameter | Type | Description |
|---|---|---|
checktime * | string | When the employee clocked, yyyy-mm-ddThh:mm:ss. |
checktype * | string | number | 0 = in, 1 = out, or another number your instance uses. |
userid * | string | Employee ID (userid), numeric. |
deviceserial | string | |
eventdescription | string | |
latitude | string | number | |
longitude | string | number | |
sensorid | string | number | |
worktype | string | number | Job code number. |
go2clock_create_rota Create rota shifts
Put a named shift on an employee's rota for one or more days from a start date. An existing rota entry on the same date is replaced. The shift name must match a shift in Go2Clock's shift settings. Go2Clock API: POST /api/employee_rota.
| Parameter | Type | Description |
|---|---|---|
shift_name * | string | Shift name exactly as set in Go2Clock shift settings. |
start_date * | string | First day of the shift, yyyy-mm-dd. |
userid * | string | Employee ID (userid), numeric. |
nodays | integer | Consecutive days from the start date (default 1). |