Humaans MCP by usefulapi

v1.1.1
io.usefulapi/humaans Checked 2 days ago Published 2 days ago

Read people, org units and time away, and book time away in Humaans.

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

humaans_token_info Show token scopes and expiry

Show the scopes of the current API access token and when it expires (null = never). Call this first to see what the token can read. Humaans API: GET /api/token-info.

humaans_get_me Get my profile

Get the profile of the person who owns the current token. The fields returned are the ones the token's scopes allow (public:read gives public fields; private:read gives full profile fields). Humaans API: GET /api/me.

humaans_list_people List people

List people with their profile fields. By default only active people come back; use status to include others (offboarded, newHire, all). Which fields come back depends on the token's scopes (public:read = public fields only; private:read = full profiles except compensation and documents). Use limit and skip to page. Humaans API: GET /api/people.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).
statusstringPerson status filter (default active).

humaans_get_person Get a person

Get one person's profile by id. Humaans API: GET /api/people/{id}.

ParameterTypeDescription
person_id *stringThe record id.

humaans_list_job_roles List job roles

List job roles (job title, department, reporting line, effective dates). Optionally filter by person. Humaans API: GET /api/job-roles.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
person_idstringFilter by person id (from humaans_list_people).
skipintegerRecords to skip, for paging (default 0).

humaans_list_locations List locations

List office locations with their address and time zone. Remote staff keep their own city and time zone on their person record (see humaans_list_people). Humaans API: GET /api/locations.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_org_units List org units

List organisation units (teams, departments and their parents) with reporting leaders. Optionally filter by hierarchy or archived state. Needs the orgModel:read scope. Humaans API: GET /api/org-units.

ParameterTypeDescription
is_archivedbooleantrue = archived units only, false = active units only.
limitintegerRecords per page (default 100, maximum 250).
org_hierarchy_idstringFilter by org hierarchy id.
skipintegerRecords to skip, for paging (default 0).

humaans_list_contract_types List contract types

List the contract types the company uses (for example full-time or contractor). Humaans API: GET /api/contract-types.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_working_patterns List working patterns

List working patterns (weekly working hours and days). Humaans API: GET /api/working-patterns.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_custom_fields List custom fields

List the company's custom field definitions (names and types). This returns definitions only; use humaans_list_custom_values for the values people have. Humaans API: GET /api/custom-fields.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_custom_values List custom values

List the custom field values set on people (each value links a custom field to a person). Use humaans_list_custom_fields for the field names and types. Humaans API: GET /api/custom-values.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_time_away List time away

List holiday, sick and other time-away entries. Filter by person, request status (pending, approved or declined) and start date range. Humaans API: GET /api/time-away.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
person_idstringFilter by person id (from humaans_list_people).
request_statusstringFilter by request status.
skipintegerRecords to skip, for paging (default 0).
start_fromstringEntries starting on or after this date (yyyy-mm-dd).
start_tostringEntries starting on or before this date (yyyy-mm-dd).

humaans_list_time_away_types List time away types

List the time-away types (for example Annual leave, Sick leave) with their category. Humaans API: GET /api/time-away-types.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_time_away_policies List time away policies

List time-away policies with their rules and yearly allowances. Humaans API: GET /api/time-away-policies.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_time_away_allocations List time away allocations

List which time-away policy each person is on, with effective dates. Humaans API: GET /api/time-away-allocations.

ParameterTypeDescription
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_list_timesheet_entries List timesheet entries

List logged timesheet entries (date, start, end, duration) for a date range. Humaans API: GET /api/timesheet-entries.

ParameterTypeDescription
date_fromstringEntries on or after this date (yyyy-mm-dd).
date_tostringEntries on or before this date (yyyy-mm-dd).
limitintegerRecords per page (default 100, maximum 250).
skipintegerRecords to skip, for paging (default 0).

humaans_create_time_away Book time away

Book a time-away entry for a person (creates a record; cannot be undone by this tool). Call once per booking: a repeated call creates a second entry, so check humaans_list_time_away first after a timeout. The result shows requestStatus (pending, approved or declined), set by the company's approval rules. Needs private:write. Humaans API: POST /api/time-away.

ParameterTypeDescription
end_date *stringLast day of the entry (yyyy-mm-dd, inclusive).
person_id *stringPerson id the time away belongs to.
start_date *stringFirst day of the entry (yyyy-mm-dd, inclusive).
time_away_type_id *stringTime-away type id (from humaans_list_time_away_types).
end_periodstringLast day taken as full, morning or afternoon (default full). For a same-day booking, match start_period.
notestringOptional note. Visible to the person, their manager and admins.
start_periodstringFirst day taken as full, morning or afternoon (default full).