Skip to main content
Glama

NOVA MCP connector for Kommo

Restore from trash

trash_restore

Поднять удалённые сделки, контакты или компании. Тот же ajax, что расклейка дублей: POST /ajax/restore/leads/ или /ajax/restore/contacts/ с IDS[]. Компании идут через маршрут контактов: отдельного restore/companies нет. confirm true обязателен.

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": {
      "ids": "<ids>",
      "confirm": "<confirm>"
    },
    "name": "trash_restore"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes
entityNo
confirmYesОбязательно true. Операция меняет или удаляет данные.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations only declare it is a non-read-only, non-idempotent, non-destructive mutation. The description adds genuinely new behavior: the underlying POST endpoints, the quirk that companies have no restore route and must go through the contacts endpoint, and the mandatory confirm flag. It does not cover what happens on partial failures or invalid IDs.

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?

Three short, front-loaded sentences with no filler; the restore target comes first, then the transport details. The comparison to duplicate-merging ('тот же ajax, что расклейка дублей') is a slightly opaque reference that costs the reader a beat.

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 3-parameter mutation with no output schema and safety already covered by annotations, the description is mostly sufficient. It still omits return shape, error behavior for non-trashed or missing IDs, and whether the call is all-or-nothing.

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 only 33%, so the description has to compensate and it largely does: it explains that ids are sent as IDS[] to the endpoint and clarifies the tricky entity enum by stating companies route through contacts. The confirm parameter's meaning is reinforced as mandatory.

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: restoring deleted deals, contacts or companies. That is clear and distinct from a listing tool, though it never names a sibling (e.g. trash_list) as the counterpart for finding IDs.

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 gives an operational constraint for use ('confirm true is mandatory') and routing rules per entity, which is real guidance. But there is no explicit when-to-use / when-not and no mention of how IDs are obtained, so selection guidance is only implied.

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