Skip to main content
Glama
WhatsApp MCP for Claude Desktop

WhatsApp MCP for Claude Desktop

by Shloimy15e

whatsapp_list_chats

List recent WhatsApp chats with unread counts to quickly identify new messages. Use the limit parameter to control how many chats are returned.

Instructions

List recent WhatsApp chats with unread counts

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
limitNoNumber of chats (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose that unread counts are part of the result, which is real behavioral information. It omits whether chats are ordered by recency, whether group chats are included, and whether the call is strictly read-only — gaps that matter given zero annotation coverage.

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?

A single front-loaded sentence with no filler; the resource and the most useful return detail come first. It is efficient, though its brevity leaves no room for the routing or ordering nuance an agent would benefit from.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, no-output-schema read tool this is close to adequate: it says what is listed and what the rows carry. It stops short of describing ordering, group inclusion, or default behavior when limit is omitted, which are the remaining questions an agent would have.

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 description coverage is 100% and the single parameter's default is documented in the schema, so the baseline is 3. The description never mentions the limit parameter or how paging beyond it should be handled, adding no meaning beyond 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?

States a specific verb and resource ("List recent WhatsApp chats") and adds what the result carries (unread counts). It does not name or contrast with the sibling whatsapp_search_chats, so an agent must infer which listing path to choose, but the core purpose is unmistakable.

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?

"Recent" implies this is the default browse/inbox-style listing rather than a query-driven search, which implicitly separates it from whatsapp_search_chats. However, there is no explicit when-to-use or when-not-to-use statement and no prerequisites mentioned, so the guidance remains inferential.

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