Calamari MCP by usefulapi

v1.2.1
io.usefulapi/calamari Checked 3 days ago Published 1 day ago

Read employees, absences, balances and clock-ins; create absence requests and teams in Calamari.

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

calamari_list_employees List employees

List one page of employees with their profile, team, position and contract. Use the returned totalPages to read further pages. Calamari: POST /employees/v1/list.

ParameterTypeDescription
pageintegerPage number, starting at 0.

calamari_search_employees Search employees

Find employees by one identifier, or by contract type, position or team. Calamari: POST /employees/v1/search.

ParameterTypeDescription
contractTypesarrayTeam, position or contract type names or identifiers.
employeestringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.
positionsarrayTeam, position or contract type names or identifiers.
teamsarrayTeam, position or contract type names or identifiers.

calamari_list_teams List teams

List the teams with their id and name. Calamari: POST /teams/v1/all.

calamari_list_positions List positions

List the job positions with their id and name. Calamari: POST /positions/v1/all.

calamari_list_contract_types List contract types

List the contract types with their id and name. Calamari: POST /contract-types/v1/all.

calamari_list_working_weeks List working weeks

List the working-week schedules (working days per week). Calamari: POST /working-week/v1/all.

calamari_list_absence_types List absence types

List the absence types (leave, sick, remote work) with their id and duration unit. Calamari: POST /leave/v1/get-absence-types.

calamari_find_absence_requests Find one employee's absence requests

List one employee's absence requests in a date range (ISO dates). Calamari: POST /leave/request/v1/find.

ParameterTypeDescription
employee *stringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.
from *stringStart of the range, yyyy-mm-dd.
to *stringEnd of the range, yyyy-mm-dd.

calamari_find_absence_requests_advanced Find absence requests by team or position

List absence requests in a date range, filtered by absence type, team or position. Calamari: POST /leave/request/v1/find-advanced.

ParameterTypeDescription
from *stringStart of the range, yyyy-mm-dd.
to *stringEnd of the range, yyyy-mm-dd.
absenceTypesarrayTeam, position or contract type names or identifiers.
positionsarrayTeam, position or contract type names or identifiers.
teamsarrayTeam, position or contract type names or identifiers.

calamari_get_entitlement_balance Get one entitlement balance

Get one employee's balance for one absence type on a date (remaining, used, unlimited flag). Calamari: POST /leave/v1/entitlement-balance/get.

ParameterTypeDescription
absenceTypeId *stringAbsence type id, from calamari_list_absence_types.
date *stringBalance date, yyyy-mm-dd.
employee *stringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.

calamari_list_entitlement_balances List one employee's balances

List one employee's balance for every absence type on a date. Calamari: POST /leave/v1/entitlement-balance/all.

ParameterTypeDescription
date *stringBalance date, yyyy-mm-dd.
employee *stringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.

calamari_find_entitlement_balances Find balances by team, position or contract

List the balances of many employees for one absence type, filtered by team, position, contract type or employee. Calamari: POST /leave/v1/entitlement-balance/get-advanced.

ParameterTypeDescription
absenceTypeId *stringAbsence type id, from calamari_list_absence_types.
contractTypesarrayTeam, position or contract type names or identifiers.
employeesarrayEmployee e-mails or logins.
positionsarrayTeam, position or contract type names or identifiers.
teamsarrayTeam, position or contract type names or identifiers.

calamari_find_holidays Find public holidays

List the public holidays that apply to one employee in a date range. Calamari: POST /holiday/v1/find.

ParameterTypeDescription
employee *stringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.
from *stringStart of the range, yyyy-mm-dd.
to *stringEnd of the range, yyyy-mm-dd.

calamari_list_current_shift_status List who is clocked in

Show each employee's current shift status (STARTED, STOPPED or BREAK). Calamari: POST /clockin/shift/status/v1/get-current-for-all.

calamari_get_current_shift_status Get one employee's shift status

Show one employee's current shift status (STARTED, STOPPED or BREAK). Calamari: POST /clockin/shift/status/v1/get-current.

ParameterTypeDescription
person *stringEmployee e-mail or login, or an external identifier in the form externalNumber:ABC123.

calamari_get_presence_report Get the presence report

Report who was present in a date range, one page at a time. Use the page number to read further pages. Calamari: POST /clockin/shift/status/v1/presence/report.

ParameterTypeDescription
dateFrom *stringStart of the range, yyyy-mm-dd.
dateTo *stringEnd of the range, yyyy-mm-dd.
limitintegerResults per page, 1 to 100 (default 100).
pageintegerPage number, starting at 0 (default 0).

calamari_list_projects List time-tracking projects

List the time-tracking projects (project types) with their id and name. Calamari: POST /clockin/projects/v1/get-projects.

calamari_find_time_entries Find timesheet entries

List timesheet entries in a date range, filtered by team, position or contract type. Calamari: POST /clockin/timesheetentries/v1/find.

ParameterTypeDescription
from *stringStart of the range, yyyy-mm-dd.
to *stringEnd of the range, yyyy-mm-dd.
contractTypesarrayTeam, position or contract type names or identifiers.
positionsarrayTeam, position or contract type names or identifiers.
teamsarrayTeam, position or contract type names or identifiers.

calamari_find_timesheet_balances Find timesheet balances

Show the worked-time balance (overtime or deficit) in a date range, filtered by team, position or contract type. Calamari: POST /clockin/timesheetentries/v1/balance.

ParameterTypeDescription
from *stringStart of the range, yyyy-mm-dd.
to *stringEnd of the range, yyyy-mm-dd.
contractTypesarrayTeam, position or contract type names or identifiers.
positionsarrayTeam, position or contract type names or identifiers.
teamsarrayTeam, position or contract type names or identifiers.

calamari_create_absence_request Create an absence request

Create an absence request for one employee. This is a real request: it notifies the approvers and uses the employee's balance once approved. Calamari: POST /leave/request/v1/create.

ParameterTypeDescription
absenceTypeId *stringAbsence type id, from calamari_list_absence_types.
dateFrom *stringFirst day, yyyy-mm-dd.
dateTo *stringLast day, yyyy-mm-dd.
employee *stringEmployee the request is for: e-mail, login, or externalNumber:ABC123.
fromPart *stringStart or end of the absence: MORNING, AFTERNOON, END_OF_DAY, or a time as HH:mm.
toPart *stringStart or end of the absence: MORNING, AFTERNOON, END_OF_DAY, or a time as HH:mm.
commentstringComment on the request.
reasonstringReason shown to the approvers.
substitutestringSubstitute employee: e-mail or login.

calamari_create_team Create a team

Create a team with its members and managers, given as Calamari person ids. Calamari: POST /teams/v1/create.

ParameterTypeDescription
managers *arrayPerson ids of the managers (may be empty).
members *arrayPerson ids of the members (may be empty).
name *stringTeam name.