Skip to main content
Glama
WhatsApp Messaging API by Retention Stack

WhatsApp Messaging API by Retention Stack

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WHATSAPP_API_KEYYesYour RapidAPI key. The server exits on startup if it is missing.

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
list_sessionsA

List all WhatsApp sessions belonging to this API key.

create_sessionA

Create a new WhatsApp session. Needs an account key (ak_live_...). Returns the session name and its own session token; pair it with get_qr_code next.

get_session_statusA

Get the current status of a session (STARTING, SCAN_QR_CODE, WORKING, FAILED, STOPPED, PASSKEY_REQUIRED, PASSKEY_CONFIRMATION_REQUIRED). PASSKEY_* means WhatsApp wants a passkey, which must be signed in a browser: tell the user to finish linking at https://whatsapp-messaging.retentionstack.agency/app. These tools cannot do it.

get_qr_codeB

Get the QR code to authenticate a session by scanning with WhatsApp (Settings > Linked Devices).

request_pairing_codeB

Request an 8-digit pairing code as an alternative to scanning a QR code.

check_contact_existsB

Check whether a phone number is registered on WhatsApp before sending to it.

send_text_messageB

Send a WhatsApp text message to a contact, group, or channel.

send_imageB

Send an image to a contact, group, or channel via a public URL.

send_fileB

Send a file (PDF, document, etc.) to a contact, group, or channel via a public URL.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation5/5

Each tool targets a distinct resource+action: session lifecycle (create/list/status/QR/pairing), contact verification, and three clearly separated send operations by media type. The only near-pair, get_qr_code vs request_pairing_code, is explicitly framed as alternative authentication methods in the descriptions.

Naming Consistency5/5

All nine tools follow a strict snake_case verb_noun pattern (check_contact_exists, create_session, get_qr_code, list_sessions, request_pairing_code, send_text_message, etc.). No camelCase or vague bare verbs anywhere.

Tool Count5/5

Nine tools is well within the ideal 3-15 range and each maps to a concrete step in the session-setup or message-sending workflow. Nothing feels padded or redundant.

Completeness3/5

Sending is well covered (text, image, file) and session creation/authentication is complete, but the lifecycle has a dead end: no stop_session, logout, or delete_session despite get_session_status reporting STOPPED, and no tool to read/receive messages or manage groups/channels. Agents can set up and send but cannot tear down a session or ingest inbound traffic.

Maintenance

ActivityNo data
ResponsivenessOutdated data