Skip to main content
Glama

WhatsApp Agent: WhatsApp Team Inbox & CRM

List chats

whatsapp-list-chats
Read-only

Open WhatsApp chats as the boards show them, filtered the way the question asks: by board or the Inbox, column, state, owner, recency, or how long the customer has waited. Each chat comes with its contact, phone, board and column, owner (a teammate, the Calypso Agent, or nobody), minutes waiting (only while the customer spoke last, counted from their last message), unread count and a short preview of the last message. total counts every match; pages are 25 chats at most. Closed chats are not listed.

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
boardNoA board, by its name or id as whatsapp-list-boards returns them. `inbox` means chats that are on no board yet.
limitNoHow many chats to return, 25 at most.
ownerNoChats owned by one teammate, by name. `me` is the person who connected; `nobody` is chats no teammate owns.
sinceNoOnly from this moment on, as an ISO 8601 date-time with its offset, e.g. 2026-11-27T09:00:00-03:00.
stateNo`unanswered`: the customer is waiting on the team (the customer spoke last, so their message is the newest one in the chat), longest wait first. `waiting`: no teammate has taken it. `taken`: a teammate has. `unread`: has unread messages. `agent`: the Calypso Agent is answering it.
columnNoA column of that board, by name.
cursorNo`next_cursor` from the previous page, to get the next one.
olderThanMinutesNoOnly chats whose customer has waited at least this many minutes for a reply.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare a safe read, but the description adds substantial behavior beyond them: page size capped at 25, `total` counting every match, closed chats excluded, and the precise semantics of 'minutes waiting' (only counted while the customer spoke last, measured from their last message). It also enumerates the per-chat payload fields, so the agent knows what a call yields without an output schema.

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?

Front-loaded with the purpose and filter set, then the returned fields, then the paging and exclusion constraints. It is one dense paragraph with little waste, though the field enumeration partially duplicates the schema descriptions and could be trimmed without losing meaning.

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?

For an 8-parameter, all-optional, read-only tool with no output schema, the description supplies the missing return-shape information (contact, phone, board, column, owner, wait minutes, unread count, preview) and the paging contract. Defaults for omitted filters and ordering beyond the `unanswered` case are not stated, which is the main remaining gap.

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%, so every parameter is already documented in the input schema, including the state enum and the `inbox`/`me`/`nobody` sentinels. The description restates those same meanings (owner as teammate/Calypso Agent/nobody, wait-time filtering) rather than adding new syntax or interaction rules, 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 and resource (list/open WhatsApp chats) plus the filter dimensions it accepts (board, Inbox, column, state, owner, recency, wait time). It also scopes the result set with 'Closed chats are not listed', which sharpens what 'chats' means. It does not, however, distinguish itself from siblings such as whatsapp-list-conversations or whatsapp-find-chat, leaving the agent to guess which listing tool applies.

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?

Usage is only implied: 'filtered the way the question asks' suggests this is the general-purpose browsing tool, and the closed-chat exclusion hints at scope. There is no explicit when-to-use, when-not-to-use, or pointer to an alternative tool for full-text search or single-chat retrieval, so the agent must infer routing from sibling names alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.