Skip to main content
Glama

NOVA MCP connector for Kommo

List leads

leads_list
Read-onlyIdempotent

Список сделок. Без filters — страница API v4, поиск query: название сделки. До 250 за страницу, по умолчанию 50. С filters возвращаются отобранные карточки. limit при filters по умолчанию 20, максимум 50. В начале ответа page, limit, has_next и, если есть ещё, next_page. Карточка короткая: id, имя, бюджет, этап, теги и значения полей. Длинный текст поля сокращается. Полная карточка — через get. query и filters.name — вхождение в название, без учёта регистра, в том числе вместе с другими фильтрами. Вместе их не передают. Телефон и email ищет query без filters. Фильтры сделки. name — часть названия, без учёта регистра. pipelines — список {pipeline_id, status_ids}, этапы из pipelines_statuses. Несуществующие воронка или этап — ошибка. Без pipelines сначала активные сделки. Пустая страница читает ещё этапы 142 и 143. date.kind: created — создана, closed — закрыта, in-work — ближайшая задача. Границы from и to: ДД.ММ.ГГГГ или ДД.ММ.ГГГГ ЧЧ:ММ. Вместо границ preset: current_day, yesterday, current_week, previous_week, current_month, previous_month, current_quarter, current_year, past_x_days. Для past_x_days нужен days. preset и from/to вместе не передаются. lead_source_ids — источники. unsorted: 1 телефон, 2 почта, 3 форма, 4 чат. responsible_user_ids, created_by и modified_by — id из users_list. tasks: failed_tasks — просроченные, no_tasks — без задач, today, tomorrow, week, month, quarter. price и labor_cost — {from, to}. loss_reason_ids, 0 — без причины. talk_number — номер беседы. has_open_talk: without, with_open, without_open. talk_read_status: 1 прочитано, 0 нет. last_message_type: 1 входящее, 2 исходящее. active_talks — период бесед, from, to или тот же preset. contact и company — имя целиком, дата created или modify, задачи и custom_fields связанной карточки. tag_ids из tags_list этой сущности, tags_logic and или or. product_ids — товары. custom_fields: field_id из custom_fields_list. Текст, ссылка и многострочный текст — value целиком, не часть строки. Список и мультисписок в values, empty — не заполнено. Число и дата в from и to. Галочка в checked.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "leads_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoНомер страницы, начиная с 1.
limitNoРазмер страницы. Без filters — по умолчанию 50, максимум 250. С filters — по умолчанию 20, максимум 50.
queryNoСтрока поиска, до 200 символов. название сделки С filters это вхождение в название, без учёта регистра. Вместе с filters.name не передаётся. Телефон и email ищет query без filters.
filtersNoleads. Фильтры сделки. name — часть названия, без учёта регистра. pipelines — список {pipeline_id, status_ids}, этапы из pipelines_statuses. Несуществующие воронка или этап — ошибка. Без pipelines сначала активные сделки. Пустая страница читает ещё этапы 142 и 143. date.kind: created — создана, closed — закрыта, in-work — ближайшая задача. Границы from и to: ДД.ММ.ГГГГ или ДД.ММ.ГГГГ ЧЧ:ММ. Вместо границ preset: current_day, yesterday, current_week, previous_week, current_month, previous_month, current_quarter, current_year, past_x_days. Для past_x_days нужен days. preset и from/to вместе не передаются. lead_source_ids — источники. unsorted: 1 телефон, 2 почта, 3 форма, 4 чат. responsible_user_ids, created_by и modified_by — id из users_list. tasks: failed_tasks — просроченные, no_tasks — без задач, today, tomorrow, week, month, quarter. price и labor_cost — {from, to}. loss_reason_ids, 0 — без причины. talk_number — номер беседы. has_open_talk: without, with_open, without_open. talk_read_status: 1 прочитано, 0 нет. last_message_type: 1 входящее, 2 исходящее. active_talks — период бесед, from, to или тот же preset. contact и company — имя целиком, дата created или modify, задачи и custom_fields связанной карточки. tag_ids из tags_list этой сущности, tags_logic and или or. product_ids — товары. custom_fields: field_id из custom_fields_list. Текст, ссылка и многострочный текст — value целиком, не часть строки. Список и мультисписок в values, empty — не заполнено. Число и дата в from и to. Галочка в checked. Ключи: name, pipelines, date, lead_source_ids, unsorted, responsible_user_ids, created_by, modified_by, tasks, price, labor_cost, loss_reason_ids, talk_number, has_open_talk, talk_read_status, last_message_type, active_talks, contact, company, tag_ids, tags_logic, product_ids, custom_fields.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, idempotent, non-destructive behavior, so safety needs no restating; instead the description adds the behaviors annotations cannot carry: default and maximum page sizes that differ with and without filters (50/250 vs 20/50), the response envelope (page, limit, has_next, next_page), and the fact that cards are returned in a short form with long text truncated, full detail requiring leads_get. It also flags that an empty page triggers reading of extra stages 142 and 143, a non-obvious side effect. This is substantive disclosure beyond the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The genuinely valuable part (page-size defaults, response envelope, short-card truncation, use get for full cards) is front-loaded in the first few sentences. After that the text becomes a dense wall that duplicates the 100%-covered filters schema almost verbatim, ending in a redundant list of keys already visible in the schema. For a definition this long, a substantial share of the content does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with deeply nested filters and no output schema, the description covers what an agent most needs: pagination defaults per mode, the response envelope including next_page, the truncated card shape, and cross-parameter constraints. It is close to complete; only sorting behavior and how invalid filter keys are handled go unmentioned.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, and the nested filters schema already documents each key, enum meaning, and mutual exclusion. The description largely restates that same material (date kinds, presets, unsorted codes, tag logic, custom field value modes) rather than adding syntax or semantics absent from the schema. Baseline 3 is appropriate since the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opener 'Список сделок' gives a clear verb+resource, and the description immediately splits the two modes (no filters = API v4 page with query search; with filters = filtered cards). It also distinguishes itself from the full-card path ('Полная карточка — через get'), implicitly pointing at leads_get. It stops short of a crisp first-line statement of scope, but an agent can tell what this tool does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives concrete conditions: use query alone for phone/email search, don't combine query with filters.name, don't combine preset with from/to, and note that without pipelines only active leads are returned first. These are real when/when-not rules rather than vague hints. What's missing is a statement of when this tool should be chosen over other listing/search surfaces, but the practical exclusion rules are unusually explicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources