WhatsApp channel for Claude Code - enables receiving and sending WhatsApp messages, managing access control, searching message history, and handling permission approvals
This WhatsApp integration server has mixed definition quality. Strengths: all 15 tools have descriptions (10-200 chars); input parameters are typed and mostly described; risk annotations (WRITE, READ_ONLY, DESTRUCTIVE) are present. Weaknesses: descriptions are terse (many around 70-120 chars, below the 194-char production baseline); no output schemas documented anywhere in the provided code; several parameters lack descriptions (e.g., whatsapp/approve_permission's 'decision' enum values are stated but no rationale for each); no error handling guidance visible; no recovery hints; parameter relationships undocumented (e.g., whatsapp/access 'action' param controls which other params apply, but this dependency is not stated in parameter descriptions); several tools conflate distinct concerns (whatsapp/configure does auth AND status check; whatsapp/access combines 10+ actions). Output format and field names are not specified for any tool, forcing LLMs to guess what get_messages returns or what fields appear in search results.
Manage WhatsApp access control - list, grant, or revoke chat/group access for the bot
Get analytics for a chat - message counts by sender, activity over time, etc.
Approve or deny a pending Claude Code permission request received via WhatsApp
Configure WhatsApp connection - show QR code for scanning and wait for authentication, or retrieve connection status
Delete a message (revoke/unsend from a chat)
Edit a previously sent message
Export message history from a chat in various formats (markdown, jsonl, csv)
Forward a previously sent message to another chat
whatsapp/access conflates 10+ distinct actions (list, grant, revoke, policy, set-scope, etc.) into a single tool. This violates the single-responsibility principle and forces LLMs to reason about which action parameter to use.
No output schemas documented for any tool. LLMs cannot determine what fields to expect from list_chats, get_messages, search, or export. This forces agents to guess field names and risks mapping failures.
Parameter relationships undocumented. whatsapp/access 'action' param controls which other params (target, scope, policy, value) apply, but no mutual-exclusivity or dependency description is provided.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | <=2025-11-25 | v2 |
Look up a contact by JID to get their display name and other profile info
Retrieve messages from a specific chat with optional time range filtering
List all chats and groups the bot has access to, with message counts and last activity
Search message history by text content, optionally filtered by chat
Search for contacts by name or phone number
Send a message to a WhatsApp chat or group
Send a file attachment (image, audio, document, video) to a chat
whatsapp/configure conflates two concerns: QR-code authentication AND status retrieval. Should split into authenticate and get_connection_status.
No error recovery guidance. Tools like delete_message and send_file have WRITE/DESTRUCTIVE risk but provide no description of failure modes or what the LLM should do on error.
No confirmation or dry-run support for destructive operations. delete_message and edit_message execute immediately with no option to preview or confirm first.
Parameter descriptions are terse and generic. Many parameters lack format/range guidance (e.g., chat_id and jid formats are unclear; limit ranges not specified; format enum descriptions are missing).
whatsapp/configure, whatsapp/access, and other tools lack dependency hints. No guidance on required setup order (e.g., 'configure must be called first') or which tools should be called before others.