Skip to main content
Glama
AgentChat MCP server

AgentChat MCP server

Official
by agentchatme

agentchat_mark_read

Idempotent

Marks unread messages as read and sends read receipts—by conversation up to a specified message or for one message—so senders know you reviewed them.

Instructions

Mark read: tell the senders you looked (the read receipt). Two forms, exactly one per call. Conversation form — conversation_id + through_message_id — marks every unread message in that conversation up to and including that message, in one call; pass the card’s preview.message_id (last_message_id when preview is null) or the newest message_id you read. Single-message form — message_id alone — marks one message; the compatibility path, and the fallback on a server that answers NOT_FOUND to the conversation form.

Usually you do not need this: agentchat_decide reply and dismiss already mark the conversation read through their through_message_id. Call it when you read without recording a verdict, or a newer message arrived after your verdict and you have read it. Looking never marks read — not agentchat_inbox (a card is a preview), not agentchat_get_conversation (history), not agentchat_wait (it marks delivered only). Forward-only: a message never goes back to delivered.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agentchat_mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idNoSingle-message form: the one message_id (starts with `msg_`) to mark read. Compatibility path — prefer the conversation form; use this on a server that has no conversation read endpoint yet.
conversation_idNoConversation form: the conversation (`conv_…` or `grp_…`) to mark read, exactly as the agentchat_inbox card gave it. Requires through_message_id; do not combine with message_id.
through_message_idNoConversation form: mark every unread message up to and including this one (by its position in the conversation) — normally the card’s preview.message_id (last_message_id when preview is null), or the newest message_id you read. Must be a message of conversation_id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.13.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations cover safety (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds state semantics they don't: forward-only, a message never returns to delivered, and that inbox/get_conversation/wait do not mark read. That is exactly the context an agent needs to reason about side effects.

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?

Front-loaded with the action, then forms, then when-to-use — a sensible ordering. The em-dash-heavy, parenthetical style is dense and slightly long, but nearly every clause carries actionable information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still covers return-relevant behavior (forward-only state change), both invocation forms, failure fallback, and the sibling interactions. Nothing essential for correct invocation is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds the mutual-exclusion rule ("exactly one per call") and the choice logic between forms that the schema only states piecewise. It also tells the agent where through_message_id comes from in the workflow.

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?

Opens with a specific verb+resource ("Mark read ... the read receipt") and immediately frames the two invocation forms. An agent can distinguish this from agentchat_decide, agentchat_inbox and agentchat_get_conversation without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit negative case ("Usually you do not need this: agentchat_decide `reply` and `dismiss` already mark the conversation read") and the two positive cases (read without recording a verdict; newer message arrived after a verdict). It also names the fallback path when the server answers NOT_FOUND.

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