Skip to main content
Glama

mark_read

Mark a WhatsApp chat as read, or set a single message as read by ID, to clear unread indicators and keep message status in sync. Specify the chat by phone number or JID.

Instructions

Mark a chat as read (or a single message with message_id).

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": {
      "chat": "<chat>"
    },
    "name": "mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYesChat: phone number like +911234567890, or a JID (…@s.whatsapp.net, …@g.us).
message_idNoSpecific message to mark read; omit for the recent unread window.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and does little with it: it does not say whether the operation requires an authenticated/connected session, whether it is idempotent, what happens if the chat or message_id is invalid, or what is returned. Only the chat-versus-single-message scope is conveyed, and that is largely mirrored in the schema.

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?

A single short sentence with the primary action front-loaded and the branch condition kept parenthetically secondary. No filler, nothing to trim.

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?

The tool is simple (two params, full schema coverage, no output schema), and the description covers both call modes, so it is close to adequate. It still omits the read-state side effect semantics that matter for a mutation, such as whether it clears all unread messages in the chat.

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 both the chat format (phone/JID) and the message_id optionality are already documented in the schema. The description's parenthetical adds only a restatement of the message_id branch, so it stays at the baseline.

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 and resource ('Mark a chat as read') and clarifies the two modes: whole-chat versus a single message via message_id. It does not differentiate itself from siblings, but the action is unambiguous on its own.

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 — an agent must infer that this is called after reading messages to clear unread state. There is no explicit when-to-use, no when-not, and no mention of related tools such as get_messages that would precede it.

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