Timetaag MCP by usefulapi

v1.6.1
io.usefulapi/timetaag Checked 1 day ago Published 9 hours ago

Read employees, leave, attendance, punches, shifts and holidays in Timetaag.

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

timetaag_list_employees List employees

List employees with their branch, department, designation, location and shift groups. Working employees by default; set status to resigned or all. Timetaag API: GET /api/v2/employees.

ParameterTypeDescription
branch_idintegerFilter by branch id (from timetaag_list_setup kind branches).
department_idintegerFilter by department id.
designation_idintegerFilter by designation id.
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
location_idintegerFilter by location id.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
searchstringPart of the name or code.
section_idintegerFilter by section id.
statusstringDefault active.
updated_sincestringOnly records changed at or after this time, yyyy-mm-dd hh:mm:ss (company time zone). Use it for syncs.

timetaag_get_employee Get an employee

Get one employee by employee code, with the same fields as the list. Timetaag API: GET /api/v2/employees/{emp_code}.

ParameterTypeDescription
emp_code *stringEmployee code, for example 101.

timetaag_list_leave_types List leave types

List the leave types the company uses, for example annual or sick leave. Timetaag API: GET /api/v2/leave-types.

ParameterTypeDescription
datestringLeave types valid on this date.

timetaag_list_leave_balances List leave balances

List the leave balances of one employee, per leave type. Timetaag API: GET /api/v2/leave-balances.

ParameterTypeDescription
emp_code *stringEmployee code, for example 101. Several codes: separate with commas.
datestringBalances on this date (default today).
leave_type_idintegerOnly this leave type (from timetaag_list_leave_types).

timetaag_list_leaves List leaves

List leave entries that touch a date range, with status pending, approved or declined. Deleted leaves are left out. Timetaag API: GET /api/v2/leaves.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
leave_type_idinteger
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
statusstring
updated_sincestringOnly records changed at or after this time, yyyy-mm-dd hh:mm:ss (company time zone). Use it for syncs.

timetaag_get_leave Get a leave

Get one leave entry by its id. Timetaag API: GET /api/v2/leaves/{id}.

ParameterTypeDescription
id *integerLeave id, from timetaag_list_leaves.

timetaag_list_daily_attendance Daily attendance

List the calculated daily attendance (in, out, worked time, late and early marks) for a date range. Reports need a plan that includes them (HTTP 403 otherwise). Timetaag API: GET /api/v2/attendance/daily.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).

timetaag_list_punches List punches

List the raw clock punches (biometric device and manual) for a date range. Timetaag API: GET /api/v2/punches.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
serial_numberstringOnly punches from this device serial number.
updated_sincestringOnly records changed at or after this time, yyyy-mm-dd hh:mm:ss (company time zone). Use it for syncs.

timetaag_list_shift_assignments List shift assignments

List which shift each employee works on each day in a date range. Timetaag API: GET /api/v2/shift-assignments.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).

timetaag_list_holidays List holidays

List public holidays, for one year or one holiday group. Timetaag API: GET /api/v2/holidays.

ParameterTypeDescription
holiday_group_idintegerOnly this holiday group (from timetaag_list_setup kind holiday-groups).
yearintegerHoliday year, for example 2026.

timetaag_list_regularizations List regularizations

List attendance regularization requests (corrections of punches) in a date range, with their status. Timetaag API: GET /api/v2/regularizations.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
statusstring

timetaag_list_work_requests List work requests

List work requests (for example on-duty or out-of-office) in a date range, with their type and status. Timetaag API: GET /api/v2/work-requests.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
statusstring
typestringThe request type, as Timetaag names it.

timetaag_list_expense_claims List expense claims

List expense claims in a date range, with their status and payout status. Timetaag API: GET /api/v2/expense-claims.

ParameterTypeDescription
from *stringFirst day, yyyy-mm-dd.
to *stringLast day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint).
emp_codestringEmployee code, for example 101. Several codes: separate with commas.
pageintegerPage number (default 1).
per_pageintegerResults per page, 1 to 200 (default 50).
statusstring

timetaag_list_setup List setup items

List one kind of company setup: branches, departments, designations, locations, sections, teams, employment-types, biometric-groups, shifts, holiday-groups or devices. Use the ids in employee and leave filters. Timetaag API: GET /api/v2/<kind>.

ParameterTypeDescription
kind *stringThe setup list to read.