Skip to main content
Glama

NOVA MCP connector for Kommo

Update roles

roles_update
DestructiveIdempotent

Правка ролей. В каждом объекте обязателен id. rights: сделки, контакты и компании — view, edit, add, delete, export; задачи — edit и delete. Значения A все, G группа, M свои, D запрет. role без прав сущностей не создаётся: либо rights, либо пользователь получит отказ amo.

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": {
      "items": "<items>"
    },
    "name": "roles_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesНе больше 50 объектов.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds one genuinely useful behavioral fact — that a role without entity rights will be rejected by amo — but never explains what destruction means here (e.g., whether existing rights not listed are revoked or merged) or what permissions the caller needs.

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

Conciseness3/5

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

Front-loaded and free of filler, but rendered in telegraphic fragments ("role без прав сущностей не создаётся: либо rights, либо ...") that are dense to parse. The information earns its place; the presentation could be structured more readably.

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 destructive, idempotent batch mutation with no output schema, the description covers item shape and rights value encoding but omits merge-vs-replace semantics, partial-failure behavior across the 50-item batch, and required scopes. Those are material gaps for an operation flagged destructive.

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?

The schema is nominally 100% covered but actually opaque: items is an untyped array of objects with only a 50-object cap. The description is the only source of item semantics — id is mandatory per object, and the rights keys map to A (all), G (group), M (own), D (deny) with the per-entity permission sets. It stops short of showing the exact nesting of the rights object, so 4 rather than 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Правка ролей" is essentially a restatement of the title "Update roles", so the opening line adds no differentiation from siblings such as roles_create or roles_delete. The body does make clear what is being edited (rights on deals/contacts/companies/tasks), which lifts it above pure tautology, but an agent still has to infer the create-vs-update boundary.

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 sibling is named as an alternative. The only usage-adjacent statement is a failure condition (a role without entity rights is rejected), which is closer to a constraint than 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