Skip to main content
Glama

list_documents

Retrieve documents from an organization's Diadoc box with filters, date ranges, and cursor pagination to browse or locate specific items.

Instructions

Список документов в ящике с фильтрами и пагинацией. / List documents in a box.

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_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoСколько документов вернуть (0–100)
box_idYesИдентификатор ящика организации (boxId)
timestamp_toNoВерхняя граница времени события, ISO-8601
sort_directionNoНаправление сортировки
timestamp_fromNoНижняя граница времени события, ISO-8601 (конвертируется в тики)
after_index_keyNoКурсор пагинации из предыдущего ответа (afterIndexKey)
filter_categoryNoКатегория-фильтр (обязательна), напр. 'Any.Inbound', 'Any.InboundNotFinished'Any.InboundNotFinished
to_document_dateNoДата документа до, формат ДД.ММ.ГГГГ
from_document_dateNoДата документа от, формат ДД.ММ.ГГГГ

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It implies a read-only listing with filtering and pagination, but says nothing about permissions required, how the mandatory 'Any.InboundNotFinished' default filter changes results, maximum page size behavior, or what happens with conflicting date-range formats.

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?

It is short and front-loaded, but the same content is duplicated in Russian and English, and the English half drops 'with filters and pagination', making the translation a degraded copy rather than added 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 nine-parameter listing tool with a pagination cursor, a required default filter category, and two different date formats, with no annotations and no output schema, the description is far too thin. An agent gets no explanation of the default filter's effect or how to iterate pages, both of which are central to calling this correctly.

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 all nine parameters (including the pagination cursor, enum sort direction and both timestamp and document-date ranges) are already documented in the schema. The description adds no syntax, format or inter-parameter meaning beyond what the schema states, so the baseline of 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 documents') plus a scope ('in a box'), which is enough to separate it from get_document, send_document and sign_document. It does not explicitly name a sibling alternative, but the read/list nature is unambiguous.

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: nothing says to prefer this over get_document for a single item, nor when to use the filter/pagination path. The Russian clause 'с фильтрами и пагинацией' hints at capability but gives no conditions or exclusions.

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