MCP server that lets an AI agent (Hermes) send and receive WhatsApp messages via Baileys (WhatsApp Web protocol).
18 tools with consistent verb-noun naming (whatsapp_send, whatsapp_list, whatsapp_get). All tools have descriptions (avg 120 chars, within 10-1024 range). Input schemas present for all tools with proper JSON Schema structure. However, parameter descriptions are sparse or missing for many tools (e.g., whatsapp_schedule_send lacks descriptions for 'runAt', 'repeatEveryMs', 'enabled'). Output schemas are not documented, LLMs cannot predict response structure. Error handling guidance is absent; tools do not indicate retryability or recovery paths. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels (WRITE, DESTRUCTIVE, READ_ONLY). Composition is sound, tools chain well (e.g., list_chats → get_messages → download_media). Security: no secrets in params, but no audit logging visible in tool definitions.
Get WhatsApp, scheduler, durable storage, and local admin server status. Call this first when the MCP host needs to discover runtime paths; missing runtime directories are created automatically without deleting or overwriting existing data.
Disable a scheduled dispatch.
Delete one durable inbox record by storageId.
Download a received media file (image, video, audio, document, sticker) on demand by messageId. Works from the durable inbox record, so it succeeds even after the MCP process restarted — no need to keep the message in memory. Returns the absolute path of the saved file.
Download and transcribe a received audio message on demand while it is available in memory.
Get buffered incoming messages, newest first. Optionally filter by chatId and/or a 'since' epoch-ms timestamp, and cap with 'limit'.
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination). Forces agents to guess what data is available after each call.
Parameter descriptions missing or incomplete. whatsapp_schedule_send lacks descriptions for 'runAt' (ISO 8601?), 'repeatEveryMs' (minimum?), 'enabled' (default?). Agents cannot infer valid input formats.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) despite clear risk levels. whatsapp_delete_inbox is DESTRUCTIVE but unmarked; whatsapp_send is WRITE but unmarked. Agents cannot reason about retry safety or side effects.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 60 | <=2025-11-25 | v2 |
List recent chats seen since the server started, newest first, with the last message preview.
List messages from the durable audit inbox, including blocked senders.
List received media records from the durable inbox, newest first. Optional filters: chatId (JID), from (sender number/JID) and mediaType (image|video|audio|document|sticker). Use the messageId of any entry with whatsapp_download_media to fetch the file.
List durable WhatsApp schedules.
Read-only lookup of the official subjects for the supplied WhatsApp group JIDs. Returns only group IDs and names.
Run a stored schedule immediately without changing its next scheduled time.
Schedule a one-shot or recurring WhatsApp text dispatch.
Send a WhatsApp text message. 'to' may be a raw phone number (digits, country code, no +) or a full JID (…@s.whatsapp.net for a person, …@g.us for a group).
Send a local file as a WhatsApp document. The file must exist and be readable.
Send an image from a local absolute file path. The file must exist and be a valid image (jpg, png, gif, webp, etc.).
Send a local video file as a WhatsApp video message (plays inline). The file must exist and be a valid mp4.
Get the WhatsApp connection status: whether connected, whether pairing (QR scan) is needed, the bot's own JID, and how many messages are buffered.
No error handling guidance. Tools do not indicate what errors are retryable, user-fixable, or fatal. No recovery hints (e.g., 'If message send fails, check if recipient is blocked').
Pagination not documented for list tools. whatsapp_list_chats, whatsapp_list_inbox, whatsapp_list_media accept 'limit' but no 'offset', 'cursor', or 'total' field documented. Large result sets risk context window exhaustion.