Skip to main content
Glama

История переписки

dialogs_history
Read-onlyIdempotent

Fetch dialog messages from oldest to newest. Support pagination with a timestamp to load earlier messages, and optionally mark messages as read.

Instructions

Сообщения диалога от старых к новым. По умолчанию ничего не помечает прочитанным — счётчики в панели остаются как были. Чтобы уйти вглубь истории, передайте before со временем самого раннего сообщения из предыдущего ответа.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
limitNoСколько записей вернуть, максимум 300. По умолчанию 80.
beforeNoПоказать сообщения раньше этого момента (ISO 8601).
dialogYesДиалог: имя собеседника, @username, номер чата или идентификатор.
mark_readNoПометить входящие прочитанными и обнулить счётчик. По умолчанию нет.
Behavior4/5

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

Annotations already indicate read-only and non-destructive behavior. The description adds a valuable behavioral nuance: by default, it does not mark messages as read, leaving counters unchanged. This goes beyond the annotations and helps the agent understand side effects.

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?

The description is two sentences, front-loaded with the main purpose, and contains no redundant information. Every sentence adds meaningful guidance.

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?

Given the tool's complexity (5 parameters, no output schema), the description covers ordering, pagination, and read behavior, which are the critical aspects. It does not describe return fields, but that is not strictly necessary for this list-like tool. Slightly more detail on response structure could make it a 5.

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 coverage is 100%, so the baseline is 3. The description enhances this by explaining how to use the 'before' parameter for deep history pagination and reiterating the default for mark_read. This adds practical value beyond the raw schema.

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 that this tool returns dialog messages in chronological order from old to new, which is a specific action. It also mentions the default behavior of not marking messages as read, distinguishing it from other dialog-related tools like dialogs_reply or dialogs_update.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear usage context, including how to paginate deeper into history using the 'before' parameter. However, it does not explicitly name alternative tools or state when not to use this tool, so it falls short of a 5.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/uk-kd/operbots-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server