whatsapp-mcp-server
Leverages the official Meta WhatsApp Cloud API to provide secure, production-ready business messaging capabilities, template management, and business profile updates.
Provides comprehensive tools for sending text, media, and template messages, managing conversation history, and handling real-time webhook updates for incoming messages and delivery statuses.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whatsapp-mcp-serverSend 'Your order #12345 is ready for pickup' to +15550198765"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whatsapp-mcp-server
A production-ready Model Context Protocol (MCP) server that connects AI assistants like Claude to the WhatsApp Cloud API (Meta). Send messages, manage conversations, handle media, send template messages, and receive real-time webhooks — all through natural language.
Why this MCP server?
This is the only WhatsApp MCP server built on the official Meta WhatsApp Cloud API.
Most WhatsApp tools for developers rely on unofficial browser automation libraries (whatsapp-web.js) or reverse-engineered protocols (whatsmeow, Baileys). These approaches violate WhatsApp's Terms of Service and carry a real risk of account bans. This project is different.
whatsapp-mcp-server (this project) | Unofficial libraries ( | |
API type | ✅ Official Meta WhatsApp Cloud API | ❌ Unofficial / reverse-engineered |
Account ban risk | ✅ None — Meta-approved | ⚠️ High — violates WhatsApp ToS |
Account type | ✅ WhatsApp Business account | Personal account only |
Uptime reliability | ✅ Meta SLA-backed infrastructure | ❌ Breaks when WhatsApp updates |
Scalability | ✅ Business-grade, multi-agent ready | ❌ Limited to one session |
Template messages | ✅ Full support | ❌ Not available |
Media handling | ✅ Native Cloud API media endpoints | ⚠️ Workarounds required |
Webhook support | ✅ Official Meta webhook events | ❌ Polling / fragile listeners |
Production use | ✅ Built for production | ❌ Recommended for personal/hobby use only |
Long-term viability | ✅ Stable, versioned API | ❌ Depends on reverse engineering staying current |
Bottom line: if you are building anything beyond a personal experiment — customer support, automated notifications, business workflows — use the official API. This server gives you that, packaged as a drop-in MCP server.
Related MCP server: WAHA MCP Server
Features
Send all message types — text, images, videos, audio, documents, reactions
Template messages — send and list approved WhatsApp Business templates with full component support
Media management — upload, retrieve, and delete media files
Conversation history — in-memory store of recent conversations via webhook
Real-time webhooks — receive incoming messages and delivery status updates
Business profile — read and update your WhatsApp Business profile
Contact lookup — validate phone numbers against WhatsApp
Rate limit handling — automatic exponential backoff retry logic
Type-safe — fully typed TypeScript with Zod input validation
Docker ready — multi-stage Dockerfile and docker-compose included
Works without webhook — send-only mode with no webhook server required
Architecture
┌─────────────────────────────────────────────────────────────┐
│ AI Assistant (Claude) │
└──────────────────────────┬──────────────────────────────────┘
│ MCP Protocol (stdio)
│
┌──────────────────────────▼──────────────────────────────────┐
│ whatsapp-mcp-server │
│ │
│ ┌─────────────┐ ┌──────────────┐ ┌───────────────────┐ │
│ │ MCP Server │ │ Tools │ │ WhatsApp Client │ │
│ │ (stdio) │◄─┤ messages ├─►│ (Axios + retry) │ │
│ │ │ │ contacts │ └────────┬──────────┘ │
│ └─────────────┘ │ media │ │ │
│ │ templates │ │ HTTPS │
│ ┌─────────────┐ └──────────────┘ │ │
│ │ Webhook │ ▼ │
│ │ Server │ ◄──── Incoming ┌─────────────────────┐ │
│ │ (Express) │ messages │ WhatsApp Cloud API │ │
│ └──────┬──────┘ & statuses │ graph.facebook.com │ │
└─────────│───────────────────────────┼─────────────────────┘ │
│ │ │
│ HTTP POST (Meta webhooks) │ HTTPS (send messages) │
│ │ │
┌────▼──────────────────────────▼──────────────┐
│ WhatsApp Users │
└────────────────────────────────────────────────┘
Webhook flow for incoming messages:
WhatsApp User → Meta Servers → POST /webhook → WhatsAppWebhook
→ in-memory conversation store → EventEmitter → MCP toolsPrerequisites
Node.js 20+ — download
Meta Developer Account — create one
WhatsApp Business App configured in Meta App Dashboard
Phone Number ID and Access Token from your WhatsApp app settings
(Optional) A public HTTPS URL for receiving webhooks (use ngrok for local dev)
Quick Start
Option A — Run with npx (no clone required)
The package ships a whatsapp-mcp-server binary, so the fastest way to use it is
to let your MCP client launch it via npx and pass credentials through env
(see the client config blocks below):
npx -y @fredshred7/whatsapp-mcp-servernpx downloads and runs the published package on demand — point your MCP client
at it and you are done. Jump to Usage with Claude Desktop
or Usage with Claude Code.
Option B — Clone and build from source
Step 1 — Clone and install:
git clone https://github.com/FredShred7/whatsapp-mcp-server.git
cd whatsapp-mcp-server
npm installStep 2 — Configure credentials:
cp .env.example .env
# Edit .env with your WhatsApp credentialsStep 3 — Build:
npm run buildStep 4 — Add to Claude Desktop or Claude Code (see sections below)
Step 5 — Test it: Ask Claude: "Send a WhatsApp message to +15551234567 saying Hello from Claude!"
Configuration
All configuration is via environment variables. Copy .env.example to .env and fill in the values.
Variable | Required | Description |
| Yes | Your WhatsApp phone number ID (from Meta App Dashboard > WhatsApp > API Setup) |
| Yes | Permanent access token for your app (generate in Meta App Dashboard) |
| Webhook | Random secret string — must match what you enter in Meta App Dashboard |
| Recommended | Meta App Secret (App Dashboard > Settings > Basic). Used to verify the |
| Optional | WhatsApp Business Account ID — required for listing phone numbers and templates |
| Optional | WhatsApp Cloud API version (default: |
| Optional | Port for incoming webhook server (default: off). Set to |
| Optional | HTTP path for webhooks (default: |
| Optional | Logging verbosity: |
Available Tools
Tool | Description | Key Parameters |
| Send a text message |
|
| Send an image with optional caption |
|
| Send a video with optional caption |
|
| Send an audio message |
|
| Send a document/file |
|
| React to a message with emoji |
|
| Mark a message as read |
|
| List recent conversations (webhook required) |
|
| Get messages with a contact (webhook required) |
|
| Get delivery/read status (webhook required) |
|
| ⚠️ Legacy/unsupported — validate a phone number on WhatsApp (see note below) |
|
| Get your WhatsApp Business profile | — |
| Update business profile info |
|
| Upload media from URL, get media ID |
|
| Get temporary download URL for media |
|
| Delete uploaded media |
|
| Send an approved template message |
|
| List available message templates |
|
⚠️
whatsapp_get_contactis legacy and not expected to work on the Cloud API. It relies on thePOST /{phone-number-id}/contacts"contact check", which was a feature of the legacy WhatsApp On-Premises API — not a Cloud API endpoint that was later removed. Per Meta's On-Premises API Sunset, the final On-Premises client version expired on 2025-10-23. The contact-check never existed in the WhatsApp Cloud API (the API this server uses), and the Cloud API has no contact-validation equivalent. (Even on On-Premises, Meta had degraded it to always returnvalid, so the result could not be trusted.) To determine whether a number can receive messages, send the message and inspect the message-status webhooks / error codes (e.g.131026"message undeliverable") instead. The tool is retained only for backwards compatibility.
Usage with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
Recommended — run the published package via npx (no local build needed):
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "@fredshred7/whatsapp-mcp-server"],
"env": {
"WHATSAPP_PHONE_NUMBER_ID": "your_phone_number_id",
"WHATSAPP_ACCESS_TOKEN": "your_access_token",
"WHATSAPP_WEBHOOK_VERIFY_TOKEN": "your_verify_token",
"WHATSAPP_APP_SECRET": "your_app_secret",
"WHATSAPP_BUSINESS_ACCOUNT_ID": "your_business_account_id",
"WEBHOOK_PORT": "3000"
}
}
}
}Alternatively — run a local build (after cloning and npm run build):
{
"mcpServers": {
"whatsapp": {
"command": "node",
"args": ["/absolute/path/to/whatsapp-mcp-server/dist/index.js"],
"env": {
"WHATSAPP_PHONE_NUMBER_ID": "your_phone_number_id",
"WHATSAPP_ACCESS_TOKEN": "your_access_token",
"WHATSAPP_WEBHOOK_VERIFY_TOKEN": "your_verify_token",
"WHATSAPP_APP_SECRET": "your_app_secret",
"WHATSAPP_BUSINESS_ACCOUNT_ID": "your_business_account_id",
"WEBHOOK_PORT": "3000"
}
}
}
}Restart Claude Desktop after saving. You should see the WhatsApp tools available in the tools panel.
Usage with Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json or project-level .claude/settings.json). Using the published package via npx:
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": ["-y", "@fredshred7/whatsapp-mcp-server"],
"env": {
"WHATSAPP_PHONE_NUMBER_ID": "your_phone_number_id",
"WHATSAPP_ACCESS_TOKEN": "your_access_token",
"WHATSAPP_WEBHOOK_VERIFY_TOKEN": "your_verify_token",
"WHATSAPP_APP_SECRET": "your_app_secret",
"WHATSAPP_BUSINESS_ACCOUNT_ID": "your_business_account_id",
"WEBHOOK_PORT": "3000"
}
}
}
}Or use the CLI to add it:
claude mcp add whatsapp npx -y @fredshred7/whatsapp-mcp-serverWebhook Setup
Webhooks allow you to receive incoming messages and delivery status updates. They are optional — the MCP server works without them for sending messages only.
Local development with ngrok
# 1. Install ngrok: https://ngrok.com/download
# 2. Start your webhook server
WEBHOOK_PORT=3000 npm run dev
# 3. In another terminal, expose it publicly
ngrok http 3000
# 4. Copy the HTTPS URL (e.g. https://abc123.ngrok.io)Configure in Meta App Dashboard
Go to Meta App Dashboard > Your App > WhatsApp > Configuration
Set Callback URL to:
https://your-ngrok-url.ngrok.io/webhookSet Verify Token to match your
WHATSAPP_WEBHOOK_VERIFY_TOKENClick Verify and Save
Subscribe to the messages webhook field
Production
For production, deploy this server behind a reverse proxy (nginx, Caddy, etc.) with a valid TLS certificate. Set WEBHOOK_PORT to your internal port and expose it via HTTPS on port 443.
Docker Deployment
Build and run with docker-compose
# Copy and fill in your credentials
cp .env.example .env
# Build and start
docker-compose up -d
# View logs
docker-compose logs -f
# Stop
docker-compose downBuild manually
# Build image
docker build -t whatsapp-mcp-server .
# Run (send-only, no webhook)
docker run --rm -i \
-e WHATSAPP_PHONE_NUMBER_ID=xxx \
-e WHATSAPP_ACCESS_TOKEN=xxx \
whatsapp-mcp-server
# Run with webhook server
docker run --rm -i \
-p 3000:3000 \
--env-file .env \
whatsapp-mcp-serverNote: When using Docker with Claude Desktop/Code, the MCP transport uses stdio. Make sure to pass -i (interactive) so stdin/stdout remain connected. The webhook port is separate from the MCP transport.
Development
# Install dependencies
npm install
# Run with auto-reload
npm run dev
# Type-check only (no build)
npm run typecheck
# Build
npm run build
# Lint
npm run lint
# Run the test suite
npm test
# Re-run tests on change
npm run test:watchProject structure
src/
├── index.ts # Entry point — loads env, wires up components
├── server.ts # MCP server — registers tools, handles requests
├── whatsapp/
│ ├── client.ts # WhatsApp Cloud API client with retry logic
│ ├── types.ts # TypeScript types and interfaces
│ └── webhook.ts # Express webhook server + in-memory store
└── tools/
├── shared.ts # Shared helpers: formatError + Zod->JSON Schema
├── messages.ts # Send/receive message tools
├── contacts.ts # Contact and business profile tools
├── media.ts # Media upload/download/delete tools
└── templates.ts # Template message tools
test/ # Vitest unit tests (schema, errors, webhook)Contributing
Contributions are welcome! Please read CONTRIBUTING.md for guidelines on reporting bugs, suggesting features, and submitting pull requests.
License
MIT — Copyright (c) 2025 FredShred7
Available Tools
18 toolswhatsapp_delete_mediaA
Delete a previously uploaded media file from WhatsApp servers using its media ID. This frees up storage and removes the file permanently.
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | WhatsApp media ID of the media to delete |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It discloses permanence and storage freeing, but does not mention error cases, idempotency, or required permissions for a destructive action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences with no wasted words; the key action and effect are front-loaded. Highly concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (1 param, no output schema), the description covers purpose, effect, and usage context. It lacks mention of return values or error responses, but overall is mostly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers 100% of parameter descriptions, so baseline is 3. The description does not add meaning beyond 'using its media ID' which is already in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool deletes a previously uploaded media file by media ID, using specific verb and resource. It distinguishes from siblings like upload and get media tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use (after upload) and notes permanence, but lacks explicit when-not-to-use or alternatives, such as whether deletion is allowed for media in active conversations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_get_business_profileA
Retrieve the WhatsApp Business profile for your connected phone number, including about text, address, description, email, and website.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description must carry behavioral context. It correctly implies a read operation but does not mention authentication, rate limits, or behavior if profile is incomplete. Adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence that is front-loaded with verb and resource. No filler words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description lists included fields (about, address, etc.), providing reasonable expectation of return content. Could mention return format or if profile might be empty, but still sufficient.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist; schema coverage is 100% trivially. Baseline for zero parameters is 4 (per rules). Description does not need to add parameter info.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Retrieve') and resource ('WhatsApp Business profile'), listing specific fields included. It distinguishes from siblings like whatsapp_update_business_profile by focusing on retrieval, but does not explicitly contrast with other tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives (e.g., update tool). The description only states what it does, leaving context of usage implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_get_contactA
[LEGACY / UNSUPPORTED] Look up a phone number to check if it has a WhatsApp account and retrieve the WhatsApp ID. This relies on the POST /{phone-number-id}/contacts 'contact check' feature of the legacy WhatsApp On-Premises API, whose final client version expired on 2025-10-23 (per Meta's On-Premises API Sunset). It was never part of the WhatsApp Cloud API used by this server and has no Cloud API equivalent, so it is not expected to work; it is retained only for backwards compatibility. To check deliverability, send the message and inspect message-status webhooks / error codes instead.
| Name | Required | Description | Default |
|---|---|---|---|
| phone_number | Yes | Phone number to look up in E.164 format (e.g. +15551234567). Returns WhatsApp ID and validity status. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description fully carries the burden of transparency. It discloses that the tool relies on a sunset API (expired 2025-10-23), is not part of the Cloud API, and is retained only for backwards compatibility, effectively warning that it is not functional.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is somewhat lengthy but every sentence is necessary to convey the legacy status, expiration date, and alternative approach. It is front-loaded with the core purpose and structured logically.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter and no output schema, the description is fairly complete. It explains the purpose, limitations, and alternative. It could be more specific about the exact error response, but the input schema's description already covers the return value.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with the schema describing the parameter and format. The description adds value by specifying E.164 format and stating that it returns 'WhatsApp ID and validity status', which enhances understanding beyond the schema alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool performs a contact check on a phone number to verify WhatsApp account existence and retrieve the WhatsApp ID. It distinguishes from siblings by explicitly stating its legacy nature and that it is not part of the Cloud API, unlike other tools which are active.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states the tool is legacy/unsupported, not expected to work, and provides a clear alternative: send the message and inspect webhooks/error codes. This gives definitive when-to-use and when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_get_conversationA
Get the message history for a conversation with a specific phone number. Requires webhook server.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to return (default 50) | |
| phone_number | Yes | Phone number in E.164 format, e.g. +15551234567 |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations, so description bears full burden. It discloses the webhook requirement but doesn't explain pagination, error cases, or that it returns a list of messages. Adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose. No wasted words. Highly concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Simple tool with well-documented parameters. Missing details on pagination and return structure, but overall adequate for its simplicity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the description adds no additional meaning beyond the schema. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it gets message history for a specific phone number, which distinguishes it from list_conversations (summary) and send tools. Verb+resource is specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Only mentions a prerequisite (webhook server). Does not provide guidance on when to use vs alternatives (e.g., list_conversations), nor when not to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_get_media_urlA
Get the download URL for a WhatsApp media file using its media ID. The URL is temporary and expires after 5 minutes. Use this to download received media.
| Name | Required | Description | Default |
|---|---|---|---|
| media_id | Yes | WhatsApp media ID returned when a media message is received or uploaded |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. The description discloses that the URL is temporary and expires after 5 minutes, which is critical behavioral information for an agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences, front-loaded with the purpose. Every sentence is necessary and there is no redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple retrieval tool with one parameter, the description explains the purpose, input, and behavior. It doesn't detail the response format, but the tool is straightforward.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the schema description already explains the parameter. The description does not add extra meaning beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get', the resource 'download URL for a WhatsApp media file', and the input 'media ID'. It distinguishes from siblings like upload and delete.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description says 'Use this to download received media', indicating when to use. It does not explicitly mention when not to use or alternatives, but the context is clear given the sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_get_message_statusA
Get the delivery/read status of a previously sent message. Requires webhook server for live updates.
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ID of the sent message |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden. It discloses that live updates require a webhook, but does not specify response format, rate limits, or authentication needs. The behavioral information is adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences: the first states the core purpose, the second adds a crucial usage note. No redundant words, and the most important information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is largely sufficient. It explains what it does and a key prerequisite. However, specifying the response shape would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with one parameter (message_id) described as 'ID of the sent message'. The description adds no additional meaning beyond the schema, meeting the baseline for high coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'delivery/read status of a previously sent message'. It distinguishes this tool from siblings like whatsapp_send_text (which sends messages) and whatsapp_mark_read (which modifies status).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions 'Requires webhook server for live updates', which gives context on a prerequisite and implies this tool provides snapshot status. It does not explicitly exclude alternatives but provides clear guidance on a supporting requirement.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_list_conversationsA
List recent WhatsApp conversations. Only available when the webhook server is running and has received messages.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of conversations to return (default 20) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It states 'recent conversations' without defining 'recent' (e.g., time-based or last N). The availability condition is mentioned, but no detail on error behavior if unmet. The tool is read-only but not declared.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two sentences long, concise, and front-loaded with the purpose. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has no output schema, so the description should hint at the return format. It does not mention what data is returned for each conversation. For a simple list tool with one parameter, it is mostly adequate but lacks completeness on output.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with the 'limit' parameter having a clear description, default, and range. The tool description adds no further semantics beyond the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool lists recent WhatsApp conversations. However, it does not explicitly differentiate from sibling tools like whatsapp_get_conversation, which likely retrieves a specific conversation. The purpose is clear but lacking sibling distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description specifies a prerequisite: the webhook server must be running and have received messages. This provides clear context for when the tool is available. No explicit when-not-to-use or alternative suggestions are given, but the condition is useful.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_list_templatesA
List available WhatsApp message templates for your business account. Shows template name, status (APPROVED/PENDING/REJECTED), category, and language. Requires WHATSAPP_BUSINESS_ACCOUNT_ID to be configured.
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of templates to return (default 20, max 100) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided. Description does not disclose whether this is a read-only operation, any side effects, or pagination behavior beyond the limit parameter. Minimal behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences: first states purpose, second adds details and requirement. Every sentence adds value, no wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, but description mentions returned fields. Lacks details on response structure, ordering, or error scenarios. Adequate for a simple list tool but could be more complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Only one parameter (limit) with full schema coverage. Description adds no additional meaning beyond the schema's description, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states it lists WhatsApp message templates, specifying the returned fields (name, status, category, language). Distinct from sibling tools like sending templates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implicit usage is clear: to view available templates. Mentions prerequisite (WHATSAPP_BUSINESS_ACCOUNT_ID configured). Lacks explicit when-not-to-use or alternatives, but context is adequate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_mark_readA
Mark an incoming WhatsApp message as read. This sends a read receipt to the sender.
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | ID of the message to mark as read |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description adds the behavioral fact that it sends a read receipt, but lacks details on idempotency, prerequisites, or what happens if the message is already read.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences front-load the main action and a key side effect. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and a simple action, the description is mostly complete but does not mention what the tool returns (e.g., success/failure).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The sole parameter 'message_id' is fully described in the schema. The description adds no additional meaning beyond the schema's description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action 'mark as read' and the resource 'incoming WhatsApp message', with the effect of sending a read receipt. It is specific and distinct from sibling tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus alternatives. The context implies it's for incoming messages only, but no explicit exclusions or alternatives are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_audioB
Send an audio message to a WhatsApp phone number. Provide a publicly accessible audio URL.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| audio_url | Yes | Publicly accessible URL of the audio file | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It only states that the tool sends an audio message, with no disclosure about file formats, size limits, rate limits, or whether it is destructive. This is insufficient for an agent to understand behavioral consequences.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise: two short sentences that front-load the action. No superfluous text.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool involves sending audio with 3 parameters and no output schema or annotations, the description is bare-bones. It omits critical context such as supported audio formats, file size limits, group chat support, and prerequisites (e.g., WhatsApp Business account).
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the description does not need to explain parameters in detail. It adds some value by emphasizing the 'publicly accessible' requirement for audio_url, but does not add significant meaning beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the action ('send'), resource ('audio message'), and a key requirement (publicly accessible audio URL). Differentiates from sibling tools like whatsapp_send_text and whatsapp_send_image by specifying 'audio'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Implies usage context by mentioning the need for a publicly accessible audio URL, but does not explicitly state when to prefer this tool over alternatives (e.g., whatsapp_upload_media) or when not to use it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_documentA
Send a document or file to a WhatsApp phone number. Supports PDF, Word, Excel, and other common formats.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| caption | No | Optional caption | |
| filename | No | Filename shown to recipient | |
| document_url | Yes | Publicly accessible URL of the document | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It only states the action and supported formats, but lacks details on potential issues like URL validity, size limits, internet requirements, or error handling.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is minimal and efficient: two sentences with no wasted words. Every sentence serves a purpose—stating the action and specifying supported formats.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the absence of an output schema, the description does not explain return values or what happens after sending. It adequately covers the basic purpose and supported formats, but lacks details on prerequisites, error conditions, or status outcomes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds context about supported formats for document_url, but does not provide further meaning beyond what the schema already offers for other parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Send' and the resource 'document or file to a WhatsApp phone number', and lists supported formats (PDF, Word, Excel), which distinguishes it from sibling tools like whatsapp_send_image or whatsapp_send_video.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for sending documents but provides no explicit guidance on when to use this tool versus alternatives like whatsapp_send_image or whatsapp_send_text, nor any conditions for avoiding it.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_imageB
Send an image message to a WhatsApp phone number. Provide a publicly accessible image URL.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| caption | No | Optional caption (max 1024 characters) | |
| image_url | Yes | Publicly accessible URL of the image | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, and the description only states the action and URL requirement. It does not disclose potential failures (e.g., invalid URL), authentication needs, rate limits, or whether it is destructive. The description carries the full burden but is minimal.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is two concise sentences, front-loaded with the action, and provides all essential information without waste.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and the tool's complexity (4 parameters), the description does not hint at what the response contains (e.g., message ID, success status). The agent would need additional knowledge to handle the result. This leaves a completeness gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description adds no additional meaning beyond the schema—it merely reiterates the 'publicly accessible image URL' which is already in the schema. No extra semantics.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'send' and resource 'image message to a WhatsApp phone number', and specifies the requirement for a publicly accessible image URL. This distinguishes it from sibling tools like whatsapp_send_text or whatsapp_send_document.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies when to use this tool (to send an image message) but provides no explicit guidance on when not to use it or alternatives like whatsapp_send_text for text messages. The context is clear but lacks exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_reactionB
React to a WhatsApp message with an emoji.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| emoji | Yes | Emoji to use as reaction, e.g. 👍 | |
| message_id | Yes | ID of the message to react to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are present, and the description gives no information about side effects, permissions, error handling, or idempotency. For a write operation, more behavioral context is needed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is efficient. However, for a tool with three parameters and no annotations, a bit more detail would be helpful without being verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema and annotations, the description is too minimal. It does not explain success/error behavior or any side effects, leaving gaps for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so the schema already documents each parameter. The description adds no additional semantic value beyond what is in the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('React') and the resource ('a WhatsApp message with an emoji'). It distinguishes this tool from other WhatsApp send tools (e.g., send_text, send_image) by focusing on reactions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description lacks any context about prerequisites, limitations, or when reactions are appropriate.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_templateA
Send an approved WhatsApp message template. Templates are pre-approved messages used for business-initiated conversations. Supports header, body, and button components with dynamic variable substitution.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in E.164 format, e.g. +15551234567 | |
| components | No | Template components with dynamic values. Include header, body, and/or button components as needed. | |
| language_code | Yes | Language code for the template, e.g. en_US, pt_BR, es, fr | |
| template_name | Yes | Name of the approved template to send | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It explains support for header, body, button components and dynamic substitution, but omits important behavioral traits like rate limits, authentication, or WhatsApp policy constraints (e.g., 24-hour window, opt-in).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three sentences that are directly to the point: action, purpose, and capabilities. No redundant information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers the core purpose and component usage, but lacks details on return value, error handling, and prerequisites (e.g., template approval, account setup). For a tool with no output schema and no annotations, more context is needed for safe agent usage.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for all parameters. The description adds context about component types and dynamic variables but does not significantly enhance understanding beyond the schema. Baseline score applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states 'Send an approved WhatsApp message template', distinguishing it from other send tools like whatsapp_send_text by specifying pre-approved templates for business-initiated conversations. The verb-resource combination is specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use or not use this tool versus alternatives. Mentions 'business-initiated conversations' but does not compare to other send methods or outline prerequisites like requiring an approved template.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_textA
Send a text message to a WhatsApp phone number. Supports up to 4096 characters and optional URL preview.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| text | Yes | Message text (max 4096 characters) | |
| preview_url | No | Whether to show URL previews | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so description carries full burden. It mentions character limit and optional preview, but omits behavioral details like delivery status, rate limits, or whether it replaces existing messages. Adequate but not thorough.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose, then constraints. No wasted words. Efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, so description should hint at return value (e.g., message ID). It does not. Also missing prerequisites (e.g., WhatsApp Business account). Inadequate for a complete understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%; description echoes schema (maxLength, preview_url) but adds minimal new semantics. Baseline of 3 is appropriate since schema already documents parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the verb 'Send' and resource 'text message to a WhatsApp phone number'. It distinguishes from sibling tools like whatsapp_send_image or whatsapp_send_audio by focusing on text.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides character limit and optional URL preview, but does not explicitly state when to use vs alternatives like whatsapp_send_template or whatsapp_send_reaction. Usage context is implied rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_send_videoC
Send a video message to a WhatsApp phone number. Provide a publicly accessible video URL.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number in E.164 format, e.g. +15551234567 | |
| caption | No | Optional caption (max 1024 characters) | |
| video_url | Yes | Publicly accessible URL of the video | |
| reply_to_message_id | No | Message ID to reply to |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden of behavioral disclosure. It only states 'Send a video message,' omitting behavioral traits such as permissions requirements, error handling, or side effects. Minimal transparency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, concise and to the point. It is front-loaded with the primary action. However, it could benefit from a slightly more structured format or additional context without becoming verbose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema and four parameters, the description is insufficient. It does not explain return values, error conditions, or prerequisites like file size limits. The tool is part of a large sibling group with no discriminative guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All four parameters have descriptions in the input schema (100% coverage), so the description adds little beyond reinforcing that video_url must be publicly accessible. The description does not elaborate on optional parameters like caption or reply_to_message_id.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool sends a video message to a WhatsApp phone number. However, it does not explicitly differentiate itself from sibling tools like whatsapp_send_image or whatsapp_send_audio, though the name and parameter 'video_url' imply the purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description mentions the prerequisite of a publicly accessible video URL, but provides no guidance on when to use this tool versus alternatives (e.g., for images or documents). No when-not-to-use or context for selection among sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_update_business_profileA
Update your WhatsApp Business profile. You can update the about text, address, description, email, website URLs, and business vertical.
| Name | Required | Description | Default |
|---|---|---|---|
| about | No | Business about text (max 139 characters) | |
| No | Business email address | ||
| address | No | Business address | |
| vertical | No | Business vertical / industry category | |
| websites | No | Up to 2 website URLs for the business | |
| description | No | Business description (max 512 characters) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose side effects, permissions, or rate limits. It only states 'Update' with no details on rollback, idempotency, or authentication requirements, which is insufficient for a mutation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence, front-loading the key action and listing fields. No unnecessary words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the main purpose and lists all input categories. Given no output schema, it adequately informs what the tool does, though behavioral details are missing. For the scope of input, it is fairly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so each parameter is already described in the schema. The description adds minimal value by restating the field categories but no further semantics (e.g., constraints beyond schema). Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool updates a WhatsApp Business profile and lists specific fields (about, address, description, email, website URLs, business vertical). This differentiates it from sibling tools like send, get, or media operations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for modifying business profile fields. While it does not explicitly state when not to use it or provide comparisons to siblings, the context is clear given the tool name and sibling list.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
whatsapp_upload_mediaA
Upload a media file from a URL to WhatsApp and get back a media ID. The media ID can then be used to send media messages. Supports images (JPEG, PNG, WebP), videos (MP4, 3GPP), audio (AAC, MP4, MPEG, AMR, OGG), and documents (PDF, Word, Excel, PowerPoint, plain text).
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename for the uploaded file (used for documents) | |
| media_url | Yes | Publicly accessible URL of the media file to upload to WhatsApp | |
| mime_type | Yes | MIME type of the media file, e.g. image/jpeg, video/mp4, audio/ogg, application/pdf |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It describes the upload process and return of media ID, but does not mention side effects, error handling, authentication requirements, rate limits, or consequences of invalid URLs. The description is incomplete for a tool with no annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise, consisting of three sentences. The first sentence states the core purpose, the second explains the result, and the third lists supported formats. No redundancy, and the most important information is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the basic workflow and supported types, but lacks details on the returned media ID format, error conditions, and prerequisites (e.g., must have a WhatsApp business account). For a simple tool with no output schema, it is adequate but not fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% coverage in descriptions for all 3 parameters, providing clear meaning. The description does not add significant parameter-specific details beyond the schema, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Upload' and the resource 'a media file from a URL to WhatsApp' and mentions the output 'media ID', which distinguishes it from other WhatsApp tools that send media or retrieve info. It is specific and informative, differentiating it from sibling tools like send_audio, send_image, etc.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains that the tool is used to get a media ID for sending media messages, and lists supported file types. However, it does not explicitly state when not to use it (e.g., if media ID already exists) or contrast with alternative methods like direct file upload from local storage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
18 tool updates
v1.1.0- First observed
whatsapp_delete_media - First observed
whatsapp_get_business_profile - First observed
whatsapp_get_contact - First observed
whatsapp_get_conversation - First observed
whatsapp_get_media_url - First observed
whatsapp_get_message_status - First observed
whatsapp_list_conversations - First observed
whatsapp_list_templates - First observed
whatsapp_mark_read - First observed
whatsapp_send_audio - First observed
whatsapp_send_document - First observed
whatsapp_send_image - First observed
whatsapp_send_reaction - First observed
whatsapp_send_template - First observed
whatsapp_send_text - First observed
whatsapp_send_video - First observed
whatsapp_update_business_profile - First observed
whatsapp_upload_media
TDQS
Each tool targets a distinct operation: sending different media types, managing profiles, listing conversations/templates, etc. There is no ambiguity between tools even for similar actions like sending different media types because the tool names clearly specify the media type.
All tools follow a consistent 'whatsapp_verb_noun' pattern using snake_case. For example, 'whatsapp_send_text', 'whatsapp_get_conversation', 'whatsapp_list_templates'. This makes the tool set predictable and easy to navigate.
With 18 tools, the set is well-scoped for a WhatsApp Business API server. It covers sending, receiving, media management, profile updates, and template listing without being overwhelming or too sparse.
The tool set covers core CRUD operations for sending messages, managing media, and updating profiles. However, template management is limited to listing only (no create/update/delete), and there is no support for group chats or webhook configuration, which are notable gaps for a complete WhatsApp integration.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Give your AI agents a real WhatsApp number to send and receive messages.
Run WhatsApp Business campaigns from any AI assistant: contacts, segments, and broadcasts.
WhatsApp for your app or AI agent over OAuth2 — the same connections WASync runs inside your CRM.
WhatsApp CRM for AI agents: search contacts, read chats, manage the sales pipeline, send messages.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to send WhatsApp messages, templates, and retrieve media through the WhatsApp Cloud API. Provides webhook handling and seamless integration with Meta's WhatsApp Business platform.23-
- AlicenseBqualityBmaintenanceBridges the WhatsApp HTTP API with AI assistants to enable full control over messaging, chat management, and interactive workflows through 63 specialized tools. It allows users to automate WhatsApp tasks and receive real-time AI feedback directly on their mobile devices.63235MIT
- AlicenseAqualityNot gradedmaintenanceConnects AI agents to the WhatsApp Business Cloud API, allowing them to send messages, manage templates, and retrieve account analytics. It facilitates automated customer interaction and marketing campaign management through the Model Context Protocol.16-
- AlicenseBqualityCmaintenanceEnables AI assistants to manage WhatsApp business operations including chatbots, broadcasts, campaigns, and contacts through 120+ MCP tools.2410055MIT
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/FredShred7/whatsapp-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server