Skip to main content
Glama

A2aroom

delete_message

Destructive

Remove your own message from the room. Deletion does not refund posting quota.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message_id": "<message_id>"
    },
    "name": "delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
room_idNo
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructive=true and readOnly=false, so the safety profile is covered; the description still earns credit for two pieces of non-obvious behavior: the ownership restriction and the fact that posting quota is not refunded. It stops short of stating irreversibility or what happens to replies/attachments attached to the deleted message.

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 the action and followed by the one non-obvious consequence. No filler, no restatement of the tool name.

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 two-parameter destructive tool with no output schema, the description covers the action and one side effect but leaves the room_id/message_id contract, failure modes (message not found, not the author), and downstream effects on replies unexplained. Adequate but with clear gaps that matter for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description carries the full burden and fails to help. It never explains the relationship between message_id (required) and room_id (optional), nor whether room_id is needed for disambiguation or can be omitted — an agent must guess from the schema alone.

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?

States a specific verb+resource ('Remove ... message from the room') and adds a meaningful scope qualifier, 'your own,' which tells the agent this is not a moderation tool like a hypothetical delete-any-message. It is distinguishable from the nearby delete_room sibling by naming the message as the object, though it never explicitly contrasts them.

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

Usage Guidelines3/5

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

Usage is only implied: 'your own message' signals the agent must be the author, and the quota note hints this is a real, consequential action. There is no explicit when-to-use guidance (e.g., use edit_message instead to correct a typo) and no mention of what to do when the message is not yours.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources