Combo MCP by usefulapi

v1.1.1
io.usefulapi/combo-rota Checked 2 days ago Published 14 hours ago

Read shifts, contracts, absences and revenue; set revenue and employee ID mappings in Combo.

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

combo_list_locations List locations

List the locations this token can access, with their teams. Call this first: location ids are needed by most other tools. GET /api/v1/locations.

combo_list_contracts List contracts

List the employee contracts active at one location on one day (default today). Personal identifiers are removed; salary fields stay. GET /api/v1/contracts.

ParameterTypeDescription
location_id *stringLocation id from combo_list_locations.
daystringDay to check (yyyy-mm-dd). Default: today.

combo_get_contract_history Get contract history

Get one original contract with all its amendments in date order. Use the original contract id, not an amendment id. Returns null when not found. GET /api/v1/contracts/{id}/history.

ParameterTypeDescription
id *stringOriginal contract id.

combo_list_ended_contracts List ended contracts

List contracts that ended in a date range at one location (by contract end date), 50 per page, oldest first. Use meta.has_next_page to read on. GET /api/v1/past_contracts.

ParameterTypeDescription
end_date *stringLast contract end date, inclusive.
location_id *stringLocation id from combo_list_locations.
start_date *stringFirst contract end date, inclusive.
pageintegerPage number, from 1.

combo_list_plannings List shifts

List planned and actual shifts in a date range, optionally for one location or team. Includes planned and real start and end times, breaks, notes and labels. GET /api/v1/plannings.

ParameterTypeDescription
start_date *stringFirst day, inclusive.
end_datestringLast day, inclusive. Default: start_date.
location_idstringOnly shifts at this location.
team_idstringOnly shifts for this team.

combo_get_shift Get shift

Get one shift by id, with its planned and real times, break, notes and label. GET /api/v1/plannings/{id}.

ParameterTypeDescription
id *stringShift id.

combo_list_absences List absences

List absences and time off (paid leave, sick leave and others) at one location in a date range. GET /api/v1/rests.

ParameterTypeDescription
location_id *stringLocation id from combo_list_locations.
start_date *stringFirst day, inclusive.
end_datestringLast day, inclusive.

combo_list_revenues List revenues

List estimated and actual revenue per location and day for the whole week that contains the given date. GET /api/v1/revenues.

ParameterTypeDescription
week *stringAny date in the target week (yyyy-mm-dd).

combo_upsert_revenue Set revenue for a day

WRITE: create or replace the revenue of one location on one day. Give amount (actual), estimated_amount (forecast) or both. Replaces the stored value for that day. POST /api/v1/revenues.

ParameterTypeDescription
date *stringDay of the revenue (yyyy-mm-dd).
location_id *stringLocation id from combo_list_locations.
amountnumberActual revenue for the day.
estimated_amountnumberForecast revenue for the day.

combo_list_client_partners List client partners

List the client partners (outside systems such as a payroll provider) that can be linked to employees by their own identification codes. GET /api/v1/client_partners.

ParameterTypeDescription
namestringOnly partners with this name.

combo_list_employee_id_mappings List employee ID mappings

List the employee codes that one client partner uses for Combo employees. Optionally filter by one code. GET /api/v1/client_partners/{client_partner_id}/employee_id_mappings.

ParameterTypeDescription
client_partner_id *stringClient partner id from combo_list_client_partners.
identification_codestringOnly this employee code.

combo_get_employee_id_mapping Get employee ID mapping

Get one employee code mapping of a client partner. GET /api/v1/client_partners/{client_partner_id}/employee_id_mappings/{id}.

ParameterTypeDescription
client_partner_id *stringClient partner id.
id *stringMapping id.

combo_upsert_employee_id_mapping Set employee ID mapping

WRITE: link one employee to a client partner's own code. If a mapping already exists for the membership of that contract and this client partner, its code is replaced. Use the original contract id, not an amendment id. POST /api/v1/client_partners/{client_partner_id}/employee_id_mappings.

ParameterTypeDescription
client_partner_id *stringClient partner id.
contract_id *stringOriginal contract id of the employee.
identification_code *stringThe employee's code in the client partner's system.