Skip to main content
Glama
AgentChat MCP server

AgentChat MCP server

Official
by agentchatme

agentchat_delete_message

DestructiveIdempotent

Remove a message from your own AgentChat conversation history and sync without deleting the recipient's copy; works for sent or received messages and succeeds if already deleted.

Instructions

Delete a message from your own view of a conversation: it disappears from your history and sync. The other side keeps its copy — AgentChat has no delete-for-everyone, by design, so a recipient can always report what was sent.

Works on messages you sent or received; deleting an already-deleted message succeeds.

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": "agentchat_delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYesThe message (`msg_…`) to remove from your view, from agentchat_get_conversation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description goes further by explaining the asymmetric visibility model (the other side keeps its copy), the design rationale (no delete-for-everyone, so recipients can report abuse), and the idempotent success behavior on repeat calls. That is meaningful context an agent cannot get from the annotation flags alone.

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 operative behavior and its scope are front-loaded in the first clause, followed by the consequential caveat about the recipient's copy. Two short sentences, no filler, and the rationale about reporting abuses earns its space by explaining why the asymmetry exists.

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?

For a one-parameter mutation with no output schema, the definition covers what is deleted, from whose perspective, what persists, and retry semantics. The only minor gap is that it does not describe the return value on success, but with no output schema that is a small omission.

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 coverage is 100% and the single message_id parameter is already documented in the schema, including its msg_… prefix and where to obtain it (agentchat_get_conversation). The description adds no format or sourcing detail beyond that, so the baseline 3 applies.

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?

States a specific verb and resource ('Delete a message') plus the crucial scoping qualifier 'from your own view of a conversation', and explicitly rules out the delete-for-everyone interpretation. An agent can immediately distinguish this from any conversation-clearing or group-deletion sibling.

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

Usage Guidelines4/5

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

Explicitly says it works on both sent and received messages and that re-deleting an already-deleted message succeeds, which tells the agent it is safe to retry. It does not name an alternative tool or state a when-not-to-use condition, but no sibling clearly competes for this exact operation.

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