Sesame HR MCP by usefulapi
v1.2.1Read 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.
| Parameter | Type | Description |
|---|---|---|
code | integer | Find an employee by employee code. |
departmentIds | array | One or more ids; sent comma separated. |
dni | string | Find an employee by national id. |
email | string | Find an employee by e-mail. |
entityGroupIds | array | One or more ids; sent comma separated. |
integrationCode | string | Find an employee by integration code (exact match). |
limit | integer | Results per page. |
officeIds | array | One or more ids; sent comma separated. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page 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}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Employee 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
name | string | Filter by department name. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page number (default 1). |
sesame_list_offices List offices
List the company offices with address and coordinates. Sesame API: GET /core/v3/offices.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
name | string | Filter by office name. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
name | string | Filter by location name (contains). |
page | integer | Page number (default 1). |
sesame_list_roles List roles
List the roles that can be assigned to employees. Sesame API: GET /core/v3/roles.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
employeeId | string | |
limit | integer | Results per page. |
name | string | Filter by group name (contains). |
page | integer | Page number (default 1). |
parentId | string |
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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Results per page. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
employeeId | string | |
from | string | First day, yyyy-mm-dd. |
limit | integer | Results per page. |
onlyReturn | string | Which entries to return (default not_deleted). |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page number (default 1). |
to | string | Last day, yyyy-mm-dd. |
updatedAtFrom | string | Only entries updated at or after this ISO 8601 time (sync). |
updatedAtTo | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
createdFrom | string | Created at or after this ISO 8601 time. |
createdTo | string | Created at or before this ISO 8601 time. |
employeeId | string | |
limit | integer | Results per page. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page number (default 1). |
status | array | Incidence 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.
| Parameter | Type | Description |
|---|---|---|
employeeIds | array | One or more ids; sent comma separated. |
from | string | First day, yyyy-mm-dd. |
limit | integer | Results per page. |
page | integer | Page number (default 1). |
to | string | Last day, yyyy-mm-dd. |
withChecks | boolean | Include 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.
| Parameter | Type | Description |
|---|---|---|
employeeId | string | |
fromDayOff | string | Days off from this date, yyyy-mm-dd. |
limit | integer | Results per page. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page number (default 1). |
status | string | |
toDayOff | string | Days 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.
| Parameter | Type | Description |
|---|---|---|
employeeId | string | |
fromDayOff | string | Days off from this date, yyyy-mm-dd. |
limit | integer | Results per page. |
orderBy | string | Sort, for example 'lastName asc' or 'createdAt desc'. |
page | integer | Page number (default 1). |
status | string | |
toDayOff | string | Days 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.
| Parameter | Type | Description |
|---|---|---|
employeeId | string | |
limit | integer | Results per page. |
page | integer | Page number (default 1). |
years | array | Years to return. |
sesame_list_shifts List shifts
List the shift definitions of the company (name, colour, time ranges). Sesame API: GET /schedule/v1/shifts.
| Parameter | Type | Description |
|---|---|---|
archived | boolean | true for archived shifts, false for active ones. |
isOnCall | boolean | |
limit | integer | Results 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.
| Parameter | Type | Description |
|---|---|---|
employeeIds | array | One or more ids; sent comma separated. |
from | string | First day, yyyy-mm-dd. |
limit | integer | Results per page. |
plannerIds | array | One or more ids; sent comma separated. |
to | string | Last day, yyyy-mm-dd. |