Skip to main content
Glama

Mark a chat as read

whatsapp_mark_read

Mark all tracked messages in a WhatsApp chat as read and send read receipts, while respecting the account's read-receipt privacy setting.

Instructions

Mark all tracked messages in a chat as read (sends read receipts, respects the account read-receipt privacy setting).

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": {
      "contact": "<contact>"
    },
    "name": "whatsapp_mark_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
contactYesContact: saved name, phone number with country code (e.g. 919876543210), or full JID (e.g. 919876543210@s.whatsapp.net)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does disclose real side effects: read receipts are sent and the result respects the account's read-receipt privacy setting. It omits error behavior for unknown contacts and whether the call is idempotent, but the key externally visible effect is covered.

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?

One front-loaded sentence with zero filler; the mutation and its side effects are stated immediately with a parenthetical qualifying condition.

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 and no annotations, the description covers the action, scope, and the externally visible receipt/privacy consequence. Only the failure mode and return shape are left unstated, which is minor here.

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 'contact' parameter is fully documented with accepted formats in the schema, so baseline 3 applies. The description adds only that the target is a 'chat', not new syntax or format detail.

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 (mark as read) plus the resource and scope (all tracked messages in a chat), which separates it from the account-wide sibling whatsapp_mark_all_read implied by its name. It stops short of naming an alternative explicitly, so the differentiation is inferable rather than stated.

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 implied by the 'in a chat' scoping (single conversation vs. all conversations), but there is no explicit when-to-use, when-not-to-use, or prerequisite statement. An agent must infer the boundary against whatsapp_mark_all_read from the wording alone.

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