Skip to main content
Glama
conarti

yandex-messenger-mcp

by conarti

Get thread

get_thread
Read-only

Retrieve messages from a thread micro-chat using thread ID or parent chat and message ID. Returns empty: true for non-materialized threads.

Instructions

Сообщения треда как микро-чата. Адресуется либо готовым thread_id, либо парой chat + message_id родительского сообщения (деривация thread_id, «Обсудить»). Пустой тред (ещё не материализован) возвращается с empty:true - первое сообщение в него отправляется через send_message с этим thread_id как ChatId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatNoРодительский чат: ChatId либо поисковый запрос; нужен вместе с message_id
limitNoМаксимум сообщений треда (по умолчанию 40)
beforeNoКурсор: timestamp в микросекундах (строка). Вернуть сообщения строго старше него
thread_idNoГотовый ChatId треда (альтернатива паре chat + message_id)
message_idNoTimestamp родительского сообщения в микросекундах (строка); нужен вместе с chat
Behavior4/5

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

The description adds behavioral context beyond annotations, such as the empty thread case (empty:true) and that the first message is sent via send_message. This complements the readOnlyHint annotation without contradiction.

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?

The description is concise but dense, mixing key usage info with a tangential note about send_message. It could be better structured and front-loaded with the core purpose.

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?

Since there is no output schema, the description should explain the return structure. It only mentions empty:true for empty threads, leaving pagination, message fields, and other details unspecified, which is inadequate for a retrieval tool.

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?

With 100% schema description coverage, the baseline is 3. The description adds minimal extra meaning by clarifying the two addressing modes, but does not deepen understanding beyond what the schema provides.

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?

The description clearly states that the tool retrieves thread messages as a micro-chat and explains two addressing modes (thread_id or chat+message_id). It differentiates from siblings like get_message or get_history, but could be more explicit about contrasts.

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 fetching thread messages but does not provide explicit guidance on when to use this tool versus alternatives like get_message_context or get_history. No when-not or exclusion criteria are given.

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