MCP Capabilities
Server backoffice_ai_server
Tools 38
search_contacts
Description: Search contacts with monthly rake data. Returns paginated results (max 100/page). Supports filters by owner, source, poker type, min rake.
Handler: App\Mcp\Tool\ContactActivityMcpTools::searchContacts()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
ID of the contact owner user. Filter to show only contacts belonging to this owner. Omit to search across all owners. |
sourceTypeId |
null|string | No |
|
ID of the acquisition source. Filter contacts by how they were acquired. |
pokerTypeId |
null|string | No |
|
ID of the poker variant. Filter contacts who play this specific poker type. |
minMaxPerMonth |
null|number | No |
|
Minimum threshold for maxPerMonth field. Only contacts with maxPerMonth >= this value. |
sortBy |
null|string | No |
maxPerMonth
|
Field to sort results by. |
sortOrder |
null|string | No |
DESC
|
Sort direction. |
page |
integer | No |
1
|
Page number for pagination. Starts at 1. |
limit |
integer | No |
50
|
Items per page. Maximum 100 (hard limit enforced server-side). |
Full Schema
array:2 [ "type" => "object" "properties" => array:8 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the contact owner user. Filter to show only contacts belonging to this owner. Omit to search across all owners." ] "sourceTypeId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the acquisition source. Filter contacts by how they were acquired." ] "pokerTypeId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the poker variant. Filter contacts who play this specific poker type." ] "minMaxPerMonth" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "number" ] "default" => null "description" => "Minimum threshold for maxPerMonth field. Only contacts with maxPerMonth >= this value." ] "sortBy" => array:4 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => "maxPerMonth" "description" => "Field to sort results by." "enum" => array:4 [ 0 => "maxPerMonth" 1 => "name" 2 => "sumPerMonthFirst" 3 => "sumPerMonthSecond" ] ] "sortOrder" => array:4 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => "DESC" "description" => "Sort direction." "enum" => array:2 [ 0 => "ASC" 1 => "DESC" ] ] "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Page number for pagination. Starts at 1." "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 50 "description" => "Items per page. Maximum 100 (hard limit enforced server-side)." "minimum" => 1 "maximum" => 100 ] ] ] |
get_contact_summary
Description: Fast aggregated stats: total count, sum/average/max rake, monthly totals, top-10 performers. No pagination.
Handler: App\Mcp\Tool\ContactActivityMcpTools::getContactSummary()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to aggregate across all owners. |
Full Schema
array:2 [ "type" => "object" "properties" => array:1 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to aggregate across all owners." ] ] ] |
get_contact_detail
Description: Full details for a single contact by ID, including poker types, limits, all monthly sums, balances.
Handler: App\Mcp\Tool\ContactActivityMcpTools::getContactDetail()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id |
integer | Yes | - | Contact ID (integer primary key). |
Full Schema
array:3 [ "type" => "object" "properties" => array:1 [ "id" => array:2 [ "type" => "integer" "description" => "Contact ID (integer primary key)." ] ] "required" => array:1 [ 0 => "id" ] ] |
export_contacts_csv
Description: Export contacts as CSV string. Use ONLY with owner filter to keep result small. Returns raw CSV content.
Handler: App\Mcp\Tool\ContactActivityMcpTools::exportContactsCsv()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to export across all owners. |
Full Schema
array:2 [ "type" => "object" "properties" => array:1 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to export across all owners." ] ] ] |
get-contacts
Description: Возвращает список контактов (клиентов/игроков) из CRM с пагинацией. Всего в базе ~15 000 контактов. Не запрашивай больше 100 записей за раз. В ответе: - page — текущая страница - limit — сколько записей на странице - contacts — массив контактов Важно: - Поля maxPerMonth и sumPerMonthFirst…Sixth — это готовые агрегаты (рейк по месяцам), обновляются cron'ом каждые 10 минут. Используй их для анализа активности. - summBalanceUsd и summBalanceCny — текущие балансы, считаются на лету. При больших выборках это может тормозить, не запрашивай их без нужды. - dealsCount — количество сделок контакта. При limit=100 делает +100 запросов к БД. Стратегия работы: 1. Если нужна сводка (топ-10, суммы, средние) — используй get_contact_summary. 2. Если нужен конкретный контакт — используй get_contact_detail по ID (быстрее) или фильтр id здесь. 3. Если нужно перебрать всех — иди page=1,2,3... пока contacts не станет пустым.
Handler: App\Mcp\Tool\ContactTool::getContacts()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, contactId, email, wallet). Пустое значение — без фильтра. |
id |
null|integer | No |
|
ID конкретного контакта для прямого доступа (игнорирует page/limit/search) |
Full Schema
array:2 [ "type" => "object" "properties" => array:4 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, contactId, email, wallet). Пустое значение — без фильтра." ] "id" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "integer" ] "default" => null "description" => "ID конкретного контакта для прямого доступа (игнорирует page/limit/search)" ] ] ] |
get-contact-types
Description: Получить список типов контактов с пагинацией и поиском
Handler: App\Mcp\Tool\ContactTypeTool::getContactTypes()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по названию типа контакта. Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по названию типа контакта. Пустое значение — без фильтра." ] ] ] |
get-corrections-app
Description: Получить список коррекций APP с пагинацией и поиском
Handler: App\Mcp\Tool\CorrectionAppTool::getCorrectionsApp()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (correctionType, balanceType, currency, paymentWallet, note, room.name, exchanger.name, agentApp.name, paymentMethod.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (correctionType, balanceType, currency, paymentWallet, note, room.name, exchanger.name, agentApp.name, paymentMethod.name). Пустое значение — без фильтра." ] ] ] |
get-corrections-cn
Description: Получить список коррекций CN с пагинацией и поиском
Handler: App\Mcp\Tool\CorrectionCnTool::getCorrectionsCn()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (correctionType, balanceType, currency, paymentWallet, note, room.name, exchanger.name, paymentMethod.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (correctionType, balanceType, currency, paymentWallet, note, room.name, exchanger.name, paymentMethod.name). Пустое значение — без фильтра." ] ] ] |
get-costs-general
Description: Получить список общих затрат (costs general) с пагинацией и поиском
Handler: App\Mcp\Tool\CostGeneralTool::getCostsGeneral()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (number, account, wallet, currency, note, referenceId, cogsType, contact.name, deal.name, costType.name, oneCCode.name, paymentMethod.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (number, account, wallet, currency, note, referenceId, cogsType, contact.name, deal.name, costType.name, oneCCode.name, paymentMethod.name). Пустое значение — без фильтра." ] ] ] |
get-costs-soft
Description: Получить список soft-затрат (costs soft) с пагинацией и поиском
Handler: App\Mcp\Tool\CostSoftTool::getCostsSoft()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, room.name, deal.name, dealOwner.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, room.name, deal.name, dealOwner.name). Пустое значение — без фильтра." ] ] ] |
get-cost-types
Description: Получить список типов затрат (cost types) с пагинацией и поиском
Handler: App\Mcp\Tool\CostTypeTool::getCostTypes()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, oneCCode.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, oneCCode.name). Пустое значение — без фильтра." ] ] ] |
get_deal_summary
Description: Aggregated stats for player deals: total count, sum/average/max lifetime rake, monthly totals, top-10 performers. Use this first before searching.
Handler: App\Mcp\Tool\DealActivityMcpTools::getDealSummary()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to aggregate across all owners. |
roomId |
null|string | No |
|
ID of the poker room. Filter deals for this specific room. Omit to aggregate across all rooms. |
Full Schema
array:2 [ "type" => "object" "properties" => array:2 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to aggregate across all owners." ] "roomId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the poker room. Filter deals for this specific room. Omit to aggregate across all rooms." ] ] ] |
search_deals
Description: Search player deals with monthly stats. 26k total — always use pagination. Supports filters by contact owner, deal owner, room, source type.
Handler: App\Mcp\Tool\DealActivityMcpTools::searchDeals()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to search across all owners. |
dealOwnerId |
null|string | No |
|
ID of the deal owner (agent). Filter deals managed by this user. Omit to search across all deal owners. |
roomId |
null|string | No |
|
ID of the poker room. Filter deals for this specific room. Omit to search across all rooms. |
sourceTypeId |
null|string | No |
|
ID of the acquisition source. Filter contacts by how they were acquired. Omit to skip this filter. |
page |
integer | No |
1
|
Page number for pagination. Starts at 1. |
limit |
integer | No |
50
|
Items per page. Maximum 100 (hard limit enforced server-side). Default: 50. |
Full Schema
array:2 [ "type" => "object" "properties" => array:6 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the contact owner. Filter deals where the contact belongs to this owner. Omit to search across all owners." ] "dealOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the deal owner (agent). Filter deals managed by this user. Omit to search across all deal owners." ] "roomId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the poker room. Filter deals for this specific room. Omit to search across all rooms." ] "sourceTypeId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "ID of the acquisition source. Filter contacts by how they were acquired. Omit to skip this filter." ] "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Page number for pagination. Starts at 1." "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 50 "description" => "Items per page. Maximum 100 (hard limit enforced server-side). Default: 50." "minimum" => 1 "maximum" => 100 ] ] ] |
get_deal_detail
Description: Full details for a single deal by ID, including lifetime max rake and all monthly sums.
Handler: App\Mcp\Tool\DealActivityMcpTools::getDealDetail()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
id |
integer | Yes | - | Deal ID (integer primary key). |
Full Schema
array:3 [ "type" => "object" "properties" => array:1 [ "id" => array:2 [ "type" => "integer" "description" => "Deal ID (integer primary key)." ] ] "required" => array:1 [ 0 => "id" ] ] |
export_deals_csv
Description: Export player deals as CSV string. Use with filters to keep result small. Returns raw CSV content.
Handler: App\Mcp\Tool\DealActivityMcpTools::exportDealsCsv()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
contactOwnerId |
null|string | No |
|
UUID of the contact owner. Filter deals where the contact belongs to this owner. Omit to export across all owners. |
roomId |
null|string | No |
|
UUID of the poker room. Filter deals for this specific room. Omit to export across all rooms. |
Full Schema
array:2 [ "type" => "object" "properties" => array:2 [ "contactOwnerId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "UUID of the contact owner. Filter deals where the contact belongs to this owner. Omit to export across all owners." ] "roomId" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "UUID of the poker room. Filter deals for this specific room. Omit to export across all rooms." ] ] ] |
get-deals
Description: Возвращает список сделок (player deals) с пагинацией. Всего в базе ~26 000 сделок. Не запрашивай больше 100 записей за раз. В ответе: - page — текущая страница - limit — сколько записей на странице - deals — массив сделок Важно: - Поля maxPerMonth и sumPerMonthFirst…Sixth — это готовые агрегаты (рейк по месяцам), обновляются cron'ом каждые 10 минут. Используй их для анализа активности. - Все связи (contact, room, dealOwner, tracker, paymentMethod) уже подгружены — никаких дополнительных запросов не требуется. Стратегия работы: 1. Если нужна сводка (топ-10, суммы, средние) — используй get_deal_summary. 2. Если нужна конкретная сделка — используй get_deal_detail по ID (быстрее) или фильтр id здесь. 3. Если нужно перебрать все сделки — иди page=1,2,3... пока deals не станет пустым. При 26k записях и limit=100 это максимум 260 страниц.
Handler: App\Mcp\Tool\DealTool::getDeals()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, contact.name, room.name, account, wallet). Пустое значение — без фильтра. |
id |
null|integer | No |
|
ID конкретной сделки для прямого доступа (игнорирует page/limit/search) |
Full Schema
array:2 [ "type" => "object" "properties" => array:4 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, contact.name, room.name, account, wallet). Пустое значение — без фильтра." ] "id" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "integer" ] "default" => null "description" => "ID конкретной сделки для прямого доступа (игнорирует page/limit/search)" ] ] ] |
get-login-attempts
Description: Получить список попыток входа (login attempts) с пагинацией и поиском
Handler: App\Mcp\Tool\LoginAttemptTool::getLoginAttempts()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (ip, user.name, contact.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (ip, user.name, contact.name). Пустое значение — без фильтра." ] ] ] |
get-operations
Description: Получить список операций (operations) с пагинацией и поиском
Handler: App\Mcp\Tool\OperationTool::getOperations()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (stringId, description, status, currency, paymentWallet, contact.name, exchanger.name, paymentMethod.name, oneCCode.name, walletType.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (stringId, description, status, currency, paymentWallet, contact.name, exchanger.name, paymentMethod.name, oneCCode.name, walletType.name). Пустое значение — без фильтра." ] ] ] |
get-operation-types
Description: Получить список типов операций (operation types) с пагинацией и поиском
Handler: App\Mcp\Tool\OperationTypeTool::getOperationTypes()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, direction, type_one_c). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, direction, type_one_c). Пустое значение — без фильтра." ] ] ] |
get-payment-methods
Description: Получить список платёжных методов с пагинацией и поиском
Handler: App\Mcp\Tool\PaymentMethodTool::getPaymentMethods()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, walletType, currency). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, walletType, currency). Пустое значение — без фильтра." ] ] ] |
get-poker-limits
Description: Получить список лимитов покера (poker limits) с пагинацией и поиском
Handler: App\Mcp\Tool\PokerLimitTool::getPokerLimits()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, pokerType.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, pokerType.name). Пустое значение — без фильтра." ] ] ] |
get-poker-types
Description: Получить список типов покера (poker types) с пагинацией и поиском
Handler: App\Mcp\Tool\PokerTypeTool::getPokerTypes()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по названию. Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по названию. Пустое значение — без фильтра." ] ] ] |
get-rakeback-entries
Description: Получить список rakeback entries с пагинацией и поиском
Handler: App\Mcp\Tool\RakebackEntryTool::getRakebackEntries()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (currency, room.name, deal.name, contact.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (currency, room.name, deal.name, contact.name). Пустое значение — без фильтра." ] ] ] |
get-red-star-sums
Description: Получить список RedStarSum (суммы по месяцам по username) с пагинацией и поиском
Handler: App\Mcp\Tool\RedStarSumTool::getRedStarSums()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по username. Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по username. Пустое значение — без фильтра." ] ] ] |
get-red-stars
Description: Получить список RedStar записей с пагинацией и поиском
Handler: App\Mcp\Tool\RedStarTool::getRedStars()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (username, playerId как строка). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (username, playerId как строка). Пустое значение — без фильтра." ] ] ] |
get-referral-commission-entries
Description: Получить список referral commission entries с пагинацией и поиском
Handler: App\Mcp\Tool\ReferralCommissionEntryTool::getReferralCommissionEntries()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (currency, contact.name, deal.name, room.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (currency, contact.name, deal.name, room.name). Пустое значение — без фильтра." ] ] ] |
get-referral-commissions
Description: Получить список referral commissions с пагинацией и поиском
Handler: App\Mcp\Tool\ReferralCommissionTool::getReferralCommissions()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, wallet, referenceId, number, contact.name, deal.name, room.name, paymentMethod.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, wallet, referenceId, number, contact.name, deal.name, room.name, paymentMethod.name). Пустое значение — без фильтра." ] ] ] |
get-referral-entries
Description: Получить список referral entries с пагинацией и поиском
Handler: App\Mcp\Tool\ReferralEntryTool::getReferralEntries()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (currency, room.name, deal.name, contact.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (currency, room.name, deal.name, contact.name). Пустое значение — без фильтра." ] ] ] |
get-referral-reports
Description: Получить список referral reports с пагинацией и поиском
Handler: App\Mcp\Tool\ReferralReportTool::getReferralReports()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, refWallet, referenceId, note, number, refContact.name, refDeal.name, deal.name, room.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, refWallet, referenceId, note, number, refContact.name, refDeal.name, deal.name, room.name). Пустое значение — без фильтра." ] ] ] |
get-services
Description: Получить список румов (services) с пагинацией и поиском
Handler: App\Mcp\Tool\ServiceTool::getServices()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, oneC, note, country, status, serviceType.name, operationType.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, oneC, note, country, status, serviceType.name, operationType.name). Пустое значение — без фильтра." ] ] ] |
get-statistics-app
Description: Получить список статистики APP с пагинацией и поиском
Handler: App\Mcp\Tool\StatisticAppTool::getStatisticsApp()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, description, note, agName, room.name, deal.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, description, note, agName, room.name, deal.name). Пустое значение — без фильтра." ] ] ] |
get-statistics-cn
Description: Получить список статистики CN с пагинацией и поиском
Handler: App\Mcp\Tool\StatisticCnTool::getStatisticsCn()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, description, room.name, deal.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, description, room.name, deal.name). Пустое значение — без фильтра." ] ] ] |
get-statistics-daily
Description: Получить список ежедневной статистики с пагинацией и поиском
Handler: App\Mcp\Tool\StatisticDailyTool::getStatisticsDaily()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, vendor, wallet, room.name, tracker.name, contact.name, paymentMethod.name, deal.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, vendor, wallet, room.name, tracker.name, contact.name, paymentMethod.name, deal.name). Пустое значение — без фильтра." ] ] ] |
get-statistics
Description: Получить список статистики EU с пагинацией и поиском
Handler: App\Mcp\Tool\StatisticTool::getStatistics()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, currency, vendor, room.name, tracker.name, contact.name, paymentMethod.name, deal.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, currency, vendor, room.name, tracker.name, contact.name, paymentMethod.name, deal.name). Пустое значение — без фильтра." ] ] ] |
get-trackers
Description: Получить список трекеров с пагинацией и поиском
Handler: App\Mcp\Tool\TrackerTool::getTrackers()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (name, description, type, room.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (name, description, type, room.name). Пустое значение — без фильтра." ] ] ] |
get-transactions-app
Description: Получить список транзакций APP с пагинацией и поиском
Handler: App\Mcp\Tool\TransactionAppTool::getTransactionsApp()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, status, balanceType, currency, notes, comment, deal.name, contact.name, room.name, paymentMethod.name, exchanger.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, status, balanceType, currency, notes, comment, deal.name, contact.name, room.name, paymentMethod.name, exchanger.name). Пустое значение — без фильтра." ] ] ] |
get-transactions-cn
Description: Получить список транзакций CN с пагинацией и поиском
Handler: App\Mcp\Tool\TransactionCnTool::getTransactionsCn()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по строке (account, status, balanceType, currency, deal.name, contact.name, room.name, paymentMethod.name). Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по строке (account, status, balanceType, currency, deal.name, contact.name, room.name, paymentMethod.name). Пустое значение — без фильтра." ] ] ] |
get-wallet-types
Description: Получить список типов кошельков с пагинацией и поиском
Handler: App\Mcp\Tool\WalletTypeTool::getWalletTypes()
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
page |
integer | No |
1
|
Номер страницы |
limit |
integer | No |
100
|
Количество записей на странице (max 500) |
search |
null|string | No |
|
Поиск по названию кошелька. Пустое значение — без фильтра. |
Full Schema
array:2 [ "type" => "object" "properties" => array:3 [ "page" => array:4 [ "type" => "integer" "default" => 1 "description" => "Номер страницы" "minimum" => 1 ] "limit" => array:5 [ "type" => "integer" "default" => 100 "description" => "Количество записей на странице (max 500)" "minimum" => 1 "maximum" => 500 ] "search" => array:3 [ "type" => array:2 [ 0 => "null" 1 => "string" ] "default" => null "description" => "Поиск по названию кошелька. Пустое значение — без фильтра." ] ] ] |
Prompts 0
No prompts were registered.
Resources 7
database-schema
| URI | app://schema/database |
|---|---|
| Handler | App\Mcp\Resource\BusinessContextResource::getDatabaseSchema() |
| Description | Full database schema with entities, relations and field types |
business-rules
| URI | app://domain/business-rules |
|---|---|
| Handler | App\Mcp\Resource\BusinessContextResource::getBusinessRules() |
| Description | Auto-generated business rules: validation, workflows, lifecycle callbacks |
config-statuses
| URI | app://config/statuses |
|---|---|
| Handler | App\Mcp\Resource\ConfigResource::getStatuses() |
| Description | Все возможные статусы для основных сущностей (Deal, Contact и др.) |
system-health
| URI | app://system/health |
|---|---|
| Handler | App\Mcp\Resource\SystemResource::getHealth() |
| Description | Health status: DB connectivity, environment, uptime, version |
system-routes
| URI | app://system/routes |
|---|---|
| Handler | App\Mcp\Resource\SystemResource::getRoutes() |
| Description | Список всех маршрутов приложения (имя, путь, метод, контроллер) |
monitoring-counts
| URI | app://monitoring/counts |
|---|---|
| Handler | App\Mcp\Resource\SystemResource::getMonitoringCounts() |
| Description | Количество записей во всех сущностях |
monitoring-errors
| URI | app://monitoring/errors |
|---|---|
| Handler | App\Mcp\Resource\SystemResource::getMonitoringErrors() |
| Description | Последние 50 ошибок из лога (приложения) |
Resource Templates 0
No resource templates were registered.