Skip to main content
Glama
Baho73

mcp-server-matrix

by Baho73

send_message

Send messages to a Matrix room with support for plain text, HTML, or Markdown formatting, and optionally reply to existing messages.

Instructions

Send a message to a Matrix room. Supports plain text, HTML, and Markdown formats. Can reply to a specific message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_idYesRoom ID (e.g. !abc123:matrix.org) or alias (#room:matrix.org)
textYesMessage body
formatNoMessage format: 'text' (default), 'html', or 'markdown'text
reply_toNoEvent ID to reply to (sets m.relates_to / m.in_reply_to)
Behavior2/5

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

With no annotations, the description should disclose behavioral traits. It only mentions formats and reply capability, omitting important aspects like authentication needs, rate limits, idempotency, success response (e.g., event ID), or error conditions.

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 two sentences, front-loaded with the primary action, and is concise with no wasted words. It is well-structured.

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?

Given no output schema and no annotations, the description is incomplete. It fails to mention the response format (e.g., returns event ID), prerequisites (membership in room), error handling, or permissions. For a mutation tool, this is insufficient for safe usage.

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 adds some context by mentioning formats and reply capability corresponding to the 'format' and 'reply_to' parameters, but does not add meaning beyond the schema for room_id or text.

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 clearly states the action (send), resource (message to a Matrix room), and mentions supported formats and reply capability. It effectively distinguishes from sibling tools like send_direct_message (sends to user) and send_reaction.

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 description provides no guidance on when to use this tool versus alternatives such as send_direct_message or send_reaction. It does not mention prerequisites like needing to be in the room or when not to use this tool.

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/Baho73/mcp-server-matrix'

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