Skip to main content
Glama

⚠️ Отправить сообщение

messenger_post_send_message
Destructive

Send a message to a buyer in an Avito chat. Confirm with the user before calling, as the message is visible to the buyer.

Instructions

⚠️ ОТПРАВЛЯЕТ РЕАЛЬНОЕ сообщение клиенту в чат. text до 1000 символов. Подтверждайте у пользователя перед вызовом — это видит покупатель.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesИдентификатор чата.
textYesТекст сообщения (до 1000 символов).
user_idNoПо умолчанию — Profile_id из .env.
dryRunNov0.7.0: если true — возвращает preview HTTP-запроса без вызова Avito API. Безопасно для просмотра, что именно будет сделано. Default: значение AVITO_MCP_DRY_RUN_DEFAULT (обычно false).
idempotencyKeyNov0.7.0: опциональный ключ для защиты от дублей. Повторный вызов с тем же ключом в течение AVITO_MCP_IDEMPOTENCY_TTL_SEC возвращает закешированный результат. Тот же ключ с другими args вернёт ошибку conflict — это безопасно по дизайну.
Behavior4/5

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

Description confirms the destructive nature (sends real message) and adds context that it is visible to the buyer, which is beyond the annotations' destructiveHint: true. No contradiction with annotations.

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?

Two short sentences, front-loaded with a warning icon and key information. No wasted words, efficient and direct.

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?

Despite good annotations and schema, the description lacks information about the return value (no output schema) and does not cover behavior of dryRun or idempotencyKey parameters, which are documented only in schema. For a sending tool, the response is important context 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 coverage is 100%, and the description mentions the text length limit (already in schema). No additional semantic value added beyond what the schema provides for parameters.

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?

Description clearly states it sends a real message to the client in chat, specifying it is for text (up to 1000 chars). The sibling tool for image messages (messenger_post_send_image_message) is distinct, so purpose is well-defined and differentiated.

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?

Explicitly warns to confirm with user before calling because the message is visible to the buyer. This provides important usage context. However, it does not explicitly mention when to use this tool over alternatives (like image messages), which is partially implied by the name and description.

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/elchin92/avito-mcp'

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