Timetastic MCP by usefulapi

v1.2.1
io.usefulapi/timetastic Checked 1 day ago Published 35 minutes ago

Read who is off, leave requests and allowances; request, approve or decline leave in Timetastic.

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

timetastic_list_users List users

List the users (employees) of the Timetastic organisation, optionally by department or including archived users. Timetastic API: GET /api/users.

ParameterTypeDescription
department_idintegerOnly users in this department id.
include_archivedbooleanInclude archived users (default false).
only_archivedbooleanReturn archived users only (default false).

timetastic_get_user Get user

Get one user (employee) by id, with leave and profile details. Timetastic API: GET /api/users/{id}.

ParameterTypeDescription
user_id *integerThe Timetastic numeric id.

timetastic_list_leave_types List leave types

List the leave types of the organisation (holiday, sickness and other types), with their ids. Timetastic API: GET /api/leavetypes.

ParameterTypeDescription
include_inactivebooleanInclude inactive leave types (default false).

timetastic_list_leave_requests List leave requests

List leave requests (holidays and other bookings) in a date range, filtered by user, department or leave type. Pending and approved requests by default. Timetastic API: GET /api/holidays.

ParameterTypeDescription
department_idintegerOnly requests of this department id.
endstringOnly requests on or before this date.
leave_type_idintegerOnly requests of this leave type id.
pageintegerPage number, from 1. Each page holds up to 100 leave requests.
startstringOnly requests on or after this date.
user_idsstringComma-separated user ids, for example 12,34.

timetastic_get_leave_request Get leave request

Get one leave request by id, with its status, dates and duration. Timetastic API: GET /api/holidays/{id}.

ParameterTypeDescription
leave_request_id *integerThe Timetastic numeric id.

timetastic_list_absences Who is off

List the wallchart entries for a date range: who is off (bookings, public holidays, non-working days). Timetastic API: GET /api/absences.

ParameterTypeDescription
end *stringLast day of the range, YYYY-MM-DD.
start *stringFirst day of the range, YYYY-MM-DD.
query_typestringWhat to return: AllEvents (default), AllAbsences, Bookings or PublicHolidays.

timetastic_list_public_holidays List public holidays

List the public holidays of the organisation, optionally for one country or year. Timetastic API: GET /api/publicholidays.

ParameterTypeDescription
country_codestringTwo-letter country code, for example GB.
yearintegerThe leave year, for example 2026.

timetastic_get_user_allowance Get user allowance

Get one user's leave allowance, TOIL and carry-forward for a year. Timetastic API: GET /api/users/{userId}/allowances/{year}.

ParameterTypeDescription
user_id *integerThe Timetastic numeric id.
year *integerThe leave year, for example 2026.

timetastic_request_leave Request leave

WRITE: submit a leave request (booking) in Timetastic for a user, department or everyone. Timetastic applies its own allowance, lock and approval rules, and never overrides them. Refused requests return an error with the reason. Timetastic API: POST /api/holidays.

ParameterTypeDescription
from *stringFirst day of leave, YYYY-MM-DD.
leave_type_id *integerLeave type id (see timetastic_list_leave_types).
to *stringLast day of leave, YYYY-MM-DD.
user_id *integerThe user the leave is for (when book_for is User).
book_forstringDefault User.
from_timestringStart time for hour-based leave, for example 09:00.
reasonstringOptional reason shown on the request.
suppress_emailsbooleanDo not send Timetastic notification emails (default false).
to_timestringEnd time for hour-based leave, for example 13:00.

timetastic_approve_or_decline_leave Approve or decline leave

WRITE: approve or decline a pending leave request by id. Declining needs a reason. Cancelling and deleting are not offered. Timetastic API: POST /api/holidays/{id}?holidayUpdateAction=Approve|Decline.

ParameterTypeDescription
action *stringApprove or Decline.
leave_request_id *integerThe Timetastic numeric id.
reasonstringReason, required when declining.
suppress_emailsbooleanDo not send Timetastic notification emails (default false).