Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by OmarYousef95

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
send_messageA

Send a WhatsApp message from the user's personal account: plain text, a local file (image, video, or document), or a file with a caption. recipient accepts: a contact name (must match EXACTLY one saved contact, case-insensitive — if zero or several match, the call fails and lists the candidates so you can ask the user which one they meant), a phone number in international format (e.g. +962791234567), or 'me' to message the user's own self-chat. A phone number that isn't a saved contact is refused on the first call — the error asks you to confirm with the user, then call again with confirmed: true; this exists because a saved contact's name can collide with an unrelated WhatsApp account (e.g. someone's self-set display name), so a bare number deserves the same caution. Provide message, file_path, or both — when both are given, message becomes the file's caption. Media type is auto-detected from the file's extension; unrecognized extensions are sent as a generic document. The result confirms exactly who/what was sent. Never retry a failed send blindly — read the error, it tells you what to fix. Sending is a real-world side effect: unless the user explicitly dictated both the recipient and the exact message/file, confirm with them before calling this.

search_contactsA

Search the user's WhatsApp contacts by name (case-insensitive substring). Returns matching names with phone numbers. Use this to resolve the exact contact name before send_message when the user gives a partial or uncertain name.

read_messagesA

Read cached message history for a WhatsApp chat: plain text and placeholders for media (e.g. "[image: caption]", "[voice note]"). recipient accepts the same forms as send_message: a contact name (exact match), a phone number, or 'me'. Only messages sent or received since this feature started running are available — there is no historical backfill. Group chats are not supported. Returns messages oldest-first with each line labeled 'You' or the contact's name.

list_recent_chatsA

List 1:1 WhatsApp chats with cached message activity, newest first. Each entry shows the contact name (or phone number if unknown), when the last message arrived, and a short preview. Use this to find out what's been happening without already knowing who to ask about, then call read_messages on whichever chat matters. Only reflects activity since this feature started running.

get_connection_statusA

Check whether the WhatsApp session is connected and paired. Returns the connection state, whether a QR scan is needed, and how many contacts are synced. Call this first if a send fails unexpectedly or before a batch of sends.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 5 tools

Disambiguation5/5

Each tool maps to a distinct action on a distinct resource: resolving contacts, sending, reading a specific chat, browsing recent chats, and checking session health. The one potential overlap between list_recent_chats and read_messages is explicitly resolved in the descriptions (browse then drill in). No tool pairs appear to do the same thing.

Naming Consistency5/5

All five tools follow a strict snake_case verb_noun convention: search_contacts, send_message, read_messages, list_recent_chats, get_connection_status. Verbs (search/send/read/list/get) are well-differentiated and consistent with the noun's role.

Tool Count5/5

Five tools is a tight, well-scoped surface for a personal messaging bridge — discovery, send, read, browse, and status. Every tool earns its place; nothing is redundant and nothing feels arbitrarily split.

Completeness3/5

Core 1:1 messaging lifecycle is covered, but there are notable gaps: no group chat support, no historical backfill before the feature started, and no way to fetch or download media referenced by placeholders. An agent can work around these only by telling the user the capability does not exist.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues