Skip to main content
Glama

NOVA MCP connector for Kommo

Update leads

leads_update
DestructiveIdempotent

Обновление сделок. В каждом объекте обязателен id, остальные поля только те, что меняются. Поля: name, price (бюджет), pipeline_id, status_id (этап из pipelines_statuses), responsible_user_id (из users_list), loss_reason_id, tags_to_add [{name} или {id}]. custom_fields_values: [{field_id, values:[{value}]}] или [{field_id, values:[{enum_id}]}] для списка. field_id берите из custom_fields_list той же сущности. Контакт вместе со сделкой не создаётся.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "items": "<items>"
    },
    "name": "leads_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare a mutating, destructive, idempotent operation; the description goes beyond them by defining partial-update semantics (only fields that change are sent), requiring an id on every object, and stating that a contact is not created alongside the lead — a non-obvious side-effect constraint. It still does not disclose whether arrays like tags_to_add append or replace, which matters for a destructiveHint=true tool.

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

Conciseness4/5

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

Dense and front-loaded: the update rule and id requirement come first, field documentation follows. Every clause carries information, though the inline field enumeration is somewhat hard to scan compared to a structured list.

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 destructive batch-update tool with a 0%-coverage schema and no output schema, this is close to complete: it covers the input contract, ID sourcing, and one important side-effect. It leaves out return/result behavior and the replace-vs-append semantics of tags and custom fields.

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

Parameters4/5

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

Schema coverage is 0% and the schema exposes only a bare untyped 'items' array, so the description must carry everything — and it does, documenting id-required-per-object, the field list, the tags_to_add {name}/{id} shapes, and both custom_fields_values variants (value vs enum_id). Missing only batch-size limits and whether any fields are mandatory beyond id.

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?

Opens with a specific verb+resource ("Обновление сделок" / update leads) and immediately enumerates the mutable fields, so the agent knows exactly what operation this performs. It distinguishes itself from read siblings (leads_get, leads_list) but does not explicitly contrast with leads_complex_create or leads_create, so it falls short of a 5.

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?

Gives concrete prerequisite routing: status_id must come from pipelines_statuses, responsible_user_id from users_list, and field_id from custom_fields_list of the same entity. That is actionable when-to-use context. It lacks any explicit "use X instead when..." exclusion against the sibling create/update tools.

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