Skip to main content
Glama
kommo

kommo

by santosadvo

kommo_get_lead

Retrieve a CRM lead by its ID, including linked contacts and companies, to inspect deal details and related records.

Instructions

Retorna um lead pelo ID, com contatos/empresas vinculados.

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": {
      "lead_id": "<lead_id>"
    },
    "name": "kommo_get_lead"
  }
}

Input Schema

NameRequiredDescriptionDefault
with_Nocontacts,companies
lead_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full burden. It does disclose the returned payload shape (lead plus linked contacts/companies), which is genuinely useful, but says nothing about authentication needs, behavior when the ID does not exist, or whether expansion is configurable.

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

Conciseness5/5

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

A single front-loaded sentence with zero filler; the resource, the lookup key, and the returned associations all appear immediately.

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?

For a simple two-parameter read tool with no output schema, the description is minimally adequate: it says what is fetched and roughly what comes back. It falls short on the undocumented 'with_' parameter and on not-found/error behavior, which an agent would need to call it confidently.

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 description coverage is 0%, so the description must compensate. It conveys that lead_id is an ID, and its mention of linked contacts/companies hints at the 'with_' default, but it never explains that 'with_' is a caller-overridable parameter or what values it accepts.

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 verb and resource ('Retorna um lead') scoped to a single record by ID, and adds that linked contacts/companies are included. This implicitly distinguishes it from list-style siblings such as kommo_list_leads, though it never names an alternative explicitly.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives (e.g., list vs. get). The phrase 'pelo ID' only weakly implies the precondition that the caller must already know the lead ID.

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