Skip to main content
Glama

NOVA MCP connector for Kommo

Upload file

files_upload

Загрузка файла на диск amo. file_name — имя с расширением. content_base64 — содержимое, не больше 100 МБ. entity_type (leads, contacts, companies, customers) и entity_id привязывают файл к карточке. Без этой пары файл остаётся в диске без карточки.

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": {
      "file_name": "<file_name>",
      "content_base64": "<content_base64>"
    },
    "name": "files_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
entity_idNoId карточки. Передаётся только вместе с entity_type.
file_nameYesИмя файла с расширением, без пути.
entity_typeNo
content_base64YesСодержимое файла в base64, не больше 100 МБ.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare this is a non-read-only, non-destructive, non-idempotent mutation. The description adds useful behavior beyond that: the 100 MB size limit and what happens when the entity pair is omitted. It does not cover permissions, overwrite behavior, or the result of the upload.

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?

The description is compact and front-loaded with the core action, then moves through each parameter and the optional attachment behavior. Every sentence contributes information without repetition.

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 four-parameter mutation tool with no output schema, the description covers the inputs, size limit, and attachment semantics well. It still leaves out important operational details such as required permissions and whether uploading a duplicate name overwrites or creates another file.

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 coverage is 75%, and the description reinforces the required file_name extension, the base64 size cap, and the dependency between entity_type and entity_id. It also adds the meaningful consequence that omitting the entity pair leaves the file unattached to any card.

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: uploading a file to the amo disk. It clearly identifies the two required inputs and the optional card attachment, though it does not explicitly contrast this tool with file-listing or deletion siblings.

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 explains the key usage choice: include entity_type and entity_id to attach the file to a card, otherwise the file remains unattached on the disk. It gives no explicit when-not guidance or named alternatives, so the guidance is implied rather than complete.

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