Skip to main content
Glama
amocrm-kommo-mcp

amocrm-kommo-mcp

Создать сделку с контактом

crm_create_lead

Create a new lead in amoCRM/Kommo with contact, company, tags, and note in one call. Returns lead, contact, and company IDs; may merge existing contacts.

Instructions

Создаёт сделку одним запросом вместе с новым контактом (имя, телефон, e-mail), компанией и тегами; при note добавляет примечание. Без pipeline_id/status_id сделка встаёт в первый этап основной воронки; id бери из crm_account. amoCRM может склеить контакт с существующим — тогда merged_with_existing=true. Возвращает lead_id, contact_id, company_id. Чтобы изменить уже существующую сделку, используйте crm_update_lead; не создавайте дубль — сначала проверьте crm_find_contact. Требует AMOCRM_DOMAIN и AMOCRM_TOKEN; лимит amoCRM 7 запросов/с соблюдается автоматически. Изменяет данные в CRM: покажите пользователю, что будет записано, и получите согласие.

Input Schema

NameRequiredDescriptionDefault
nameYesНазвание сделки
noteNoТекст примечания к сделке
tagsNoТеги сделки
emailNoE-mail контакта
phoneNoТелефон контакта, например +79001234567
priceNoБюджет
status_idNoID этапа воронки (из crm_account); 142 — успешно, 143 — проиграно
pipeline_idNoID воронки (из crm_account)
company_nameNoНазвание компании клиента
contact_nameNoИмя контакта
responsible_user_idNoID ответственного менеджера (из crm_account)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv1.2.2
    • addedInput schema / properties / company_name / description
      Added value: +"Название компании клиента"
    • addedInput schema / properties / contact_name / description
      Added value: +"Имя контакта"
    • addedInput schema / properties / email / description
      Added value: +"E-mail контакта"
    • addedInput schema / properties / phone / description
      Added value: +"Телефон контакта, например +79001234567"
    • addedInput schema / properties / pipeline_id / description
      Added value: +"ID воронки (из crm_account)"
    • addedInput schema / properties / responsible_user_id / description
      Added value: +"ID ответственного менеджера (из crm_account)"
    • addedInput schema / properties / status_id / description
      Added value: +"ID этапа воронки (из crm_account); 142 — успешно, 143 — проиграно"
    • addedInput schema / properties / tags / description
      Added value: +"Теги сделки"
  2. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond annotations, it discloses required environment variables (AMOCRM_DOMAIN, AMOCRM_TOKEN), automatic amoCRM rate-limit compliance, contact-merging behavior with merged_with_existing=true, and the need to show the user what will be written and obtain consent. These are substantial operational details not captured by the annotations.

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?

The description is dense and somewhat run-on, but it is front-loaded with the core create action and each sentence carries relevant information. For an 11-parameter mutation tool with no output schema, the length is largely justified.

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

Completeness5/5

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

Given the complexity, high schema coverage, and absence of an output schema, the description is complete: it covers creation scope, defaults, auth requirements, rate limits, merge behavior, return identifiers, alternatives, and user-consent expectations.

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 description coverage is 100%, so the baseline is 3. The description still adds useful semantics: pipeline_id/status_id default to the first stage of the main pipeline, IDs come from crm_account, and the note parameter adds a note. It does not add much beyond schema for every parameter, so 4 is appropriate.

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

Purpose5/5

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

The description states a specific verb and resource: creates a deal together with a new contact, company, and tags, and optionally adds a note. It also names sibling tools and distinguishes this creation tool from crm_update_lead and crm_find_contact, so an agent can route correctly.

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

Usage Guidelines5/5

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

It explicitly says to use crm_update_lead for modifying an existing deal and to check crm_find_contact first to avoid duplicates. It also explains the default pipeline/status behavior when pipeline_id/status_id are omitted.

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