Skip to main content
Glama
penmadebykisss

amocrm-kommo-mcp

Зависшие сделки

crm_stale_leads
Read-only

Find stale CRM leads: open deals unchanged for 7+ days or lacking scheduled tasks. Sort by budget with owner, stage, and days idle; read-only.

Instructions

Открытые сделки, которые давно не менялись (по умолчанию 7+ дней) или у которых нет ни одной запланированной задачи — то, что теряет отдел продаж. Сортировка по бюджету, с ответственным, этапом и днями без движения. Только чтение.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoСколько дней без изменений считать зависанием
limitNo
pipeline_idNo
include_no_taskNoДобавить свежие сделки без запланированной задачи
responsible_user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, and the description's 'Только чтение' merely repeats that. It does add real value beyond the annotations by disclosing the default 7-day threshold and, importantly, the return shape (sorted by budget, with responsible, stage, and days idle) since no output schema exists.

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?

Two front-loaded sentences with no filler: the first defines the stale condition, the second covers sorting and returned fields. Efficient, though the clause list in sentence two is slightly dense.

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

Completeness3/5

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

With no output schema, the description usefully sketches the return fields and sort order, and fully explains the staleness rule. However, it leaves the semantics of limit, pipeline_id, and responsible_user_id unexplained, which is a real gap for a 5-parameter filtering tool.

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

Parameters2/5

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

Schema coverage is only 40%: days and include_no_task are documented in the schema, but limit, pipeline_id, and responsible_user_id have no description anywhere. The description echoes the 7-day default and mentions 'с ответственным' (responsible), but does not compensate for the three undocumented parameters as a <50% coverage case requires.

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 description states a specific resource (open deals) and the precise condition that makes them stale (no change for 7+ days by default, or no scheduled task), which clearly defines the tool's purpose. It does not, however, name or distinguish itself from the closest sibling (crm_search_leads), which also returns lead lists.

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

Usage Guidelines3/5

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

It defines the staleness criteria that trigger inclusion, which implies when the tool is relevant, but gives no explicit 'use this instead of crm_search_leads when...' guidance or exclusion conditions. The criteria are inferable rather than stated as usage rules.

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