Skip to main content
Glama
kommo

kommo

by santosadvo

kommo_request

Call any Kommo API v4 endpoint to read or modify CRM leads, contacts, companies, tasks, notes, pipelines, and custom fields via GET, POST, PATCH, or DELETE.

Instructions

Chama qualquer endpoint da API v4 do Kommo (acesso total).

method: GET, POST, PATCH, DELETE.
path: caminho do endpoint, ex. "/leads", "/contacts/123", "/account".
      O prefixo /api/v4 e adicionado automaticamente se ausente.
params: parametros de query (ex. {"query": "Joao", "limit": 50}).
body: corpo JSON para POST/PATCH (lista ou objeto, conforme a API).

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": {
      "method": "<method>",
      "path": "<path>"
    },
    "name": "kommo_request"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNo
pathYes
methodYes
paramsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose useful behavior: the full method set including DELETE, automatic /api/v4 prefixing, and body applicability limited to POST/PATCH. It does not mention authentication requirements, rate limits, error responses, or that DELETE calls are irreversible.

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?

Purpose is front-loaded in one line, followed by a compact per-parameter breakdown with no filler. The line-broken pseudo-list is terse and readable, though it relies on formatting that may not survive all renderings.

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 full-access passthrough with no annotations and no output schema, the definition covers the request side well but omits the response shape, error handling, and how to choose this over the 19 specialized siblings. An agent can construct a call but not confidently decide it should.

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 description coverage is 0%, so the description must compensate and largely does: it enumerates the allowed method values, gives path format plus three concrete examples and the auto-prefix rule, shows a query-param example, and explains that body accepts a list or object for POST/PATCH. Only requiredness (body/params optional) is left to the schema.

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?

States a specific verb and resource: it calls ANY endpoint of the Kommo API v4, explicitly flagged as full access. This makes clear it is the generic passthrough in a family of purpose-built tools, though it never names a sibling to contrast with.

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 when-to-use guidance at all: nothing tells the agent to prefer kommo_list_leads, kommo_create_contacts, etc. for their specific operations, nor when this raw request tool is the right fallback. Usage is only implied by 'qualquer endpoint'.

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