Skip to main content
Glama

im_thread_messages

Retrieve comments from a Bitrix24 message thread by providing the channel ID and message ID. Includes fallback scanning if primary API unavailable.

Instructions

READ-ONLY: прочитать существующий тред (комментарии) сообщения канала; при недоступности im.v2 использует fallback-сканирование

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoМаксимум сообщений треда. По умолчанию 50, максимум 100
dialog_idYesID родительского канала в формате chat123
message_idYesID сообщения, чей тред нужно прочитать
scan_pagesNoРазмер окна поиска старого сообщения через im.v2 context. По умолчанию 5, максимум 10
include_systemNoВключать системный маркер «Начало обсуждения». По умолчанию false
thread_dialog_idNoИзвестный ID тред-чата для быстрого чтения без поиска
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses two critical behaviors: the operation is READ-ONLY and it uses fallback scanning when im.v2 is unavailable. This gives the agent a clear safety profile and an understanding of the underlying behavior, though it omits details like authentication or rate limits.

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, front-loaded sentence that immediately communicates the READ-ONLY nature and the core function. It is concise with no filler, and every phrase adds value.

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

Completeness3/5

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

The tool has six parameters and no output schema, yet the description does not mention return format, pagination behavior, or how the limit and scan_pages parameters affect results. The fallback scanning note adds useful context, but overall the description is sparse for a tool of this complexity, leaving some gaps.

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?

The input schema already provides 100% description coverage for all six parameters, so the baseline is 3. The description itself adds no additional parameter semantics beyond the schema, not even connecting the fallback behavior to scan_pages or thread_dialog_id.

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 a specific action ('read existing thread (comments) of a channel message') with an explicit READ-ONLY marker. This distinguishes it from write/reply tools like im_thread_reply and im_chat_messages, making the purpose unambiguous.

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 the tool is for reading existing threads but does not explicitly state when to prefer it over similar read tools like im_message_comments or how to handle fallback scenarios. No exclusions or alternatives are named, so usage context is implied rather than explicit.

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/imejaikin/bitrix24-mcp'

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