Skip to main content
Glama

WhatsApp MCP Server

by jlucaso1

search_messages

Search and retrieve specific messages across all WhatsApp chats or within a selected conversation using a text query. Specify pagination and limit results for precise navigation.

Input Schema

NameRequiredDescriptionDefault
chat_jidNoOptional: The JID of a specific chat to search within (e.g., '123...net' or 'group@g.us'). If omitted, searches all chats.
limitNoMax messages per page (default 10)
pageNoPage number (0-indexed, default 0)
queryYesThe text content to search for within messages

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chat_jid": { "description": "Optional: The JID of a specific chat to search within (e.g., '123...net' or 'group@g.us'). If omitted, searches all chats.", "type": "string" }, "limit": { "default": 10, "description": "Max messages per page (default 10)", "exclusiveMinimum": 0, "type": "integer" }, "page": { "default": 0, "description": "Page number (0-indexed, default 0)", "minimum": 0, "type": "integer" }, "query": { "description": "The text content to search for within messages", "minLength": 1, "type": "string" } }, "required": [ "query" ], "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