Skip to main content
Glama

list_counterparties

Retrieve an organization's counterparties by box ID, filter by name, INN, or status, and paginate results to manage Diadoc document workflows.

Instructions

Список контрагентов организации (myBoxId). / List counterparties for an organization.

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": {
      "box_id": "<box_id>"
    },
    "name": "list_counterparties"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoТекстовый поиск по названию или ИНН (нельзя вместе с after_index_key)
box_idYesМой идентификатор ящика (myBoxId)
page_sizeNoРазмер страницы (1–100)
after_index_keyNoКурсор пагинации (afterIndexKey)
counteragent_statusNoФильтр по статусу контрагента

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'List' implies a read, but the description never confirms read-only behavior, says nothing about pagination expectations, result volume, or ordering, and omits the mutual-exclusion rule for query vs after_index_key.

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?

Extremely short and front-loaded, with the resource and scope in the first clause. The cost is that the same sentence is duplicated across two languages, which doubles length without adding information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, unannotated, no-output-schema list tool, the description is too thin: it omits read-only nature, pagination behavior, and the parameter interaction rule. The rich schema compensates for parameter naming but not for behavioral context.

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 coverage is 100%, so all five parameters including the status enum are already documented in structured fields. The only parameter referenced in the description is myBoxId for box_id, which merely restates the schema text, so baseline 3 applies.

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 ('List counterparties') scoped to an organization via myBoxId, which distinguishes it from sibling resources like list_documents and list_organizations. The bilingual repetition adds no ambiguity but also no extra differentiation beyond the resource name.

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, no prerequisites, and no mention of alternatives. The description does not even surface the important exclusion documented only in the schema (query cannot be combined with after_index_key), leaving the agent to discover that constraint on its own.

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