Skip to main content
Glama
kostikpenzin

mcp-iva-mcu

by kostikpenzin

iva_chat_messages

Manage chat messages in IVA MCU: send, edit, delete, star, search attachments, and get message updates, typing notifications, and read receipts.

Instructions

IVA chat messages: send/edit/delete/star messages, search attachments, get messages/changes/starred, typing notification, read receipt. Clients API v2.28.12.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoPage size
limitNoMaximum number of results
actionYesOperation to perform: - "send": Send a text message to a chat. Use when user says 'отправь сообщение', 'send message'. Required: chatRoomId, messageData with text. - "send_audio": Send an audio message to a chat - "edit": Edit an existing message - "delete": Delete a single message - "delete_multiple": Delete multiple messages at once. Required: chatRoomId, messageIds array. - "get": Get messages from a chat (paginated) - "get_changes": Get message changes since a timestamp - "get_starred": Get starred/favorited messages - "search_attachments": Search for attachments in a chat - "remove_attachment": Remove an attachment from a message - "star": Star/favorite messages. Required: chatRoomId, messageIds array. - "unstar": Remove star from messages - "typing": Send typing notification - "notify_read": Mark messages as read
dateToNoEnd date (UNIX time in ms)
offsetNoNumber of results to skip (pagination offset)
confirmNoSet to true to confirm destructive actions (delete, remove, stop, etc.) when IVA_CONFIRM_DESTRUCTIVE is enabled.
dateFromNoStart date (UNIX time in ms)
orderAscNoOrder ascending
readDataNoRead receipt data
audioDataNoAudio message data
messageIdNoMessage UUID
chatRoomIdNoChat room UUID
messageIdsNoArray of message UUIDs
typingDataNoTyping notification data
messageDataNoMessage data. Use {"message": "text here"} for text messages. Field is 'message' not 'text'.
messageEditNoMessage edit content
onlyChangedNoOnly changed messages
attachmentIdNoResource UUID
textContainsNoFilter messages containing text
searchCriteriaNoAttachment search criteria

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.8

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry behavioral disclosure alone. It merely lists operations and does not mention that several actions (delete, delete_multiple, remove_attachment) are destructive, nor does it describe authentication requirements, rate limits, pagination behavior, or response shape. The version string 'Clients API v2.28.12' adds little behavioral insight. The enumeration does imply mutation, but lacks the necessary consequences and caveats.

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?

The description is one compact sentence and a short version suffix, efficiently summarizing the tool's scope without unnecessary prose. The list of operations is front-loaded before the API version. It could be structured slightly better (for example grouping read vs write vs destructive actions), but it is appropriately concise.

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?

Given a complex 20-parameter polymorphic tool with no output schema and no annotations, the description is only an overview. The rich schema compensates for parameter documentation, but the description does not explain that the tool is an action dispatcher, which actions are destructive and require confirmation, or what kind of response to expect. It is adequate as a high-level entry point but not fully sufficient on its own.

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 the structured schema already documents each parameter meaning. The tool description adds no extra parameter semantics beyond the schema. Per calibration baseline, with full schema coverage a score of 3 is appropriate: the description is not harmful but does not compensate for anything missing.

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?

The description clearly identifies the resource ('IVA chat messages') and lists the main operations: send/edit/delete/star messages, search attachments, get messages/changes/starred, typing notification, read receipt. It is not merely a tautology and gives an agent a useful overview. It does not explicitly contrast with siblings like iva_chat, but the focus on messages is reasonably distinctive.

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

Usage Guidelines2/5

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

The prose description gives no guidance on when to choose this tool over alternatives such as iva_chat or iva_conference_chat. Some per-action usage hints (e.g., use 'send' when the user says 'отправь сообщение') exist inside the action enum, but those are structured schema content rather than the tool description. Without explicit when-to-use or when-not-to-use guidance, the agent is left to infer routing from the operation list.

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