Skip to main content
Glama
wa-memory-mcp

wa-memory-mcp

by corneliu10

whatsapp_list_chats

Read-only

Lists WhatsApp chats with message counts and first/last activity, newest first. Supports filtering by name, chat type, or activity date to find relevant conversations.

Instructions

List chats (people and groups) with message counts and first/last activity, newest first. Optional name filter, kind (dm or group) and active_after date.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whatsapp_list_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNoDefault 30, max 200
queryNo
active_afterNoYYYY-MM-DD or YYYY-MM-DDTHH:MM (local time)

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?

The annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that by disclosing the return contents (message counts, first/last activity) and the sort order ('newest first'), which the annotations do not cover. It still says nothing about pagination or whether results are truncated at the limit, leaving a behavioral gap.

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 tightly packed sentences with zero filler. The core behavior (what is listed, what each row contains, the ordering) is front-loaded, and the filter options follow in a single economical clause.

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?

There is no output schema, and the description steps in to describe the returned shape (message counts, first/last activity) and sort order, which is the key missing piece. For a 4-parameter optional-filter list tool with read-only annotations, this is nearly complete; only limit/pagination semantics are absent.

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?

With only 50% schema coverage, the description must compensate, and it does for the two undocumented params: 'query' is clarified as an 'optional name filter' and 'kind' as 'dm or group'. The 'active_after date' hint is redundant with the schema's format description, and limit behavior is left entirely to the schema, so it is strong but not complete.

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 uses a specific verb and resource ('List chats (people and groups)') and names the extra fields each row carries (message counts, first/last activity) plus the ordering. This is clearly distinguishable from tools like whatsapp_read_chat or whatsapp_search by what it returns, though it never explicitly contrasts itself with those siblings.

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 optional filters (name query, kind, active_after) imply the browsing/enumeration use case and suggest when the tool is appropriate, but there is no explicit 'use this instead of X' guidance. An agent must infer for itself that whatsapp_search or whatsapp_read_chat is the right alternative when a specific chat is already known.

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