Skip to main content
Glama

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

dialogs_reply

Send a bot message to a person using custom text or a saved reply, optionally quoting a prior message. This switches the dialog to manual mode and assigns it to you by default.

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, номер чата или идентификатор.
buttonsNoКнопки сообщения: ряды объектов с text, url или callback_data.
reply_toNoОтветить цитатой: id сообщения из dialogs_history. Служебные записи и уже удалённые сообщения цитировать нельзя — у собеседника их нет.
take_overNoПеревести диалог в ручной режим. По умолчанию да.
parse_modeNoРазметка: HTML или пустая строка для обычного текста.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • addedInput schema / properties / buttons
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "items": {
      +          "additionalProperties": {
      +            "type": "string"
      +          },
      +          "propertyNames": {
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Кнопки сообщения: ряды объектов с text, url или callback_data."
      +}
    • addedInput schema / properties / parse_mode
      Added value: +{
      +  "description": "Разметка: HTML или пустая строка для обычного текста.",
      +  "enum": [
      +    "",
      +    "HTML"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / reply_to / anyOf
      Added value: +[
      +  {
      +    "format": "uuid",
      +    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / reply_to / type
      Removed value: -"string"
  2. 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; сверх своего предела панель откажет с указанием платформы."
  3. 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"
      +]
  4. First observedv0.1.1

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare a non-idempotent, non-destructive write with open-world access. The description goes well beyond that: it discloses the default take-over side effect that halts the scenario, the bot-running prerequisite, and the crucial nuance that the message is persisted even when the platform rejects it, directing the agent to inspect the delivery-error field.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, front-loaded with the core action, then side effect, prerequisite and return-value caveat. Dense but each sentence carries distinct value; only mild redundancy with the schema on reply/take_over keeps it from a 5.

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?

For a non-idempotent 8-parameter mutation tool with no output schema, the description covers the essential behavioral facts: manual-mode take-over, requirement that the bot be running, and the delivery-error field to check. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so every parameter including reply_to, replies_list templates and parse_mode is already documented. The description restates reply vs text and the default take_over behavior but adds no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource: sends a message to a person on behalf of the bot, either with your own text or a replies_list template, optionally quoting via reply_to. This clearly distinguishes it from siblings like dialogs_reply_file (attachments) and dialogs_edit_message (editing), so an agent can pick it without opening the schema.

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?

It gives clear conditions: the bot must be running, and by default the dialog switches to manual mode unless returned via dialogs_update mode=bot, and reply is used instead of text. However it never explicitly names alternatives for adjacent tasks (e.g. dialogs_reply_file for attachments), so exclusions are implied rather than stated.

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

Deploy Server

Other Tools