Skip to main content
Glama

WhatsApp MCP Server

by jlucaso1

list_chats

Retrieve and organize WhatsApp chat history with pagination, filtering, and sorting options. View chat details, including last messages, to manage conversations efficiently on the MCP server.

Input Schema

NameRequiredDescriptionDefault
include_last_messageNoInclude last message details (default true)
limitNoMax chats per page (default 20)
pageNoPage number (0-indexed, default 0)
queryNoOptional filter by chat name or JID
sort_byNoSort order: 'last_active' (default) or 'name'last_active

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "include_last_message": { "default": true, "description": "Include last message details (default true)", "type": "boolean" }, "limit": { "default": 20, "description": "Max chats per page (default 20)", "exclusiveMinimum": 0, "type": "integer" }, "page": { "default": 0, "description": "Page number (0-indexed, default 0)", "minimum": 0, "type": "integer" }, "query": { "description": "Optional filter by chat name or JID", "type": "string" }, "sort_by": { "default": "last_active", "description": "Sort order: 'last_active' (default) or 'name'", "enum": [ "last_active", "name" ], "type": "string" } }, "type": "object" }
Install Server

Other Tools from WhatsApp MCP Server

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/jlucaso1/whatsapp-mcp-ts'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server