Skip to main content
Glama

mark_as_read

Destructive

Mark WhatsApp messages as read to update blue ticks on all linked devices; include sender for group messages not stored locally.

Instructions

Mark messages as read on the WhatsApp account (blue ticks on all linked devices).

sender is needed in groups when the messages are not stored locally.

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>",
      "message_ids": "<message_ids>"
    },
    "name": "mark_as_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes
senderNo
accountNoAccount from list_accounts when several WhatsApp numbers are set up; default: default
message_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare a non-read-only, destructive, open-world operation, so the safety profile is baseline-covered. The description adds genuine behavior beyond that by disclosing that read receipts propagate as blue ticks across all linked devices. It still omits that read state is externally visible/irreversible to the sender and says nothing about failure modes for unknown message_ids.

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?

Two short sentences: the effect is front-loaded, then the conditional parameter rule. Slightly marred by stray line-break formatting, but there is no filler or repetition.

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?

An output schema exists, so return values need not be described. For a state-mutating, externally visible operation with two required parameters, the definition is adequate but leaves open the chat/message_ids formats and the consequences of invalid IDs.

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 only 25%, so the description carries most of the burden, yet it explains only 'sender' (conditional on groups with non-local messages). It says nothing about the expected format of 'chat' (JID vs display name), what 'message_ids' must reference, or how 'account' selection interacts with the default.

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 messages as read') plus the observable effect ('blue ticks on all linked devices'), which is far more informative than the name alone. It does not name any sibling or clarify its boundary with read-oriented tools like get_chat or list_messages, so it falls short of a 5.

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?

The note 'sender is needed in groups when the messages are not stored locally' gives a real conditional rule for one parameter. However, there is no guidance on when to prefer this tool over reading a chat first, no prerequisites (e.g. account connection), and no when-not-to-use case.

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