Breathe HR MCP by usefulapi
v1.29.1Read Breathe HR employees, absences, sickness and leave; create and review leave requests.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
breathehr_get_account Get account
The Breathe HR account (company) this API key belongs to: id, name, domain and enabled modules. GET /account.
breathehr_list_departments List departments
List the company's departments (id, name). Use the ids to filter absences, leave, sickness and pay. GET /departments.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_divisions List divisions
List the company's divisions (id, name). All of them are returned in one reply. GET /divisions.
breathehr_list_locations List locations
List the company's work locations (id, name). All of them are returned in one reply. GET /locations.
breathehr_list_working_patterns List working patterns
List the working patterns (hours per weekday, total weekly hours, default flag). All of them are returned in one reply. GET /working_patterns.
breathehr_list_holiday_allowances List holiday allowances
List the holiday allowance schemes (id, default flag, year_1 to year_10 = the allowance for each year of service, created_at, updated_at). All of them are returned in one reply. GET /holiday_allowances.
breathehr_list_other_leave_reasons List other leave reasons
List the reasons for non-holiday leave (e.g. compassionate, jury service). Use the ids to filter absences. All of them are returned in one reply. GET /other_leave_reasons.
breathehr_list_employees List employees
List employees with job title, department, division, location, line manager, holiday approver, working pattern, join/leaving dates and status. Bank details and National Insurance numbers are never returned. GET /employees.
| Parameter | Type | Description |
|---|---|---|
filter | string | Only employees with this role: hr (HR managers), line_manager, either, or neither. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_get_employee Get employee
One employee's record by id (personal and job details, contacts, manager, working pattern). Bank details and NI number are never returned. GET /employees/{id}.
| Parameter | Type | Description |
|---|---|---|
employee_id * | integer | Breathe employee id. |
breathehr_get_holiday_years Get holiday years (allowance balance)
An employee's holiday years: start/end, allowance, days or hours taken, booked and remaining. Pass for_date to get only the year that contains that date. GET /employees/{id}/employee_holiday_years.
| Parameter | Type | Description |
|---|---|---|
employee_id * | integer | Breathe employee id. |
for_date | string | Only the holiday year that includes this date (yyyy-mm-dd), e.g. today. |
breathehr_list_absences List absences
List approved absences (holiday and other leave) with employee, dates, half days, days deducted and cancelled flag. Filter by employee, department, type, other-leave reason and dates. GET /absences.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only absences of employees in this department. |
employee_id | integer | Only this employee's absences. |
end_date | string | Only absences up to this date (yyyy-mm-dd). |
exclude_cancelled | boolean | Leave out cancelled absences. |
other_leave_reason_id | integer | Only other leave with this reason (ids from breathehr_list_other_leave_reasons). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
start_date | string | Only absences on or after this date (yyyy-mm-dd). |
type | string | Holiday or OtherLeave. |
breathehr_list_leave_requests List leave requests
List leave requests (pending, approved, rejected and cancelling requests) with employee, dates, half days, type, status and notes. Filter by employee, department and start-date range. GET /leave_requests.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only requests of employees in this department. |
employee_id | integer | Only this employee's requests. |
end_date | string | Only requests starting on or before this date (yyyy-mm-dd). |
exclude_cancelled | boolean | Leave out cancelled requests. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
start_date | string | Only requests starting on or after this date (yyyy-mm-dd). |
breathehr_get_leave_request Get leave request
One leave request by id, with its status. GET /leave_requests/{id}.
| Parameter | Type | Description |
|---|---|---|
leave_request_id * | integer | Breathe leave request id. |
breathehr_list_sicknesses List sickness records
List sickness absence records (health data): employee, sickness type, dates, half days, days deducted, status (open, returned, closed…) and reason. Filter by employee, department and start-date range. GET /sicknesses.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only sickness of employees in this department. |
employee_id | integer | Only this employee's sickness. |
end_date | string | Only sickness starting on or before this date (yyyy-mm-dd). |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
start_date | string | Only sickness starting on or after this date (yyyy-mm-dd). |
breathehr_list_salaries List salaries
List salary records (amount, basis, payment schedule, start date) for the whole company, one employee or one department. GET /salaries, /employees/{id}/salaries or /departments/{id}/salaries.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only records of employees in this department. |
employee_id | integer | Only this employee's records. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_bonuses List bonuses
List bonus records (amount, date, description) for the whole company, one employee or one department. GET /bonuses, /employees/{id}/bonuses or /departments/{id}/bonuses.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only records of employees in this department. |
employee_id | integer | Only this employee's records. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_benefits List benefits
List employee benefits (type, value, start/end) for the whole company, one employee or one department. GET /benefits, /employees/{id}/benefits or /departments/{id}/benefits.
| Parameter | Type | Description |
|---|---|---|
department_id | integer | Only records of employees in this department. |
employee_id | integer | Only this employee's records. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_employee_jobs List employee jobs
List job history records (job title, start/end dates, department, location) for all employees or one employee. GET /employee_jobs.
| Parameter | Type | Description |
|---|---|---|
employee_id | integer | Only this employee's jobs. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_training_courses List training courses
List employee training records (course name, type, status, dates, cost) for all employees or one employee. GET /employee_training_courses.
| Parameter | Type | Description |
|---|---|---|
employee_id | integer | Only this employee's training. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_expense_claims List expense claims
List expense claims (employee, total, state, approver) filtered by employee and state. GET /employee_expense_claims.
| Parameter | Type | Description |
|---|---|---|
employee_id | integer | Only this employee's claims. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
state | string | Only claims in this state. |
breathehr_list_expenses List expenses
List individual expense items (date, description, type, amount, VAT, project). By default only unclaimed items; set include_claimed to see all. GET /employee_expenses.
| Parameter | Type | Description |
|---|---|---|
employee_id | integer | Only this employee's expenses. |
include_claimed | boolean | Also return expenses already part of a claim. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_list_change_requests List change requests
List employee self-service change requests (field, requested value, approval state) for all employees or one employee. Requested values of bank and NI fields are redacted. GET /change_requests or /employees/{id}/change_requests.
| Parameter | Type | Description |
|---|---|---|
employee_id | integer | Only this employee's change requests. |
page | integer | Page number, from 1 (default 1). Pass the previous reply's next_page. |
per_page | integer | Results per page, 1-100 (default 25). |
breathehr_create_leave_request Create leave request
WRITE: request leave for an employee (holiday by default, or other leave). It is created as a request, then follows the account's approval rules; the employee's approver is notified. Each call creates a new request. POST /employees/{id}/leave_requests.
| Parameter | Type | Description |
|---|---|---|
employee_id * | integer | Breathe employee id. |
end_date * | string | Last day of leave (yyyy-mm-dd), same as start_date for one day. |
start_date * | string | First day of leave (yyyy-mm-dd). |
half_end | boolean | The last day is a half day (default false). |
half_end_am_pm | string | Which half of the last day: am or pm (with half_end). |
half_start | boolean | The first day is a half day (default false). |
half_start_am_pm | string | Which half of the first day: am or pm (with half_start). |
notes | string | Notes for the approver. |
type | string | Holiday (default) or OtherLeave. |
breathehr_approve_leave_request Approve leave request
WRITE: approve a pending leave request; it becomes an absence and is deducted from the allowance. Recorded as done by the "API Employee". POST /leave_requests/{id}/approve.
| Parameter | Type | Description |
|---|---|---|
leave_request_id * | integer | Breathe leave request id (from breathehr_list_leave_requests). |
breathehr_reject_leave_request Reject leave request
WRITE: reject a pending leave request with a reason the employee will see. Recorded as done by the "API Employee". POST /leave_requests/{id}/reject.
| Parameter | Type | Description |
|---|---|---|
leave_request_id * | integer | Breathe leave request id (from breathehr_list_leave_requests). |
rejection_reason * | string | Why the request is rejected (shown to the employee). |