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

wa-local-reader-mcp

by Digitizers

find_chats

Search WhatsApp chats by name or phone number to retrieve chat IDs, chat type, and last activity, with results sorted by newest activity and an adjustable limit.

Instructions

Find chats whose name or phone number contains query (limit 1-25, newest activity first).

Returns chat_id, name, jid, kind (person/group/status/channel) and last_message_at (local time).

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": {
      "query": "<query>"
    },
    "name": "find_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 full behavioral burden and does a fair job: it discloses substring matching, the limit bounds (1-25), the ordering ('newest activity first'), and the kind taxonomy of results. It does not state the default limit, case sensitivity, or behavior for zero matches, leaving some gaps for an unannotated tool.

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 tight sentences with no filler, and the matching rule plus limit constraint are front-loaded before the return-shape sentence. Every clause 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 simple two-parameter lookup with an output schema present, the definition covers what is needed to call it correctly; the enumerated return fields are arguably redundant given the output schema but reinforce expectations. Missing only minor details such as the default limit and no-match behavior.

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 supply parameter meaning and it does: `query` is defined as matching against name or phone number via 'contains', and `limit` gains a valid range of 1-25 plus an ordering rationale. The one omission is the default value of 10 for `limit`, which appears only in the schema.

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 states a specific verb ('Find') and resource ('chats') plus the exact match semantics ('name or phone number contains `query`'), which is far more informative than a generic search label. It does not explicitly name the siblings read_chat or transcribe_voice, but their functions are different enough that confusion is unlikely.

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 can infer this is the tool for locating a chat by name or phone. There is no explicit statement of when to use it versus read_chat (which presumably takes a chat_id from these results) and no exclusions or prerequisites, so routing guidance is left to inference.

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