Skip to main content
Glama

NOVA MCP connector for Kommo

Create invoice

invoices_create

Создание счёта и привязка к сделке или покупателю. entity_type: leads или customers, entity_id — id карточки. items: [{description, unit_price, quantity, unit_type}]. quantity по умолчанию 1, unit_type по умолчанию шт. Не больше 50 позиций. Если раздела счетов нет, бэк включает его сам.

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": {
      "entity_type": "<entity_type>",
      "entity_id": "<entity_id>",
      "items": "<items>"
    },
    "name": "invoices_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
entity_idYes
entity_typeYes

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 flag a non-readonly, non-destructive, non-idempotent, closed-world write, and the description adds real context beyond that: the 50-line-item cap, per-item defaults (quantity=1, unit_type='шт'), and the notable side effect that the backend auto-creates the invoices section if it is missing. It does not mention required permissions or what happens on partial/invalid input, which keeps it from a 5.

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 text is dense and front-loaded, leading with purpose then parameter notes in the order an agent needs them, with no filler sentences. It is telegraphic and mixes languages with the English title/annotations, but nothing is wasted.

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 three-parameter create tool with no output schema, the definition covers inputs, defaults, limits, and the section auto-creation side effect. It leaves unspecified what the call returns (e.g. the new invoice id), which an agent needs to chain a follow-up update or get.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden and does so well: it enumerates the entity_type values (leads or customers), explains entity_id as the card id, spells out the items object shape, and documents defaults and limits that appear nowhere in the schema. These are exactly the details an agent needs to build a valid payload.

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 opens with a specific verb+resource ('Создание счёта') and adds the key linkage semantics (attaching to a deal or customer), which immediately separates it from read/update siblings like invoices_get or invoices_update. It stops short of explicitly naming when to prefer a different creation path, but the resource is unambiguous.

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?

Usage is only implied: an agent can infer this is the tool for issuing a new invoice against a lead or customer card, but there is no explicit when-to-use / when-not-to-use statement or named alternative. Practical constraints (max 50 line items) are given, which helps select it correctly but is not routing guidance.

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