Skip to main content
Glama

⚠️ Send message

messenger_post_send_message
Destructive

Send a publicly visible text message to an Avito chat using the chat ID and text up to 1000 characters.

Instructions

Sends a TEXT message to a chat on behalf of the account. WARNING: the message is immediately and PUBLICLY visible to the other party (the buyer) and is not removed automatically (you can delete it via messenger_delete_message). Confirm the text with the user before calling. Requires chat_id (from messenger_get_chats_v2) and text up to 1000 characters. To send an image, use messenger_post_send_image_message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesRecipient chat identifier (string) from messenger_get_chats_v2.
textYesMessage text, 1–1000 characters. Will be publicly visible to the other party.
user_idNoAvito account ID of the sender. Defaults to Profile_id from .env.
dryRunNov0.7.0: if true — returns a preview of the HTTP request without calling the Avito API. Safe for inspecting exactly what would be done. Default: the value of AVITO_MCP_DRY_RUN_DEFAULT (usually false).
idempotencyKeyNov0.7.0: optional key for duplicate protection. A repeat call with the same key within AVITO_MCP_IDEMPOTENCY_TTL_SEC returns the cached result. The same key with different args returns a conflict error — this is safe by design.
Behavior5/5

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

Annotations already mark destructiveHint=true and idempotentHint=false. The description adds crucial behavioral details: messages are immediately public, not auto-removed, and can be deleted via another tool. It also explains dryRun and idempotencyKey behaviors, providing context beyond annotations without contradiction.

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 paragraph of 4 sentences, front-loaded with the core action and warnings. Each sentence adds necessary context: action, warning, instructions, and alternatives. No redundant or extraneous content.

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

Completeness4/5

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

Given the tool's complexity (5 parameters, no output schema), the description covers the essential behavioral and usage context. It lacks explicit mention of return value shape, which would be helpful for integration. However, the warnings and parameter sourcing details make it adequately complete for most use cases.

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 baseline is 3. The description mentions chat_id source and text length limit, but these are already in schema descriptions. It adds value by noting that chat_id comes from a specific tool, which is helpful but not critical. No new semantic enrichment beyond schema.

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 starts with 'Sends a TEXT message to a chat on behalf of the account', clearly stating the action and resource. It explicitly distinguishes from the image-sending sibling tool by directing to 'messenger_post_send_image_message'. The title includes a warning emoji that reinforces caution.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit when-to-use guidance: 'send a TEXT message' and alternative for images. It warns about public visibility, advises to confirm text with the user, and mentions deletion capability via messenger_delete_message. This clearly delineates usage context and risks.

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