Skip to main content
Glama

WAHA MCP Server

by seejux

waha_get_messages

Retrieve WhatsApp chat messages with content, sender details, timestamps, and status. Supports pagination and optional media downloads for chat analysis.

Instructions

Get messages from a specific WhatsApp chat. Returns message content, sender, timestamp, and status. Default limit is 10 messages.

Input Schema

NameRequiredDescriptionDefault
chatIdYesChat ID to get messages from (format: number@c.us for individual, number@g.us for group)
downloadMediaNoDownload media files (default: false)
limitNoNumber of messages to retrieve (default: 10, max: 100)
offsetNoOffset for pagination

Input Schema (JSON Schema)

{ "properties": { "chatId": { "description": "Chat ID to get messages from (format: number@c.us for individual, number@g.us for group)", "type": "string" }, "downloadMedia": { "default": false, "description": "Download media files (default: false)", "type": "boolean" }, "limit": { "default": 10, "description": "Number of messages to retrieve (default: 10, max: 100)", "type": "number" }, "offset": { "description": "Offset for pagination", "type": "number" } }, "required": [ "chatId" ], "type": "object" }

Other Tools from WAHA 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/seejux/waha-mcp'

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