Timetaag MCP by usefulapi
v1.6.1Read 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.
| Parameter | Type | Description |
|---|---|---|
branch_id | integer | Filter by branch id (from timetaag_list_setup kind branches). |
department_id | integer | Filter by department id. |
designation_id | integer | Filter by designation id. |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
location_id | integer | Filter by location id. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
search | string | Part of the name or code. |
section_id | integer | Filter by section id. |
status | string | Default active. |
updated_since | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
emp_code * | string | Employee 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.
| Parameter | Type | Description |
|---|---|---|
date | string | Leave 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.
| Parameter | Type | Description |
|---|---|---|
emp_code * | string | Employee code, for example 101. Several codes: separate with commas. |
date | string | Balances on this date (default today). |
leave_type_id | integer | Only 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
leave_type_id | integer | |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
status | string | |
updated_since | string | Only 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}.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Leave 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
serial_number | string | Only punches from this device serial number. |
updated_since | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results 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.
| Parameter | Type | Description |
|---|---|---|
holiday_group_id | integer | Only this holiday group (from timetaag_list_setup kind holiday-groups). |
year | integer | Holiday 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
status | string |
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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
status | string | |
type | string | The 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.
| Parameter | Type | Description |
|---|---|---|
from * | string | First day, yyyy-mm-dd. |
to * | string | Last day, yyyy-mm-dd (at most 62 or 366 days after from, depending on the endpoint). |
emp_code | string | Employee code, for example 101. Several codes: separate with commas. |
page | integer | Page number (default 1). |
per_page | integer | Results per page, 1 to 200 (default 50). |
status | string |
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>.
| Parameter | Type | Description |
|---|---|---|
kind * | string | The setup list to read. |