Skip to main content
Glama

Ответить собеседнику

dialogs_reply

Send a bot message to a dialog using custom text or a saved reply template, optionally quoting a prior message. The dialog switches to manual mode until you return control.

Instructions

Отправляет сообщение человеку от имени бота — своим текстом или заготовкой из replies_list, при желании цитатой на конкретное сообщение (reply_to). По умолчанию диалог переходит в ручной режим и закрепляется за вами — сценарий перестаёт вести разговор, пока его не вернут (dialogs_update mode=bot). Бот должен быть запущен. Проверяйте поле «ошибка доставки» в ответе: сообщение сохраняется даже тогда, когда платформа его не приняла.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
caseNoДело: название или идентификатор. Если не указать, берётся дело по умолчанию, иначе последнее открытое в панели.
textNoТекст сообщения. 4096 — грубая верхняя граница на хранение, а не предел платформы: у Telegram он 4096, у MAX 3999, и с вложением у обеих свой предел подписи. Точные числа — operbots_catalog what=platforms; сверх своего предела панель откажет с указанием платформы.
replyNoОтправить заготовленный ответ: его название или идентификатор из replies_list. Вместо text, а не вместе с ним.
dialogYesДиалог: имя собеседника, @username, номер чата или идентификатор.
reply_toNoОтветить цитатой: id сообщения из dialogs_history. Служебные записи и уже удалённые сообщения цитировать нельзя — у собеседника их нет.
take_overNoПеревести диалог в ручной режим. По умолчанию да.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed2 schema fields changedv0.1.16
    • addedInput schema / properties / reply_to
      Added value: +{
      +  "description": "Ответить цитатой: id сообщения из dialogs_history. Служебные записи и уже удалённые сообщения цитировать нельзя — у собеседника их нет.",
      +  "type": "string"
      +}
    • changedInput schema / properties / text / description
      Previous value: -"Текст сообщения."New value: +"Текст сообщения. 4096 — грубая верхняя граница на хранение, а не предел платформы: у Telegram он 4096, у MAX 3999, и с вложением у обеих свой предел подписи. Точные числа — operbots_catalog what=platforms; сверх своего предела панель откажет с указанием платформы."
  2. Changed2 schema fields changedv0.1.14
    • addedInput schema / properties / reply
      Added value: +{
      +  "description": "Отправить заготовленный ответ: его название или идентификатор из replies_list. Вместо text, а не вместе с ним.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "dialog",
      -  "text"
      -]New value: +[
      +  "dialog"
      +]
  3. First observedv0.1.1

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations, which only mark the operation as read-write and non-idempotent, the description discloses that the dialog default switches to manual mode and gets assigned to the user, that the bot must be running, and that a delivery-error field may appear in the response because the message is saved even if the platform rejects it. This is valuable behavioral context.

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 compact and front-loaded: the core action appears in the first clause, followed by options, side-effect, prerequisites, and response caveat. Every sentence adds information, with no redundancy.

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

Completeness5/5

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

Given six parameters, no output schema, and only basic annotations, the description covers the critical aspects: the bot must be running, the dialog's mode change, how to revert it, and how to interpret delivery errors. The response format is partially explained via the delivery-error field, which is necessary since no output schema exists.

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?

All six parameters are fully described in the schema (100% coverage), so the baseline applies. The description repeats the distinction that reply replaces text and mentions reply_to as an optional quote, but adds no new meaning beyond the schema descriptions.

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 opens with a specific action—sends a message to a person on behalf of the bot—and enumerates the supported variants (free text, saved template, quote). This clearly distinguishes it from siblings like dialogs_edit_message, dialogs_delete_message, and dialogs_update, which modify or manage dialogs rather than send new messages.

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 (reply when you want to send a message on behalf of the bot) and adds prerequisites (bot must be running) and a side-effect warning (conversation switches to manual mode). However, it does not explicitly name alternatives or state when not to use it, relying on inference rather than explicit routing.

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

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