Skip to main content
Glama
conarti

yandex-messenger-mcp

by conarti

Get chat history

get_history
Read-only

Fetch cursor-paginated message history for a chat, with optional date range and limit filters.

Instructions

Страница сообщений конкретного чата с пагинацией по курсору.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYesChatId либо поисковый запрос (имя собеседника/чата) для резолва
afterNoISO-дата/время: сообщения строго ПОСЛЕ этого момента (альтернатива from_date)
limitNoМаксимум сообщений на страницу (по умолчанию 40)
beforeNoКурсор: timestamp в микросекундах (строка, точность BigInt). Вернуть сообщения строго старше него; значение для следующей страницы - next_before из предыдущей выдачи
to_dateNoISO-дата/время верхней границы (ИСКЛЮЧАЮЩАЯ): сообщение ровно на to_date не попадает. Для «сообщений за сегодня» передайте from_date=сегодня, to_date=завтра
from_dateNoISO-дата/время нижней границы (включающая): сообщения от этой даты и позже. Пример: 2026-07-17
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds that the tool returns a page of messages with cursor pagination, which is useful but does not disclose additional behavioral traits like rate limits or sorting order.

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 a single sentence that immediately states the core functionality (get chat history with pagination). No wasted words.

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?

There is no output schema, and the description does not explain the return format (e.g., message fields, cursor structure). Given the complexity of parameters (date range, cursor), the description is incomplete for an agent to fully understand the tool's behavior.

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 parameters have descriptions in the schema. The tool description does not add new meaning beyond the schema; it only mentions pagination. Baseline of 3 is appropriate.

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 it retrieves a page of messages from a specific chat with cursor pagination. The verb 'get' and resource 'history' are specific, and the pagination detail distinguishes it from siblings like get_message (single message) and search (query-based).

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 description implies usage for retrieving chat messages with pagination but does not explicitly state when to use this tool versus alternatives like get_thread or search. No 'when not to use' guidance is provided, though the context of cursor pagination hints at its purpose.

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/conarti/yandex-messenger-mcp'

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