Combo MCP by usefulapi
v1.1.1Read 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.
| Parameter | Type | Description |
|---|---|---|
location_id * | string | Location id from combo_list_locations. |
day | string | Day 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | Original 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.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Last contract end date, inclusive. |
location_id * | string | Location id from combo_list_locations. |
start_date * | string | First contract end date, inclusive. |
page | integer | Page 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.
| Parameter | Type | Description |
|---|---|---|
start_date * | string | First day, inclusive. |
end_date | string | Last day, inclusive. Default: start_date. |
location_id | string | Only shifts at this location. |
team_id | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
id * | string | Shift 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.
| Parameter | Type | Description |
|---|---|---|
location_id * | string | Location id from combo_list_locations. |
start_date * | string | First day, inclusive. |
end_date | string | Last 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.
| Parameter | Type | Description |
|---|---|---|
week * | string | Any 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.
| Parameter | Type | Description |
|---|---|---|
date * | string | Day of the revenue (yyyy-mm-dd). |
location_id * | string | Location id from combo_list_locations. |
amount | number | Actual revenue for the day. |
estimated_amount | number | Forecast 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.
| Parameter | Type | Description |
|---|---|---|
name | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
client_partner_id * | string | Client partner id from combo_list_client_partners. |
identification_code | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
client_partner_id * | string | Client partner id. |
id * | string | Mapping 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.
| Parameter | Type | Description |
|---|---|---|
client_partner_id * | string | Client partner id. |
contract_id * | string | Original contract id of the employee. |
identification_code * | string | The employee's code in the client partner's system. |