Skip to main content
Glama
clarkstamina-max

Kommo CRM MCP Server

get_role_by_id

Retrieve exact access permissions for a specific role using its role ID and client slug.

Instructions

Retorna as permissões exatas de um perfil de acesso (Role) específico pelo seu ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYesID da Role (perfil de acesso)
client_slugYesIdentificador do cliente (slug)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. The verb 'Retorna' implies a read-only operation, and 'permissões exatas' hints at the return content, offering some behavioral context. However, it does not disclose error behavior, authentication requirements, or whether the response includes only permissions versus full role details.

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?

A single concise sentence that is front-loaded with the core action and resource. No redundant words or filler, making it efficient for an agent to parse.

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 simple get-by-id tool with two well-documented parameters, the description is largely sufficient. It could be slightly more complete by referencing get_roles for listing scenarios or clarifying the return structure, but overall it provides adequate context for correct invocation.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both role_id and client_slug. The description adds minimal semantic value beyond reinforcing that the tool fetches 'pelo seu ID'; it does not explain why client_slug is required or how it relates to role_id.

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

Purpose5/5

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

The description clearly states the action ('Retorna' - returns) and the specific resource ('permissões exatas de um perfil de acesso (Role) específico pelo seu ID'). This distinguishes it well from sibling get_roles, which likely lists roles, by emphasizing exact permissions for a single role.

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?

The by-ID phrasing implies use when a specific role_id is known and exact permissions are needed, but the description does not explicitly mention when not to use it or point to get_roles as the alternative for listing roles. Usage context is implied rather than stated.

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