Skip to main content
Glama
wa-local-reader-mcp

wa-local-reader-mcp

by Digitizers

read_chat

Retrieve the newest messages from a single WhatsApp chat in oldest-first order, with paging by message ID or date to review conversation history and locate audio notes for transcription.

Instructions

Read the latest messages of one chat, oldest first.

limit: 1-50. To page back, pass the returned next_before_message_id as before_message_id. before: an ISO local date/time, to jump to messages earlier than that moment. Voice notes appear with type "audio"; pass their message_id to transcribe_voice.

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_id": "<chat_id>"
    },
    "name": "read_chat"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
beforeNo
chat_idYes
before_message_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does so reasonably: it discloses result ordering, the accepted limit range, the pagination mechanism, and the 'audio' type convention. It is silent on permissions, error behavior for an invalid chat_id, and rate limits, but for a read-only listing tool the core behavioral picture is conveyed.

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 core operation, then a compact parameter/behavior list with zero filler. The telegraphic fragments ("limit: 1-50.") read as notes rather than polished prose, but nothing is redundant and every line adds information.

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 4-parameter read tool with an output schema and zero schema descriptions, the description covers pagination, timing, size limits, and cross-tool handoff, which is what an agent needs to invoke it correctly. Only the meaning of chat_id and failure modes are left unaddressed.

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 description coverage is 0%, so the description must compensate, and it does for three of four parameters: limit's 1-50 range, before as an ISO local date/time, and before_message_id as the paging cursor. chat_id is left to the reader's inference from "one chat", which is the only real gap.

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 ("Read the latest messages of one chat") plus the ordering contract ("oldest first"), which tells an agent exactly what it gets. It distinguishes itself from transcribe_voice by routing audio messages there, but gives no orientation relative to find_chats.

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

Usage Guidelines4/5

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

Explicitly tells the agent how to page backward ("pass the returned next_before_message_id as before_message_id") and how to jump to a point in time via the before parameter. It also routes voice notes to transcribe_voice, though it never states when this tool should not be used versus find_chats or chat search.

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

Deploy Server

Other Tools