Skip to main content
Glama
whatsapp-localmind

whatsapp-localmind

by qilaidev

whatsapp_list_chats

Read-onlyIdempotent

Lists accessible macOS WhatsApp chat sessions across direct messages, groups, and channels, with metadata and filters for type, keyword, and blocked chats so agents can discover and select conversations.

Instructions

List accessible macOS WhatsApp chat sessions across 1-on-1 direct DMs (@s.whatsapp.net / @lid), group chats (@g.us), and channels (@newsletter), including chat_id, chat_name, chat_type, latest_msg_id cursor, 24h message count, and member count.

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
freshNoForce immediate SQLite online backup snapshot refresh.
formatNojson
keywordNoOptional case-insensitive keyword filter for chat name or JID.
chat_typeNoFilter by session type: 'all' (default), 'direct', 'group', 'newsletter', or 'broadcast'.all
include_blockedNoWhether to include chats blocked by current scope or blacklist/whitelist policy.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv4.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is covered. The description adds that only 'accessible' sessions are listed, hinting at scope/blacklist filtering, but does not explain the snapshot/refresh behavior or what happens when include_blocked is false beyond the schema text.

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 enumerated return fields are informative rather than padding, though the list length makes it slightly dense.

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?

With no output schema, spelling out the returned fields is a genuine gap-filler, and all five parameters are covered across schema plus description. Lacking only explicit sibling routing and a note on ordering/pagination of the listing, which the mention of a cursor partly addresses.

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 80%, so the schema already documents fresh, keyword, chat_type, and include_blocked; the description only echoes the chat-type taxonomy and adds return-field detail (latest_msg_id cursor, 24h count, member count). That is useful framing but adds no syntax or format meaning beyond the schema, so the baseline 3 applies.

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+resource ('List accessible macOS WhatsApp chat sessions') and enumerates the session kinds covered (DMs, groups, channels) plus the fields returned. It does not, however, differentiate itself from the sibling whatsapp_list_groups, which sounds like an overlapping listing operation.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative (e.g., whatsapp_list_groups for group-only, whatsapp_search_messages for content search). The agent must infer selection purely from the tool name.

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