Sesame HR MCP by usefulapi

v1.2.1
io.usefulapi/sesame-hr Checked 3 days ago Published 11 hours ago

Read employees, departments, work entries, absences and shifts in Sesame HR.

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

sesame_token_info Show token info

Show the company behind the API token: name, id, notification e-mail and language. Use it first to check the connection. Sesame API: GET /core/v3/info.

sesame_list_employees List employees

List employees of the company (active by default) with contact, job and organisation fields. Filter by e-mail, code, national id, department, office or entity group. Sesame API: GET /core/v3/employees.

ParameterTypeDescription
codeintegerFind an employee by employee code.
departmentIdsarrayOne or more ids; sent comma separated.
dnistringFind an employee by national id.
emailstringFind an employee by e-mail.
entityGroupIdsarrayOne or more ids; sent comma separated.
integrationCodestringFind an employee by integration code (exact match).
limitintegerResults per page.
officeIdsarrayOne or more ids; sent comma separated.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).

sesame_get_employee Get an employee

Get one employee by id, with the full profile. Sesame API: GET /core/v3/employees/{id}.

ParameterTypeDescription
id *stringEmployee id (UUID), from sesame_list_employees.

sesame_list_departments List departments

List the company departments, optionally filtered by name. Sesame API: GET /core/v3/departments.

ParameterTypeDescription
limitintegerResults per page.
namestringFilter by department name.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).

sesame_list_offices List offices

List the company offices with address and coordinates. Sesame API: GET /core/v3/offices.

ParameterTypeDescription
limitintegerResults per page.
namestringFilter by office name.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).

sesame_list_locations List locations

List the company locations (geofenced places used for clock-in), with address, coordinates and radius. Sesame API: GET /core/v3/locations.

ParameterTypeDescription
limitintegerResults per page.
namestringFilter by location name (contains).
pageintegerPage number (default 1).

sesame_list_roles List roles

List the roles that can be assigned to employees. Sesame API: GET /core/v3/roles.

ParameterTypeDescription
limitintegerResults per page.
pageintegerPage number (default 1).

sesame_list_entity_groups List entity groups

List entity groups (teams or cost-centre groups), optionally for one employee or parent group. Sesame API: GET /core/v3/entity-groups.

ParameterTypeDescription
employeeIdstring
limitintegerResults per page.
namestringFilter by group name (contains).
pageintegerPage number (default 1).
parentIdstring

sesame_list_custom_fields List custom fields

List the company custom fields (oldest first); option fields include their options. Sesame API: GET /core/v3/custom-fields.

ParameterTypeDescription
limitintegerResults per page.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).

sesame_list_job_charges List job charges

List the job charge levels of the company. Sesame API: GET /core/v3/job-charges.

ParameterTypeDescription
limitintegerResults per page.
pageintegerPage number (default 1).

sesame_list_work_entries List work entries

List clock-in and clock-out work entries of the company or one employee, with worked and break seconds. Filter by date range. Sesame API: GET /schedule/v1/work-entries.

ParameterTypeDescription
employeeIdstring
fromstringFirst day, yyyy-mm-dd.
limitintegerResults per page.
onlyReturnstringWhich entries to return (default not_deleted).
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).
tostringLast day, yyyy-mm-dd.
updatedAtFromstringOnly entries updated at or after this ISO 8601 time (sync).
updatedAtTostringOnly entries updated at or before this ISO 8601 time (sync).

sesame_list_check_incidences List check incidences

List check incidences (attendance exceptions that need review), with status (pending or revised) and employee. Sesame API: GET /schedule/v1/check-incidences.

ParameterTypeDescription
createdFromstringCreated at or after this ISO 8601 time.
createdTostringCreated at or before this ISO 8601 time.
employeeIdstring
limitintegerResults per page.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).
statusarrayIncidence statuses to return.

sesame_list_worked_hours Worked hours report

Report worked, due and balance seconds per employee for a date range. Sesame API: GET /schedule/v1/reports/worked-hours.

ParameterTypeDescription
employeeIdsarrayOne or more ids; sent comma separated.
fromstringFirst day, yyyy-mm-dd.
limitintegerResults per page.
pageintegerPage number (default 1).
tostringLast day, yyyy-mm-dd.
withChecksbooleanInclude check data in the totals.

sesame_list_absence_requests List absence requests

List absence day-off requests (leave other than vacation) with status, days and resolution. Filter by employee, dates or status. Sesame API: GET /schedule/v1/absence-day-off-requests.

ParameterTypeDescription
employeeIdstring
fromDayOffstringDays off from this date, yyyy-mm-dd.
limitintegerResults per page.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).
statusstring
toDayOffstringDays off up to this date, yyyy-mm-dd.

sesame_list_vacation_requests List vacation requests

List vacation day-off requests with status, days and resolution. Filter by employee, dates or status. Sesame API: GET /schedule/v1/vacation-day-off-requests.

ParameterTypeDescription
employeeIdstring
fromDayOffstringDays off from this date, yyyy-mm-dd.
limitintegerResults per page.
orderBystringSort, for example 'lastName asc' or 'createdAt desc'.
pageintegerPage number (default 1).
statusstring
toDayOffstringDays off up to this date, yyyy-mm-dd.

sesame_list_vacation_calendars List vacation calendars

List vacation calendars (one per employee and year) with the days off taken and the maximum allowed. Sesame API: GET /schedule/v1/vacation-calendars.

ParameterTypeDescription
employeeIdstring
limitintegerResults per page.
pageintegerPage number (default 1).
yearsarrayYears to return.

sesame_list_shifts List shifts

List the shift definitions of the company (name, colour, time ranges). Sesame API: GET /schedule/v1/shifts.

ParameterTypeDescription
archivedbooleantrue for archived shifts, false for active ones.
isOnCallboolean
limitintegerResults per page.

sesame_list_shift_assignments List shift assignments

List which shift each employee works on each date in a range (the planner). Sesame API: GET /schedule/v1/shift-assignments.

ParameterTypeDescription
employeeIdsarrayOne or more ids; sent comma separated.
fromstringFirst day, yyyy-mm-dd.
limitintegerResults per page.
plannerIdsarrayOne or more ids; sent comma separated.
tostringLast day, yyyy-mm-dd.