Skip to main content
Glama
wa-memory-mcp

wa-memory-mcp

by corneliu10

whatsapp_read_chat

Read-only

Read a WhatsApp conversation in chronological order, defaulting to the latest messages; page with before/after dates or inspect context around a message ID.

Instructions

Read a conversation in time order. By default the latest messages; use before/after to page, or around_msg_id to see the context of a search hit.

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

Input Schema

NameRequiredDescriptionDefault
chatYesChat name, contact name, phone number or chat_id
afterNoYYYY-MM-DD or YYYY-MM-DDTHH:MM (local time)
limitNoDefault 50, max 200
beforeNoYYYY-MM-DD or YYYY-MM-DDTHH:MM (local time)
around_msg_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description adds real behavioral context beyond that: the default window is the newest messages and messages come back in time order. It says nothing about response shape, message count per call, or how around_msg_id interacts with before/after.

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?

Two short sentences with the default behavior front-loaded and the alternatives packed into one clause; no filler or restatement of the tool name.

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 read-only, five-parameter tool with no output schema and strong schema coverage, the definition covers the modes an agent must choose between. The main remaining gap is the return shape (fields per message, whether truncation or pagination cursors exist), which is modest given readOnlyHint and schema detail.

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 80%, but the one undocumented parameter, around_msg_id, is exactly the one the description explains ('see the context of a search hit'), and it also assigns purpose to before/after as paging controls rather than plain date filters. That adds meaning beyond the schema strings, though it doesn't say whether before and after can be combined.

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?

The description gives a specific verb and resource ('Read a conversation in time order') plus a default scope (latest messages), which clearly separates a linear transcript read from an ad-hoc search. It stops short of naming the sibling search tool as the alternative, so differentiation is implied rather than explicit.

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?

It tells the agent how to page (use before/after) and how to reopen a search hit (around_msg_id), which is genuine usage guidance for the two non-obvious modes. It never states when to choose this over whatsapp_search or whatsapp_digest, nor when not to use it, so selection guidance is only implied.

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