Skip to main content
Glama

delete_message

Delete a message from a Rocket.Chat room by providing its room ID and message ID.

Instructions

Delete a message.

Args:
    room_id: ID of the room containing the message
    msg_id: ID of the message to delete

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
room_idYes
msg_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided, so description must carry full burden. It states 'Delete a message' but does not disclose if deletion is permanent, if there are any side effects, or if recovery is possible. Lacks important behavioral context.

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 concise with a clear one-line summary followed by parameter definitions. It is front-loaded and efficient, though it could benefit from a brief behavioral note.

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 simple delete operation with two required parameters and an output schema (assumed to be handled), the description minimally covers the essentials. Lacks details on return values or error conditions, but the tool is straightforward.

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?

The description explains the purpose of each parameter (room_id and msg_id) in the docstring, which adds meaning beyond the schema (which has 0% description coverage). However, it does not provide format or validation details.

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 'Delete a message' with a specific verb and resource. It lists the required parameters (room_id, msg_id) and distinguishes from sibling tools like send_message_in_channel which are about sending, not deleting.

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?

No guidance on when to use this tool versus alternatives. It does not mention prerequisites (e.g., message ownership, permissions) or scenarios where deletion is not appropriate. Sibling tools are not referenced.

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/millerchou/rocketchat-mcp'

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