Skip to main content
Glama

Ответить в диалоге

reply_to_chat

Ответить клиенту в диалоге - тем же номером и мессенджером, что и диалог.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chat_id": "<chat_id>",
      "text": "<text>"
    },
    "name": "reply_to_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYesТекст ответа
chat_idYesid диалога (chat_...)
reply_toNoid сообщения для цитаты (chm_...), необязательно

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already disclose a non-destructive external write (readOnlyHint=false, openWorldHint=true, destructiveHint=false). The description adds genuinely new behavioral context: the outbound message uses the dialog's own number and messenger, so the agent need not specify a sender. It still omits failure modes, e.g. what happens with a closed dialog or a failed integration.

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?

A single front-loaded sentence with no filler or repetition. Slightly compact for a mutation tool, but every word earns its place.

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?

For a three-parameter write tool with no output schema, the definition covers the core action and the sender routing. It does not say what a successful call returns (e.g. a message id for later citation via reply_to) or how delivery errors surface, leaving the agent to discover that at call time.

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 all three parameters (chat_id, text, optional reply_to) are already documented, including the chat_/chm_ id formats. The description adds no extra meaning about these parameters, so the baseline of 3 applies.

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?

States a specific verb-and-resource pair: reply to a client inside an existing dialog, and adds that the reply travels via the same number and messenger as the dialog. That routing detail helps distinguish it from a generic send_message, though the sibling is never named explicitly.

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?

Usage is only implied by 'в диалоге' (reply within an existing conversation), which suggests it is for continuing a dialog rather than starting one. There is no explicit statement of when to choose this over send_message, and no prerequisites or exclusions are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources