Skip to main content
Glama
Automata MCP

Automata MCP

List WhatsApp chats

list-chats
Read-onlyIdempotent

Lists recent WhatsApp chats, most recently active first, with the jid required to read messages and pagination indicators for older conversations.

Instructions

[WhatsApp] List recent WhatsApp conversations, most recently active first, with the jid needed by read-messages. Includes conversations imported from the phone when the account was paired, not only ones active since. If this connector is scoped to specific chats, only those are listed. This answers with one page, most recently active first: when hasMore is true there are older conversations it did not include, so do not report the list as complete or conclude that a chat does not exist — search-messages finds a conversation by what was said in it.

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-chats"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the bar is lower — yet the description still adds real behavioral facts beyond them: single-page pagination via `hasMore`, ordering guarantee, inclusion of phone-imported historical conversations, and connector-level chat scoping. It also warns against a specific misuse (reporting the list as complete or concluding a chat doesn't exist).

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 sentences, front-loaded with the core action and ordering, then scope caveats, then the pagination/alternative-routing warning. No sentence is redundant — each one prevents a distinct failure mode (wrong tool choice, wrong assumption about coverage, wrong conclusion about a missing chat).

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?

There is no output schema, so the description carries the burden of describing returns — and it does: a page of conversations, ordered by recency, each with a `jid`, with `hasMore` signaling truncation. Combined with the scope note about connector-restricted and phone-imported chats, an agent has everything needed to call and interpret this tool.

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?

The tool takes zero parameters, so there is no parameter semantics to add; the baseline for 0-param tools is 4. The description correctly adds no parameter discussion and instead spends its space on return-shape and scope.

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?

The description gives a specific verb and resource ("List recent WhatsApp conversations") plus ordering ("most recently active first") and the key returned field (`jid` needed by read-messages). It distinguishes itself from the closest siblings by name — read-messages consumes the jid, search-messages finds conversations by content.

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?

It states when this tool applies (browsing recent conversations), when its results are incomplete (`hasMore` true means older conversations were omitted), and names the alternative to use instead when looking for a conversation by what was said (search-messages). It also notes the connector-scoping constraint that limits which chats appear.

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