Workyard MCP by usefulapi
v1.16.1Read Workyard employees, projects, time cards and geofences; approve time cards and add notes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
workyard_get_organization Get Workyard organization
The organization this connection uses (id, name, settings such as timezone) from GET /orgs/{org_id}.
workyard_list_employees List Workyard employees
List employees of the organization (employee_id, profile_id, name, title, role, status, contact data). Filter by status (active, removed, saas_disabled, expired; comma list), email, role name or free-text search. Paged: use next_page.
| Parameter | Type | Description |
|---|---|---|
email | string | Exact email filter (comma list allowed; sent as eq:...). |
employee_id | string | One or more employee ids, comma separated. |
limit | integer | Results per page, 1-200 (Workyard default 100). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
role_name | string | Role filter: worker, manager, admin (comma list; sent as eq:...). |
search | string | Free-text search over name, email and identifier. |
status | string | Employee status filter: active, removed, saas_disabled, expired (comma list; sent as eq:...). |
workyard_list_projects List Workyard projects
List projects (id, name, identifier, customer, locations). Optionally filter by name or archived state. Paged: use next_page.
| Parameter | Type | Description |
|---|---|---|
include_computed_totals | boolean | Include computed totals per project. |
is_archived | boolean | true = archived projects only, false = active only (default: Workyard's default). |
limit | integer | Projects per page, 1-200 (default 25). |
name | string | Project name: a plain name matches names starting with it (like:name%); eq:... and like:... forms are passed through. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
workyard_get_project Get Workyard project
One project by id (workyard_list_projects gives the ids).
| Parameter | Type | Description |
|---|---|---|
project_id * | integer | The project id (org_project_id). |
workyard_list_time_cards List Workyard time cards
List time cards (id, employee_id, start_dt_unix, end_dt_unix, status, approver, totals). Workyard returns only status=working when no status is given, so pass status (for example submitted,approved) for finished work. Filter by employee and by start time (unix seconds, interpreted in the organization timezone). Paged: use next_page; the reply also carries time_summary.
| Parameter | Type | Description |
|---|---|---|
employee_id | string | One or more employee ids, comma separated. |
include_last_location | boolean | Include the employee's last known location (personal data). |
limit | integer | Results per page, 1-200 (Workyard default 50). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
sort_by | string | Sort in Workyard syntax: asc: or desc: plus start_dt or updated_at, joined with +, e.g. desc:start_dt. |
start_before_unix | integer | Time card started before this unix time (seconds). |
start_from_unix | integer | Time card started at or after this unix time (seconds). |
status | string | Status filter such as working, submitted, approved or submitted,approved (sent as eq:...). Omitted = working only. |
time_approver_id | string | Filter by approver employee id(s). |
workyard_get_time_card Get Workyard time card
One time card by id, with its details (workyard_list_time_cards gives the ids).
| Parameter | Type | Description |
|---|---|---|
time_card_id * | integer | The time card id. |
workyard_list_time_card_activity_segments List Workyard time card activity segments
The activity segments of one time card (where and on which project the employee worked, segment by segment). Not paged.
| Parameter | Type | Description |
|---|---|---|
time_card_id * | integer | The time card id. |
include_archived_projects | boolean | Include segments of archived projects. |
workyard_list_geofences List Workyard geofences (work sites)
List geofences / work sites (id, name, place, enabled, radius). Filter by name, enabled state or project. Paged: use next_page.
| Parameter | Type | Description |
|---|---|---|
enabled | boolean | Only enabled (true) or disabled (false) geofences. |
limit | integer | Results per page, 1-1000 (Workyard default 1000). |
name | string | Geofence name: a plain name matches names starting with it; eq:... and like:... forms are passed through. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
project_id | string | Only geofences of this project id (comma list allowed). |
workyard_list_active_geofences List active Workyard geofences
All active geofences with limited data (Workyard: GET active_geofences). It does not say who is clocked in; use workyard_list_time_cards with status working for that.
workyard_list_geofence_projects List projects of a Workyard geofence
The projects attached to one geofence (work site). Paged: use next_page.
| Parameter | Type | Description |
|---|---|---|
geofence_id * | integer | The geofence id (workyard_list_geofences gives the ids). |
is_archived | boolean | true = archived projects only. |
limit | integer | Results per page, 1-200 (Workyard default 50). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
workyard_approve_time_card Approve a Workyard time card
WRITE: approve ONE time card (PATCH .../time_cards/{id}/approve). Approval feeds payroll in Workyard and may not be undoable through the API: only call it when the user asked to approve this exact time card.
| Parameter | Type | Description |
|---|---|---|
time_card_id * | integer | The time card id to approve. |
workyard_add_time_card_note Add a note to a Workyard time card
WRITE: add a text note to one time card (POST .../time_cards/{id}/notes). Adds a new note on every call; it does not edit or delete existing notes.
| Parameter | Type | Description |
|---|---|---|
description * | string | The note text. |
time_card_id * | integer | The time card id. |