Skip to main content
Glama

Создать лид

b24_create_lead

Create a new lead in Bitrix24 with name, phone, email, amount, and source. Use for unqualified inquiries; returns lead_id.

Instructions

Создаёт лид (входящую заявку) в Битрикс24: название, имя, телефон, e-mail, сумма, источник, комментарий. Возвращает lead_id. Используйте для заявок, которые ещё не квалифицированы; для подтверждённой продажи — b24_create_deal. Изменяет данные в Битрикс24: покажите пользователю, что будет записано, и получите согласие. Требует BITRIX24_WEBHOOK_URL (входящий вебхук с правами crm, task, user); лимит 2 запроса/с соблюдается автоматически.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoИмя клиента
emailNo
phoneNo
titleYesНазвание лида
amountNoПредполагаемая сумма
commentNo
source_idNoИсточник, например WEB, CALL, EMAIL, ADVERTISING
responsible_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare a non-idempotent, non-destructive, open-world write. The description goes beyond them by disclosing the required credential (BITRIX24_WEBHOOK_URL with crm/task/user rights), that the 2 req/s limit is auto-handled, the consent obligation, and the return value (lead_id). It stops short of warning that repeat calls create duplicate leads, which is the main residual risk.

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?

Front-loaded with verb and resource, then routing, then operational caveats. Every clause carries information, though the credential and consent sentences make it denser than strictly necessary for a create tool.

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?

No output schema exists, so the description correctly supplies the return value (lead_id). For an 8-parameter mutation tool it covers routing, auth, consent, and rate limiting; only the semantics of the undocumented responsible_id parameter remain unaddressed.

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 only 50%, but the description names seven of the eight parameters (title, name, phone, e-mail, amount, source, comment) — including several the schema leaves undocumented, such as phone, email, and comment. It adds no format or constraint detail (e.g. source_id vocabulary, responsible_id semantics), so it compensates only partially.

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?

States a specific verb and resource ('Создаёт лид (входящую заявку) в Битрикс24') and enumerates the fields it writes, so the resource is unambiguous. It also names the sibling it is not ('для подтверждённой продажи — b24_create_deal'), letting an agent separate it from the deal tools without opening a schema.

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?

Explicit routing rule: use for requests that are not yet qualified, use b24_create_deal for a confirmed sale. It also gives a procedural precondition (show the user what will be written and obtain consent), so both the when and the how are covered.

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