Kolay IK MCP by usefulapi is an MCP server published by io.usefulapi, hosted at kolay-ik.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 30 tools, including kolayik_get_me, kolayik_list_people, kolayik_get_person, kolayik_get_person_summary, kolayik_get_person_leave_balances.
Read employees, leave and payroll; create leave, time records and events in Kolay IK.
4,413 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
The Kolay IK user the API token belongs to: id, name, email, work email. A cheap check that the connection works. GET /v2/profile/me.
No parameters.
{
"name": "kolayik_get_me",
"title": "Get the token's user",
"description": "The Kolay IK user the API token belongs to: id, name, email, work email. A cheap check that the connection works. GET /v2/profile/me.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "Get the token's user",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List employees (id, first and last name), 60 per page. By default only active employees; set status to terminated for people who left. Search by name with q. Filter by hire date (active people) or termination date (terminated people). The reply has total, currentPage and lastPage; request the next page with page. POST /v2/person/list (a read).
| Parameter | Type | Description |
|---|---|---|
| q | string | Search text in first and last name (or the national id number). |
| page | integer | Page number, from 1 (default 1). |
| status | string | active (default) or terminated. |
| hired_to | string | Active people hired on or before this date. |
| hired_from | string | Active people hired on or after this date. |
| terminated_to | string | Terminated people who left on or before this date. |
| terminated_from | string | Terminated people who left on or after this date. |
{
"name": "kolayik_list_people",
"title": "List people",
"description": "List employees (id, first and last name), 60 per page. By default only active employees; set status to terminated for people who left. Search by name with q. Filter by hire date (active people) or termination date (terminated people). The reply has total, currentPage and lastPage; request the next page with page. POST /v2/person/list (a read).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Search text in first and last name (or the national id number)."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1).",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"active",
"terminated"
],
"type": "string",
"description": "active (default) or terminated."
},
"hired_to": {
"type": "string",
"description": "Active people hired on or before this date."
},
"hired_from": {
"type": "string",
"description": "Active people hired on or after this date."
},
"terminated_to": {
"type": "string",
"description": "Terminated people who left on or before this date."
},
"terminated_from": {
"type": "string",
"description": "Terminated people who left on or after this date."
}
}
},
"annotations": {
"title": "List people",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Full profile of one employee: contact data, employment dates, contract, units, compensation and custom data fields. National id numbers and bank numbers are removed. GET /v2/person/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| person_id * | string | Person id (from kolayik_list_people). |
{
"name": "kolayik_get_person",
"title": "Get a person",
"description": "Full profile of one employee: contact data, employment dates, contract, units, compensation and custom data fields. National id numbers and bank numbers are removed. GET /v2/person/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Person id (from kolayik_list_people)."
}
}
},
"annotations": {
"title": "Get a person",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Short profile of one employee: name, contact data, current units (company, location, department, position) and manager. GET /v2/person/view-summary/{id}.
| Parameter | Type | Description |
|---|---|---|
| person_id * | string | Person id. |
{
"name": "kolayik_get_person_summary",
"title": "Get a person summary",
"description": "Short profile of one employee: name, contact data, current units (company, location, department, position) and manager. GET /v2/person/view-summary/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Person id."
}
}
},
"annotations": {
"title": "Get a person summary",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Leave entitlement of one employee per leave type: earned, used, carried over and unused days. GET /v2/person/leave-status/{id}.
| Parameter | Type | Description |
|---|---|---|
| person_id * | string | Person id. |
{
"name": "kolayik_get_person_leave_balances",
"title": "Get leave balances",
"description": "Leave entitlement of one employee per leave type: earned, used, carried over and unused days. GET /v2/person/leave-status/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Person id."
}
}
},
"annotations": {
"title": "Get leave balances",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Trainings assigned to one employee. GET /v2/person/list-trainings/{id}.
| Parameter | Type | Description |
|---|---|---|
| person_id * | string | Person id. |
{
"name": "kolayik_list_person_trainings",
"title": "List a person's trainings",
"description": "Trainings assigned to one employee. GET /v2/person/list-trainings/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id"
],
"properties": {
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Person id."
}
}
},
"annotations": {
"title": "List a person's trainings",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The custom data fields a person can have (fieldToken, type, category). Use the fieldToken in kolayik_update_person and kolayik_create_person. GET /v2/person/show-available-data-fields.
No parameters.
{
"name": "kolayik_list_person_fields",
"title": "List person data fields",
"description": "The custom data fields a person can have (fieldToken, type, category). Use the fieldToken in kolayik_update_person and kolayik_create_person. GET /v2/person/show-available-data-fields.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List person data fields",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The organization tree: unit types (company, branch, department, position ...) and their items with ids. GET /v2/unit/show-unit-tree.
No parameters.
{
"name": "kolayik_list_units",
"title": "List organization units",
"description": "The organization tree: unit types (company, branch, department, position ...) and their items with ids. GET /v2/unit/show-unit-tree.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List organization units",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The approval chains configured in the account (leave, expense and similar), with their steps and approvers. Filter by name or by a person in the steps. GET /v2/approval-process/list.
| Parameter | Type | Description |
|---|---|---|
| search | string | Name contains this text. |
| person_id | string | Only chains with this person in a step. |
{
"name": "kolayik_list_approval_processes",
"title": "List approval processes",
"description": "The approval chains configured in the account (leave, expense and similar), with their steps and approvers. Filter by name or by a person in the steps. GET /v2/approval-process/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Name contains this text."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Only chains with this person in a step."
}
}
},
"annotations": {
"title": "List approval processes",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List leave (time off) records, newest data first as the vendor orders them. Filter by status, a date range or one person. Each record has the leave type, dates, person, replacement, status (approved/waiting/rejected) and used days. GET /v2/leave/list.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Results per page, 1-100. |
| status | string | waiting, approved, rejected or cancelled. |
| end_date | string | Leaves up to this date. |
| person_id | string | Only this person. |
| start_date | string | Leaves from this date on. |
| include_inactive_employees | boolean | Include people who have left (default false). |
{
"name": "kolayik_list_leaves",
"title": "List leave records",
"description": "List leave (time off) records, newest data first as the vendor orders them. Filter by status, a date range or one person. Each record has the leave type, dates, person, replacement, status (approved/waiting/rejected) and used days. GET /v2/leave/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"waiting",
"approved",
"rejected",
"cancelled"
],
"type": "string",
"description": "waiting, approved, rejected or cancelled."
},
"end_date": {
"type": "string",
"description": "Leaves up to this date."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Only this person."
},
"start_date": {
"type": "string",
"description": "Leaves from this date on."
},
"include_inactive_employees": {
"type": "boolean",
"description": "Include people who have left (default false)."
}
}
},
"annotations": {
"title": "List leave records",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One leave record with type, dates, return date, comment, person, replacement person, status and used days. GET /v2/leave/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| leave_id * | string | Leave id (from kolayik_list_leaves). |
{
"name": "kolayik_get_leave",
"title": "Get a leave record",
"description": "One leave record with type, dates, return date, comment, person, replacement person, status and used days. GET /v2/leave/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"leave_id"
],
"properties": {
"leave_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Leave id (from kolayik_list_leaves)."
}
}
},
"annotations": {
"title": "Get a leave record",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: records leave for an employee and deducts the used days from their balance. The vendor may approve it immediately, and it is visible to the employee and their manager. Find the leave type id in an existing leave record (kolayik_list_leaves) or the person's balances (kolayik_get_person_leave_balances). Not idempotent: a second call creates a second record. POST /v2/leave/create.
| Parameter | Type | Description |
|---|---|---|
| comment | string | Note on the leave record. |
| end_date * | string | End, yyyy-mm-dd hh:mm:ss. |
| person_id * | string | The employee taking leave. |
| start_date * | string | Start, yyyy-mm-dd hh:mm:ss. |
| leave_type_id * | string | Leave type id (for example from kolayik_get_person_leave_balances). |
| replacement_person_id | string | Colleague covering during the leave. |
{
"name": "kolayik_create_leave",
"title": "Create a leave record",
"description": "WRITE: records leave for an employee and deducts the used days from their balance. The vendor may approve it immediately, and it is visible to the employee and their manager. Find the leave type id in an existing leave record (kolayik_list_leaves) or the person's balances (kolayik_get_person_leave_balances). Not idempotent: a second call creates a second record. POST /v2/leave/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id",
"leave_type_id",
"start_date",
"end_date"
],
"properties": {
"comment": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Note on the leave record."
},
"end_date": {
"type": "string",
"description": "End, yyyy-mm-dd hh:mm:ss."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The employee taking leave."
},
"start_date": {
"type": "string",
"description": "Start, yyyy-mm-dd hh:mm:ss."
},
"leave_type_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Leave type id (for example from kolayik_get_person_leave_balances)."
},
"replacement_person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Colleague covering during the leave."
}
}
},
"annotations": {
"title": "Create a leave record",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}List time records (work hours, overtime) with person, start and end, minutes used, status and type. Filter by person, type, status and date range. The reply has searchCount, totalCount, page and limit. POST /v2/timelog/list (a read).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). |
| type | string | work or overtime. |
| limit | integer | Results per page, 1-100. |
| status | string | waiting, approved, rejected or cancelled. |
| end_date | string | Records up to this date. |
| person_id | string | Only this person. |
| sort_type | string | Sort by startDate (default) or endDate. |
| sort_order | string | Sort direction (default desc). |
| start_date | string | Records from this date on. |
One time record by id. GET /v2/timelog/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| timelog_id * | string | Timelog id (from kolayik_list_timelogs). |
{
"name": "kolayik_get_timelog",
"title": "Get a timelog",
"description": "One time record by id. GET /v2/timelog/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"timelog_id"
],
"properties": {
"timelog_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Timelog id (from kolayik_list_timelogs)."
}
}
},
"annotations": {
"title": "Get a timelog",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: adds a time record (work hours or overtime) for an employee. With status approved it counts immediately (overtime may flow into payroll); with waiting it enters the approval process. Not idempotent: a second call creates a second record. POST /v2/timelog/create.
| Parameter | Type | Description |
|---|---|---|
| type | string | work or overtime. |
| status * | string | waiting (goes through the approval process), approved (counts immediately), rejected or cancelled. |
| end_date * | string | End, yyyy-mm-dd hh:mm:ss. |
| person_id * | string | The employee. |
| start_date * | string | Start, yyyy-mm-dd hh:mm:ss. |
| description | string | Note on the record. |
{
"name": "kolayik_create_timelog",
"title": "Create a timelog",
"description": "WRITE: adds a time record (work hours or overtime) for an employee. With status approved it counts immediately (overtime may flow into payroll); with waiting it enters the approval process. Not idempotent: a second call creates a second record. POST /v2/timelog/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id",
"start_date",
"end_date",
"status"
],
"properties": {
"type": {
"enum": [
"work",
"overtime"
],
"type": "string",
"description": "work or overtime."
},
"status": {
"enum": [
"waiting",
"approved",
"rejected",
"cancelled"
],
"type": "string",
"description": "waiting (goes through the approval process), approved (counts immediately), rejected or cancelled."
},
"end_date": {
"type": "string",
"description": "End, yyyy-mm-dd hh:mm:ss."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "The employee."
},
"start_date": {
"type": "string",
"description": "Start, yyyy-mm-dd hh:mm:ss."
},
"description": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Note on the record."
}
}
},
"annotations": {
"title": "Create a timelog",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE (destructive): permanently deletes one time record. This cannot be undone. DELETE /v2/timelog/delete/{id}.
| Parameter | Type | Description |
|---|---|---|
| timelog_id * | string | Timelog id to delete. |
{
"name": "kolayik_delete_timelog",
"title": "Delete a timelog",
"description": "WRITE (destructive): permanently deletes one time record. This cannot be undone. DELETE /v2/timelog/delete/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"timelog_id"
],
"properties": {
"timelog_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Timelog id to delete."
}
}
},
"annotations": {
"title": "Delete a timelog",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}List employee transactions (expenses, advance payments, bonuses, overtime pay, deductions) with amount, currency, status, paid flag and items. Filter by person, type, status, paid and date range. POST /v2/transaction/list (a read).
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). |
| paid | boolean | true = only paid, false = only unpaid. |
| type | string | Transaction type. |
| limit | integer | Results per page, 1-100. |
| status | string | draft, waiting, approved or rejected. |
| end_date | string | Transactions up to this date. |
| person_id | string | Only this person. |
| start_date | string | Transactions from this date on. |
{
"name": "kolayik_list_transactions",
"title": "List transactions",
"description": "List employee transactions (expenses, advance payments, bonuses, overtime pay, deductions) with amount, currency, status, paid flag and items. Filter by person, type, status, paid and date range. POST /v2/transaction/list (a read).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1).",
"exclusiveMinimum": 0
},
"paid": {
"type": "boolean",
"description": "true = only paid, false = only unpaid."
},
"type": {
"enum": [
"advancePayment",
"expense",
"overtime",
"bonus",
"premium",
"other",
"otherCut",
"advance-expense",
"militaryBenefit",
"nationalHolidayBenefit",
"fuelAllowanceBenefit"
],
"type": "string",
"description": "Transaction type."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"draft",
"waiting",
"approved",
"rejected"
],
"type": "string",
"description": "draft, waiting, approved or rejected."
},
"end_date": {
"type": "string",
"description": "Transactions up to this date."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Only this person."
},
"start_date": {
"type": "string",
"description": "Transactions from this date on."
}
}
},
"annotations": {
"title": "List transactions",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One transaction (expense, advance, bonus ...) with its items. GET /v2/transaction/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| transaction_id * | string | Transaction id (from kolayik_list_transactions). |
{
"name": "kolayik_get_transaction",
"title": "Get a transaction",
"description": "One transaction (expense, advance, bonus ...) with its items. GET /v2/transaction/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"transaction_id"
],
"properties": {
"transaction_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Transaction id (from kolayik_list_transactions)."
}
}
},
"annotations": {
"title": "Get a transaction",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Expense categories of the account (for example taxi, meals), optionally filtered by title or enabled state. GET /v2/expense/list-categories.
| Parameter | Type | Description |
|---|---|---|
| title | string | Category title contains this text. |
| enabled | boolean | true = only enabled categories, false = only disabled. |
{
"name": "kolayik_list_expense_categories",
"title": "List expense categories",
"description": "Expense categories of the account (for example taxi, meals), optionally filtered by title or enabled state. GET /v2/expense/list-categories.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"title": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Category title contains this text."
},
"enabled": {
"type": "boolean",
"description": "true = only enabled categories, false = only disabled."
}
}
},
"annotations": {
"title": "List expense categories",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}Payroll runs of a year: id, period, number of employees, payslips created, errors and total employer cost. Needs a token with the payroll:list scope. Use the id with kolayik_get_payroll_sheet. GET /v2/payroll/list.
| Parameter | Type | Description |
|---|---|---|
| year | integer | Year (default: the current year). |
{
"name": "kolayik_list_payrolls",
"title": "List payroll periods",
"description": "Payroll runs of a year: id, period, number of employees, payslips created, errors and total employer cost. Needs a token with the payroll:list scope. Use the id with kolayik_get_payroll_sheet. GET /v2/payroll/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"year": {
"type": "integer",
"maximum": 2100,
"minimum": 2000,
"description": "Year (default: the current year)."
}
}
},
"annotations": {
"title": "List payroll periods",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}The full payroll sheet (carsaf bordro) of one payroll run: every employee's gross, net, tax and insurance columns. This is sensitive salary data of all employees (or the filtered ones). Needs a token with the payroll-sheet:view scope. Filter by name, status, salary period, insurance, tax, expense center or units. POST /v2/payroll-sheet/view/{id} (a read).
| Parameter | Type | Description |
|---|---|---|
| search | string | Employee name contains this text. |
| status | array | Calculation statuses (OR). |
| payroll_id * | string | Payroll run id (from kolayik_list_payrolls). |
| salary_period | array | Salary period types (OR). |
| unit_item_ids | array | Groups of unit item ids from kolayik_list_units. |
{
"name": "kolayik_get_payroll_sheet",
"title": "Get a payroll sheet",
"description": "The full payroll sheet (carsaf bordro) of one payroll run: every employee's gross, net, tax and insurance columns. This is sensitive salary data of all employees (or the filtered ones). Needs a token with the payroll-sheet:view scope. Filter by name, status, salary period, insurance, tax, expense center or units. POST /v2/payroll-sheet/view/{id} (a read).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"payroll_id"
],
"properties": {
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Employee name contains this text."
},
"status": {
"type": "array",
"items": {
"enum": [
"ended",
"started",
"failed",
"hasPayslip",
"isPayslipPublic",
"changedColumns",
"activeEmployee",
"terminatedEmployee"
],
"type": "string"
},
"maxItems": 8,
"description": "Calculation statuses (OR)."
},
"payroll_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Payroll run id (from kolayik_list_payrolls)."
},
"salary_period": {
"type": "array",
"items": {
"enum": [
"monthly",
"hourly",
"attendance_fee"
],
"type": "string"
},
"maxItems": 3,
"description": "Salary period types (OR)."
},
"unit_item_ids": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "A Kolay IK id (32-character hex string)."
},
"maxItems": 20,
"minItems": 1
},
"maxItems": 10,
"description": "Groups of unit item ids from kolayik_list_units."
}
}
},
"annotations": {
"title": "Get a payroll sheet",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}List company calendar events (meetings, holidays) with title, start, end and comment. Filter by text and date range. The reply has searchCount, totalCount, page and limit. GET /v2/event/list.
| Parameter | Type | Description |
|---|---|---|
| end | string | Events up to this date. |
| page | integer | Page number, from 1 (default 1). |
| limit | integer | Results per page, 1-100. |
| start | string | Events from this date on. |
| search | string | Title contains this text. |
{
"name": "kolayik_list_events",
"title": "List calendar events",
"description": "List company calendar events (meetings, holidays) with title, start, end and comment. Filter by text and date range. The reply has searchCount, totalCount, page and limit. GET /v2/event/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"end": {
"type": "string",
"description": "Events up to this date."
},
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100.",
"exclusiveMinimum": 0
},
"start": {
"type": "string",
"description": "Events from this date on."
},
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Title contains this text."
}
}
},
"annotations": {
"title": "List calendar events",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One calendar event. GET /v2/event/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| event_id * | string | Event id (from kolayik_list_events). |
{
"name": "kolayik_get_event",
"title": "Get a calendar event",
"description": "One calendar event. GET /v2/event/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event_id"
],
"properties": {
"event_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Event id (from kolayik_list_events)."
}
}
},
"annotations": {
"title": "Get a calendar event",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: adds an event to the company calendar, visible to the employees who see it. Not idempotent. POST /v2/event/create.
| Parameter | Type | Description |
|---|---|---|
| end * | string | End, yyyy-mm-dd hh:mm:ss. |
| start * | string | Start, yyyy-mm-dd hh:mm:ss. |
| title * | string | Event title. |
| comment | string | Event description. |
{
"name": "kolayik_create_event",
"title": "Create a calendar event",
"description": "WRITE: adds an event to the company calendar, visible to the employees who see it. Not idempotent. POST /v2/event/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"title",
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "End, yyyy-mm-dd hh:mm:ss."
},
"start": {
"type": "string",
"description": "Start, yyyy-mm-dd hh:mm:ss."
},
"title": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Event title."
},
"comment": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Event description."
}
}
},
"annotations": {
"title": "Create a calendar event",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: changes the title, times or comment of a calendar event (the vendor requires title, start and end). PUT /v2/event/update/{id}.
| Parameter | Type | Description |
|---|---|---|
| end * | string | End, yyyy-mm-dd hh:mm:ss. |
| start * | string | Start, yyyy-mm-dd hh:mm:ss. |
| title * | string | Event title. |
| comment | string | Event description. |
| event_id * | string | Event id. |
{
"name": "kolayik_update_event",
"title": "Update a calendar event",
"description": "WRITE: changes the title, times or comment of a calendar event (the vendor requires title, start and end). PUT /v2/event/update/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event_id",
"title",
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "End, yyyy-mm-dd hh:mm:ss."
},
"start": {
"type": "string",
"description": "Start, yyyy-mm-dd hh:mm:ss."
},
"title": {
"type": "string",
"maxLength": 255,
"minLength": 1,
"description": "Event title."
},
"comment": {
"type": "string",
"maxLength": 1000,
"minLength": 1,
"description": "Event description."
},
"event_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Event id."
}
}
},
"annotations": {
"title": "Update a calendar event",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}WRITE (destructive): permanently deletes one calendar event. This cannot be undone. DELETE /v2/event/delete/{id}.
| Parameter | Type | Description |
|---|---|---|
| event_id * | string | Event id to delete. |
{
"name": "kolayik_delete_event",
"title": "Delete a calendar event",
"description": "WRITE (destructive): permanently deletes one calendar event. This cannot be undone. DELETE /v2/event/delete/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"event_id"
],
"properties": {
"event_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Event id to delete."
}
}
},
"annotations": {
"title": "Delete a calendar event",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}List the trainings defined in the account. Filter by title text. The reply has searchCount, totalCount, page and limit. GET /v2/training/list.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, from 1 (default 1). |
| limit | integer | Results per page, 1-100. |
| search | string | Title contains this text. |
{
"name": "kolayik_list_trainings",
"title": "List trainings",
"description": "List the trainings defined in the account. Filter by title text. The reply has searchCount, totalCount, page and limit. GET /v2/training/list.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1).",
"exclusiveMinimum": 0
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100.",
"exclusiveMinimum": 0
},
"search": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Title contains this text."
}
}
},
"annotations": {
"title": "List trainings",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}One training with its details. GET /v2/training/view/{id}.
| Parameter | Type | Description |
|---|---|---|
| training_id * | string | Training id (from kolayik_list_trainings). |
{
"name": "kolayik_get_training",
"title": "Get a training",
"description": "One training with its details. GET /v2/training/view/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"training_id"
],
"properties": {
"training_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Training id (from kolayik_list_trainings)."
}
}
},
"annotations": {
"title": "Get a training",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}WRITE: adds a new employee (only first and last name are required). Creates a real HR record that may send the person an invitation, depending on the account settings. Not idempotent: calling it twice creates a duplicate. Further data goes in data_fields (see kolayik_list_person_fields). POST /v2/person/create.
| Parameter | Type | Description |
|---|---|---|
| string | Personal email. | |
| birthday | string | Date of birth. |
| last_name * | string | Last name. |
| first_name * | string | First name. |
| work_email | string | Work email. |
| data_fields | array | Extra data fields as {fieldToken, value}. |
| employment_start_date | string | First day of employment. |
{
"name": "kolayik_create_person",
"title": "Create a person",
"description": "WRITE: adds a new employee (only first and last name are required). Creates a real HR record that may send the person an invitation, depending on the account settings. Not idempotent: calling it twice creates a duplicate. Further data goes in data_fields (see kolayik_list_person_fields). POST /v2/person/create.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"first_name",
"last_name"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200,
"description": "Personal email."
},
"birthday": {
"type": "string",
"description": "Date of birth."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Last name."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "First name."
},
"work_email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200,
"description": "Work email."
},
"data_fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"fieldToken",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"description": "The new value; null or an empty string clears it."
},
"fieldToken": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Field token from kolayik_list_person_fields (for example `adres`)."
}
}
},
"maxItems": 50,
"description": "Extra data fields as {fieldToken, value}."
},
"employment_start_date": {
"type": "string",
"description": "First day of employment."
}
}
},
"annotations": {
"title": "Create a person",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}WRITE: changes basic data of one employee; only the fields you pass change. Pass null for an optional field to clear it. Further data goes in data_fields (see kolayik_list_person_fields). Changes the HR record immediately. PUT /v2/person/update.
| Parameter | Type | Description |
|---|---|---|
| any | Personal email; null clears it. | |
| last_name | string | Last name. |
| person_id * | string | Person id. |
| first_name | string | First name. |
| work_email | any | Work email; null clears it. |
| data_fields | array | Data fields as {fieldToken, value}. |
{
"name": "kolayik_update_person",
"title": "Update a person",
"description": "WRITE: changes basic data of one employee; only the fields you pass change. Pass null for an optional field to clear it. Further data goes in data_fields (see kolayik_list_person_fields). Changes the HR record immediately. PUT /v2/person/update.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"person_id"
],
"properties": {
"email": {
"anyOf": [
{
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
{
"type": "null"
}
],
"description": "Personal email; null clears it."
},
"last_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Last name."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Person id."
},
"first_name": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "First name."
},
"work_email": {
"anyOf": [
{
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"maxLength": 200
},
{
"type": "null"
}
],
"description": "Work email; null clears it."
},
"data_fields": {
"type": "array",
"items": {
"type": "object",
"required": [
"fieldToken",
"value"
],
"properties": {
"value": {
"anyOf": [
{
"type": "string",
"maxLength": 1000
},
{
"type": "null"
}
],
"description": "The new value; null or an empty string clears it."
},
"fieldToken": {
"type": "string",
"maxLength": 100,
"minLength": 1,
"description": "Field token from kolayik_list_person_fields (for example `adres`)."
}
}
},
"maxItems": 50,
"description": "Data fields as {fieldToken, value}."
}
}
},
"annotations": {
"title": "Update a person",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}Tools for Kolay IK, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Who is on leave next week?"; "How many days of annual leave does Ayse Yilmaz have left?"; "List the overtime records still waiting for approval this month.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Kolay IK data. Free plan: 50 tool calls per month. Run kolayik_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run kolayik_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run kolayik_upgrade without a plan: it returns both plans, each with a payment link for the user to open. kolayik_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "kolayik_list_timelogs",
"title": "List timelogs",
"description": "List time records (work hours, overtime) with person, start and end, minutes used, status and type. Filter by person, type, status and date range. The reply has searchCount, totalCount, page and limit. POST /v2/timelog/list (a read).",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"page": {
"type": "integer",
"maximum": 100000,
"description": "Page number, from 1 (default 1).",
"exclusiveMinimum": 0
},
"type": {
"enum": [
"work",
"overtime"
],
"type": "string",
"description": "work or overtime."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Results per page, 1-100.",
"exclusiveMinimum": 0
},
"status": {
"enum": [
"waiting",
"approved",
"rejected",
"cancelled"
],
"type": "string",
"description": "waiting, approved, rejected or cancelled."
},
"end_date": {
"type": "string",
"description": "Records up to this date."
},
"person_id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,64}$",
"description": "Only this person."
},
"sort_type": {
"enum": [
"startDate",
"endDate"
],
"type": "string",
"description": "Sort by startDate (default) or endDate."
},
"sort_order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"description": "Sort direction (default desc)."
},
"start_date": {
"type": "string",
"description": "Records from this date on."
}
}
},
"annotations": {
"title": "List timelogs",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}
}