Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by OmarYousef95

List recently active WhatsApp chats

list_recent_chats

Lists recent 1:1 WhatsApp chats with cached activity, newest first, showing contact, last message time, and preview so you can identify which conversation to read next.

Instructions

List 1:1 WhatsApp chats with cached message activity, newest first. Each entry shows the contact name (or phone number if unknown), when the last message arrived, and a short preview. Use this to find out what's been happening without already knowing who to ask about, then call read_messages on whichever chat matters. Only reflects activity since this feature started running.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax chats to return, newest-first (default 20, max 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the disclosure burden and does well: it names the entry fields, the ordering, and a real constraint ('Only reflects activity since this feature started running') that an agent could otherwise misread as a complete history. It omits any note on empty results or caching staleness beyond that one line.

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?

Three short sentences ordered as purpose, contents, then usage and caveat; the scope and ordering are front-loaded and no sentence is filler.

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

Completeness5/5

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

For a one-parameter read tool with no output schema, the description supplies the return shape (contact name or phone number, last-message time, preview) and the historical-coverage caveat, which is everything an agent needs to call and interpret it.

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 coverage is 100% and the single `limit` parameter is already documented with default and maximum, so the description adds nothing about it beyond reinforcing 'newest first'. Baseline 3 is appropriate when the schema does all parameter work.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List 1:1 WhatsApp chats with cached message activity'), adds ordering ('newest first'), and scopes the resource to 1:1 chats only, which separates it from group/contact lookups among the siblings.

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

Usage Guidelines5/5

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

Gives an explicit use case ('find out what's been happening without already knowing who to ask about') and a concrete next step ('call read_messages on whichever chat matters'), so the agent knows both when to reach for this tool and what to do with the result.

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