TempClock MCP by usefulapi

v1.6.1
io.usefulapi/tempclock Checked 1 day ago Published 9 hours ago

Read workers, sites, time entries and bookings; see who is on site now in TempClock.

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

tempclock_list_workers List workers

List workers (name, employee id, site, department, status, dormant flag), or one worker by id. TempClock API: GET /api/v1/workers.php.

ParameterTypeDescription
activebooleantrue for active workers, false for inactive ones.
department_idintegerWorkers in one department.
dormantbooleantrue = only dormant workers.
idintegerOne worker by id.
limitintegerRows per page, 1 to 100 (default 50).
location_idintegerWorkers at one site (from tempclock_list_locations).
offsetintegerRows to skip (default 0).
searchstringName, employee id or email contains this text.
statusstringpending = registered themselves and not approved yet.
updated_sincestringOnly records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.

tempclock_list_locations List sites

List sites (locations) the key can see, or one site by id. Use the ids in other tools' location_id filters. TempClock API: GET /api/v1/locations.php.

ParameterTypeDescription
activebooleantrue for active sites, false for inactive ones.
idintegerOne site by id.
limitintegerRows per page, 1 to 100 (default 50).
offsetintegerRows to skip (default 0).

tempclock_list_timesheets List time entries

List clock-in and clock-out time entries, or one entry by id. Default entry_filter=shifts returns completed shifts; active returns open shifts (on site now). Pay and charge figures are not included. TempClock API: GET /api/v1/timesheets.php.

ParameterTypeDescription
approval_statusstringAgency approval state.
client_approvalstringClient sign-off state.
date_fromstringClock-in date from, YYYY-MM-DD.
date_tostringClock-in date to, YYYY-MM-DD.
department_idintegerOne department.
entry_filterstringshifts (default) = completed shifts; active = open shifts clocked in within 18 hours; breaks; all.
idintegerOne time entry by id.
limitintegerRows per page, 1 to 100 (default 50).
location_idintegerOne site.
offsetintegerRows to skip (default 0).
updated_sincestringOnly records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.
worker_idintegerOne worker.

tempclock_list_shifts List bookings

List shift bookings (worker, site, date, times, status), or one booking by id. TempClock API: GET /api/v1/shifts.php.

ParameterTypeDescription
date_fromstringShift date from, YYYY-MM-DD.
date_tostringShift date to, YYYY-MM-DD.
demand_idintegerBookings of one requirement.
department_idintegerBookings in one department.
idintegerOne booking by id.
limitintegerRows per page, 1 to 100 (default 50).
location_idintegerBookings at one site.
offsetintegerRows to skip (default 0).
statusstringOne booking status (for example confirmed or cancelled).
updated_sincestringOnly records created or changed since this ISO 8601 time, for example 2026-10-06T09:00:00Z.
worker_idintegerBookings of one worker.

tempclock_get_on_site_now Who is on site now

Count and list the workers on site right now, per site or for all sites. Set include_workers=false for totals only. TempClock API: GET /api/v1/on-site-now.php.

ParameterTypeDescription
include_workersbooleanfalse = totals only (default true).
location_idintegerOne site (from tempclock_list_locations).