Breathe HR MCP by usefulapi

v1.29.1
io.usefulapi/breathe-hr Checked 1 day ago Published 6 hours ago

Read 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.

ParameterTypeDescription
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
filterstringOnly employees with this role: hr (HR managers), line_manager, either, or neither.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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}.

ParameterTypeDescription
employee_id *integerBreathe 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.

ParameterTypeDescription
employee_id *integerBreathe employee id.
for_datestringOnly 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.

ParameterTypeDescription
department_idintegerOnly absences of employees in this department.
employee_idintegerOnly this employee's absences.
end_datestringOnly absences up to this date (yyyy-mm-dd).
exclude_cancelledbooleanLeave out cancelled absences.
other_leave_reason_idintegerOnly other leave with this reason (ids from breathehr_list_other_leave_reasons).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25).
start_datestringOnly absences on or after this date (yyyy-mm-dd).
typestringHoliday 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.

ParameterTypeDescription
department_idintegerOnly requests of employees in this department.
employee_idintegerOnly this employee's requests.
end_datestringOnly requests starting on or before this date (yyyy-mm-dd).
exclude_cancelledbooleanLeave out cancelled requests.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25).
start_datestringOnly 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}.

ParameterTypeDescription
leave_request_id *integerBreathe 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.

ParameterTypeDescription
department_idintegerOnly sickness of employees in this department.
employee_idintegerOnly this employee's sickness.
end_datestringOnly sickness starting on or before this date (yyyy-mm-dd).
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25).
start_datestringOnly 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.

ParameterTypeDescription
department_idintegerOnly records of employees in this department.
employee_idintegerOnly this employee's records.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
department_idintegerOnly records of employees in this department.
employee_idintegerOnly this employee's records.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
department_idintegerOnly records of employees in this department.
employee_idintegerOnly this employee's records.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
employee_idintegerOnly this employee's jobs.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
employee_idintegerOnly this employee's training.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
employee_idintegerOnly this employee's claims.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults per page, 1-100 (default 25).
statestringOnly 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.

ParameterTypeDescription
employee_idintegerOnly this employee's expenses.
include_claimedbooleanAlso return expenses already part of a claim.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
employee_idintegerOnly this employee's change requests.
pageintegerPage number, from 1 (default 1). Pass the previous reply's next_page.
per_pageintegerResults 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.

ParameterTypeDescription
employee_id *integerBreathe employee id.
end_date *stringLast day of leave (yyyy-mm-dd), same as start_date for one day.
start_date *stringFirst day of leave (yyyy-mm-dd).
half_endbooleanThe last day is a half day (default false).
half_end_am_pmstringWhich half of the last day: am or pm (with half_end).
half_startbooleanThe first day is a half day (default false).
half_start_am_pmstringWhich half of the first day: am or pm (with half_start).
notesstringNotes for the approver.
typestringHoliday (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.

ParameterTypeDescription
leave_request_id *integerBreathe 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.

ParameterTypeDescription
leave_request_id *integerBreathe leave request id (from breathehr_list_leave_requests).
rejection_reason *stringWhy the request is rejected (shown to the employee).