Skip to main content
Glama
rukman7

whatsapp-mcp-server

by rukman7

WhatsApp MCP Server

An MCP (Model Context Protocol) server that enables LLMs to interact with WhatsApp via the official WhatsApp Cloud API by Meta.

Features

Messaging Tools (13 tools)

Tool

Description

whatsapp_send_text

Send text messages

whatsapp_send_template

Send approved template messages (required for initiating conversations)

whatsapp_send_image

Send images via URL

whatsapp_send_document

Send documents (PDF, DOCX, etc.) via URL

whatsapp_send_location

Send location pins

whatsapp_send_contact

Send contact cards

whatsapp_send_reaction

React to messages with emoji

whatsapp_send_buttons

Send interactive reply buttons (up to 3)

whatsapp_send_list

Send interactive list menus

whatsapp_mark_as_read

Mark messages as read (blue checkmarks)

whatsapp_get_business_profile

Retrieve your business profile

whatsapp_update_business_profile

Update business profile fields

whatsapp_list_templates

List approved message templates

Related MCP server: WAHA MCP Server

Prerequisites

  1. Meta Developer Account — Register at https://developers.facebook.com

  2. WhatsApp Business App — Create a Meta app with the WhatsApp use case

  3. Access Token — Generate from the WhatsApp API Setup panel

  4. Phone Number ID — Found in the WhatsApp API Setup panel

Getting Your Credentials

  1. Go to Meta for Developers

  2. Create or select your app → Add the WhatsApp use case

  3. In the WhatsApp API Setup panel, note:

    • Phone Number ID (numeric ID under your test number)

    • WhatsApp Business Account ID (for template operations)

  4. Generate a Temporary Access Token (valid 24h) or set up a System User for a permanent token

Setup

1. Install Dependencies

npm install

2. Configure Environment Variables

# Required
export WHATSAPP_ACCESS_TOKEN="your_access_token"
export WHATSAPP_PHONE_NUMBER_ID="your_phone_number_id"

# Optional
export WHATSAPP_BUSINESS_ACCOUNT_ID="your_waba_id"  # Required for template operations
export WHATSAPP_API_VERSION="v23.0"                  # Default: v23.0
export TRANSPORT="stdio"                              # "stdio" (default) or "http"
export PORT="3000"                                    # HTTP port (default: 3000)

3. Build & Run

npm run build
npm start

Usage with Claude Desktop

Add this to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "whatsapp": {
      "command": "node",
      "args": ["/path/to/whatsapp-mcp-server/dist/index.js"],
      "env": {
        "WHATSAPP_ACCESS_TOKEN": "your_token",
        "WHATSAPP_PHONE_NUMBER_ID": "your_phone_id",
        "WHATSAPP_BUSINESS_ACCOUNT_ID": "your_waba_id"
      }
    }
  }
}

Usage as HTTP Server

TRANSPORT=http PORT=3000 npm start

The server exposes:

  • POST /mcp — MCP endpoint (Streamable HTTP)

  • GET /health — Health check

Important Notes

24-Hour Messaging Window

WhatsApp enforces a 24-hour customer service window. You can only send free-form messages (text, image, etc.) to users who have messaged you within the last 24 hours. Outside this window, you must use approved template messages to initiate contact.

Phone Number Format

Always use international format without the + prefix (e.g., 353851234567 for an Irish number, 14155551234 for a US number).

Rate Limits

The Cloud API supports up to 80 messages per second for standard tier. Monitor your usage in the Meta Business Manager.

License

MIT

Available Tools

13 tools
whatsapp_get_business_profileGet WhatsApp Business ProfileA
Read-onlyIdempotent

Retrieve the WhatsApp Business Profile for the configured phone number.

Returns: Business profile fields: about, address, description, email, websites, vertical, and profile picture URL.

ParametersJSON Schema
NameRequiredDescriptionDefault
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the list of returned fields (about, address, description, etc.) but no additional behavioral details such as permission requirements, error handling, or response_format effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences with the purpose stated first and return fields listed clearly. Every sentence earns its place with no redundant or filler content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple get operation with one optional parameter and no output schema, the description adequately covers the purpose and return fields. It is not exhaustive about edge cases or permissions, but the combination of annotations and sibling tool context makes the tool sufficiently understandable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The single parameter response_format is fully documented in the schema with enum values and a description, so schema coverage is 100%. The tool description doesn't add further meaning beyond what the schema already provides, warranting the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Retrieve' and the resource 'WhatsApp Business Profile for the configured phone number', making it distinct from the sibling tools that send messages or update the profile.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context is clear: this is the read-only retrieval counterpart to whatsapp_update_business_profile and different from send tools. It doesn't explicitly state when not to use it, but the sibling list and 'Retrieve' phrasing make the intended use obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_list_templatesList WhatsApp Message TemplatesA
Read-onlyIdempotent

List message templates for the WhatsApp Business Account. Requires WHATSAPP_BUSINESS_ACCOUNT_ID env var.

Args:

  • limit (number): Max results (default: 20, max: 100)

  • status (string, optional): Filter by APPROVED, PENDING, or REJECTED

Returns: List of templates with name, status, category, language, and components.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoMax templates to return
statusNoFilter by template status (leave empty for all)
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds the env var requirement and the return structure (name, status, category, language, components), which goes beyond the annotations. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded with the main verb and resource. The env var prerequisite, args, and return are all covered in a few lines without wasted words. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple list tool, this description is complete: it states the purpose, a critical prerequisite, the main parameters, and the return shape. The annotations cover safety, and the schema covers all parameter details. No output schema exists, but the description provides sufficient return info.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description repeats limit and status semantics but omits response_format. It adds no new information beyond what the schema already provides, so no bonus beyond baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'List' with a specific resource 'message templates' and scopes it to the WhatsApp Business Account. This clearly distinguishes it from sibling send/update/mark tools. The purpose is immediately clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context: it lists templates and requires the WHATSAPP_BUSINESS_ACCOUNT_ID env var. It doesn't explicitly name alternatives or exclusion criteria, but the distinction from send/update siblings is implicit and the env var prerequisite is a useful usage hint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_mark_as_readMark Message as ReadA
Idempotent

Mark a received WhatsApp message as read (shows blue checkmarks).

Args:

  • message_id (string): The wamid of the message to mark as read

Returns: Confirmation.

ParametersJSON Schema
NameRequiredDescriptionDefault
message_idYesThe wamid of the message to mark as read
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already cover the safety profile: idempotent, non-destructive, open-world, and not read-only. The description adds the 'blue checkmarks' effect and confirms a return value. It doesn't discuss edge cases like already-read messages, but with annotations in place this is acceptable. No contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise: two sentences plus a short args list and a return statement. The purpose is front-loaded, and every word earns its place. No redundancy or fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with no output schema, the description covers the action, input, and return type. The only minor gap is the vagueness of 'Confirmation' as a return description, but this is not critical for such a straightforward operation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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 repeats message_id's semantics but adds no new information beyond the schema. response_format is fully documented in the schema, so the description's omission is fine.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb and resource: 'Mark a received WhatsApp message as read' and adds the observable effect ('shows blue checkmarks'). This clearly distinguishes it from sibling tools, which are all send/get/update/list operations.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes it clear this is for received messages (marking them as read), which is the primary usage context. It doesn't explicitly state when not to use it or name alternatives, but the sibling tools are obviously different operations, so the context is sufficient. Missing explicit exclusions prevents a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_buttonsSend Interactive ButtonsA

Send a message with up to 3 reply buttons.

Args:

  • to (string): Recipient phone number

  • body_text (string): Main message body

  • buttons (string): JSON array of buttons: [{"id":"btn1","title":"Yes"},{"id":"btn2","title":"No"}]

  • header_text (string, optional): Header text

  • footer_text (string, optional): Footer text

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
buttonsYesJSON string of buttons array (max 3). Example: '[{"id":"btn1","title":"Yes"},{"id":"btn2","title":"No"}]'
body_textYesMain body text of the message
footer_textNoOptional footer text
header_textNoOptional header text
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark this as a non-read-only, open-world operation, and the description does not contradict that. It adds the return value ('Message ID and delivery status') and the 'up to 3' limit, but does not disclose side effects, prerequisites, or error behavior, so it provides only baseline transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and clearly organized with an Args list and Returns line. Every sentence provides useful information, and the example JSON for buttons is immediately helpful without bloating the text.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a messaging tool with a fully documented schema, the description covers purpose, core parameters, and the return value. It lacks usage context and omits response_format from the Args list, but the schema fills most gaps, so the description remains adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already documents 100% of parameters with descriptions and examples. The description repeats 'to', 'body_text', 'buttons', 'header_text', and 'footer_text' but does not add new meaning, and notably omits the response_format parameter that appears in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence 'Send a message with up to 3 reply buttons' uses a specific verb and resource, clearly distinguishing this from sibling send tools (text, image, list, etc.) by focusing on the interactive button format.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no explicit guidance on when to choose this tool over siblings like whatsapp_send_text or whatsapp_send_list. It only restates the tool's purpose, leaving the agent to infer usage from the action name.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_contactSend WhatsApp ContactA

Send a contact card to a WhatsApp user.

Args:

  • to (string): Recipient phone number

  • first_name (string): Contact first name

  • last_name (string, optional): Contact last name

  • phone (string): Contact phone number

  • email (string, optional): Contact email

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
emailNoContact's email address
phoneYesContact's phone number
last_nameNoContact's last name
first_nameYesContact's first name
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations indicate readOnlyHint=false, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the agent knows it is a side-effecting operation. The description adds the return value ('Message ID and delivery status') but does not disclose other behavioral traits like authentication needs, rate limits, or failure conditions. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is structured as a one-sentence summary followed by a clear args list and a returns note. It is concise and easy to scan, though it somewhat duplicates schema information. No unnecessary fluff is present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 6 parameters and no output schema, the description provides return value information but lacks usage differentiation, error scenarios, or prerequisites. The missing 'response_format' parameter guidance also leaves a gap. Overall, it is adequate for a simple send tool but not comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides full descriptions for all 6 parameters (100% coverage), so the baseline is 3. The description repeats some parameter details but omits the 'response_format' parameter entirely, and it does not add meaningful semantic value beyond the schema. The schema already explains format and constraints.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Send a contact card to a WhatsApp user', specifying the verb (send) and resource (contact card). This distinguishes it from sibling tools like whatsapp_send_text or whatsapp_send_image, which serve different content types. The purpose is immediately obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for sending contact cards, but it does not explicitly state when to use this tool versus alternatives. There is no mention of exclusions or comparison to sibling send tools. The intended use is apparent from the title and name, but not explicitly guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_documentSend WhatsApp DocumentA

Send a document (PDF, DOCX, etc.) to a WhatsApp user via a public URL.

Args:

  • to (string): Recipient phone number

  • document_url (string): Public URL of the document

  • filename (string, optional): Display filename

  • caption (string, optional): Document caption

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
captionNoOptional caption for the document
filenameNoDisplay filename for the document
document_urlYesPublic URL of the document to send
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate this is a non-read-only, non-idempotent operation. The description adds valuable context: the requirement for a public URL, optional filename/caption, and a return value of 'Message ID and delivery status.' It does not contradict annotations and provides behavioral expectations beyond the safety profile.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise and well-structured. The opening sentence states the core purpose, followed by a clear Args list and Returns line. No redundant text or unnecessary elaboration; every sentence contributes useful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description appropriately includes a Returns line ('Message ID and delivery status'). It covers the essential aspects: purpose, parameters, and outcome. It lacks potential error scenarios or response format details, but for a straightforward send operation with good annotations, this is sufficient. A small gap is the absence of clarification on how errors (like invalid URL) are reported, preventing a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already describes all parameters. The description repeats the args list with similar wording (e.g., 'Public URL' vs schema's 'Public URL of the document to send') and does not add new semantic details beyond what the schema provides. The baseline of 3 applies because the schema carries the burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's action: 'Send a document (PDF, DOCX, etc.) to a WhatsApp user via a public URL.' It uses a specific verb ('send'), resource ('document'), and context ('via a public URL'), and it is distinct from sibling tools like whatsapp_send_text or whatsapp_send_image by specifying document types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the usage context (when you need to send a document), but it does not explicitly contrast with alternatives or state when not to use this tool. The sibling tools are not referenced, so an agent must infer from the name. This meets the 'implied usage' level but lacks explicit when/when-not guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_imageSend WhatsApp ImageA

Send an image to a WhatsApp user via a public URL.

Args:

  • to (string): Recipient phone number

  • image_url (string): Public URL of the image

  • caption (string, optional): Image caption (max 1024 chars)

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
captionNoOptional caption for the image (max 1024 characters)
image_urlYesPublic URL of the image to send
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=false and idempotentHint=false, signaling a non-read-only, non-idempotent operation. The description adds that it returns a Message ID and delivery status, which is helpful for understanding the operation's outcome. However, it does not disclose other behavioral aspects like authentication requirements or rate limits, but these are not contradicted by annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well-structured, using an Args/Returns format. Every line provides necessary information without fluff. It is not as minimal as a single sentence, but it avoids redundancy and fits naturally within a standard docstring.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (4 parameters, no output schema), the description adequately explains the core action, parameter constraints, and return value. It lacks explicit error-handling or size-limit details, but for a straightforward send-image operation, it is sufficiently complete. The public URL requirement is a key contextual detail that is included.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

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's Args section reproduces parameter meanings already present in the schema (e.g., 'to', 'image_url', 'caption'), but does not add new semantics. It notably omits the 'response_format' parameter from its Args, although the schema covers it. No additional value is provided beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Send an image to a WhatsApp user via a public URL.' It uses a specific verb ('Send') and identifies the resource and medium, distinguishing it from sibling tools like whatsapp_send_text and whatsapp_send_document. The title and description align without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies its use for sending images, but it does not explicitly state when to prefer this tool over alternatives or when not to use it. It does mention a key precondition: the image must be available via a public URL, which is a useful usage constraint, but there is no explicit comparison with sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_listSend Interactive ListA

Send a message with a menu list of options.

Args:

  • to (string): Recipient phone number

  • body_text (string): Main message body

  • button_text (string): Text on the list menu button

  • sections (string): JSON array of sections with rows

  • header_text (string, optional): Header text

  • footer_text (string, optional): Footer text

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
sectionsYesJSON string of sections array. Example: '[{"title":"Section 1","rows":[{"id":"row1","title":"Option 1","description":"Desc"}]}]'
body_textYesMain body text of the message
button_textYesText for the list menu button
footer_textNoOptional footer text
header_textNoOptional header text
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate this is a write operation (readOnlyHint=false), and the description adds that it returns 'Message ID and delivery status,' which gives the agent a clearer expectation of the tool's outcome. It does not explicitly mention external side effects beyond sending, but the annotations (openWorldHint=true) cover the external interaction. The description provides modest additional behavioral context beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured: a clear first sentence followed by an Args list and Returns line. It is relatively concise, though the Args list duplicates information already present in the schema. The structure makes it easy to scan, but the duplication could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the rich schema with full parameter descriptions and the presence of annotations (openWorldHint, readOnlyHint), the description covers the essential operational aspects: what the tool does, key parameters, and return value. It does not include usage timing or edge cases, but these are not critical for a straightforward send tool. The description is sufficiently complete for the agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema covers 100% of parameters with detailed descriptions, including examples for 'sections' and format details for 'response_format.' The description's Args list only restates parameter names and short descriptions, adding no new meaning beyond what the schema already provides. Therefore, the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Send a message with a menu list of options,' which clearly identifies the tool's verb (send), resource (message with menu list), and distinguishes it from sibling WhatsApp send tools (text, image, buttons, etc.). The title 'Send Interactive List' reinforces this specific function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when to use this tool versus alternatives like whatsapp_send_buttons or whatsapp_send_text. The use case is implied by the phrase 'menu list of options,' but there is no direct comparison or exclusion of other message types. This makes the guidance implicit 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_locationSend WhatsApp LocationA

Send a location pin to a WhatsApp user.

Args:

  • to (string): Recipient phone number

  • latitude (number): Latitude (-90 to 90)

  • longitude (number): Longitude (-180 to 180)

  • name (string, optional): Location name

  • address (string, optional): Location address

Returns: Message ID and delivery status.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
nameNoName of the location
addressNoAddress of the location
latitudeYesLatitude of the location
longitudeYesLongitude of the location
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate a non-readonly, non-destructive operation. The description adds the return behavior ('Message ID and delivery status'), which is not in annotations or schema, and does not contradict any annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact but includes an Args list that duplicates the input schema. This redundancy is slightly wasteful, but the structure is clear and the content is otherwise minimal.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a complete input schema, clear annotations, and a brief Returns statement, the tool definition covers essential use. Lack of output schema and details on delivery status prevent a higher score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All six parameters are fully described in the schema (100% coverage). The description's Args section repeats the same information without adding semantic detail beyond what the schema already provides, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and description clearly state the action: 'Send a location pin to a WhatsApp user.' This is specific to location sharing and distinct from sibling tools for text, media, contact, etc., which all have different verbs and resources.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly compare to alternatives or state when not to use this tool, but the clear scope (location pin) implies usage context. It lacks exclusions or conditions but is clear enough for an agent to infer when it is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_reactionReact to WhatsApp MessageA

Send a reaction emoji to an existing message.

Args:

  • to (string): Phone number of the conversation

  • message_id (string): wamid of the message to react to

  • emoji (string): Emoji character (e.g. '👍')

Returns: Confirmation of reaction sent.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
emojiYesEmoji character to react with (e.g. '👍', '❤️')
message_idYesThe wamid of the message to react to
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate readOnlyHint=false and idempotentHint=false, so the non-read-only nature is disclosed. The description adds the requirement that the target message must exist and states a confirmation is returned. However, it does not disclose potential side effects like overwriting a previous reaction, error conditions, or rate limits. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately concise: a one-sentence summary, a compact argument list, and a single return line. It is front-loaded with the essential purpose and contains no unnecessary filler, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity, the rich schema, and the annotations, the description is adequate. It covers the main purpose, the key 'existing message' constraint, and the return value. The omission of response_format in the Args list is minor since the schema fully documents it. However, it lacks explicit usage guidance and deeper behavioral details, preventing a perfect score.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, so all four parameters are documented. The description's Args list is largely redundant with the schema and omits the response_format parameter. It adds only minor context (e.g., 'Phone number of the conversation') without enhancing the overall semantic understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Send a reaction emoji to an existing message.' This uses a specific verb and resource, and distinguishes it from sibling tools that send text, images, templates, etc. The title 'React to WhatsApp Message' reinforces the unique purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage (reacting to an existing message) but does not explicitly contrast with alternatives such as sending a new message or other reaction-like operations. It mentions 'existing message,' which is a key prerequisite, but no exclusions or specific when-to-use guidance is provided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_templateSend WhatsApp Template MessageA

Send an approved template message. Templates are the only way to initiate conversations outside the 24-hour window.

Args:

  • to (string): Recipient phone number

  • template_name (string): Approved template name

  • language_code (string): Template language (default: "en_US")

  • components (string, optional): JSON string of template components for dynamic values

Returns: Message ID and delivery status.

Examples:

  • "Send welcome template to user" → template_name="hello_world", language_code="en_US"

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
componentsNoJSON string of template components array for dynamic parameters. Example: '[{"type":"body","parameters":[{"type":"text","text":"John"}]}]'
language_codeNoTemplate language code (e.g. 'en_US', 'es', 'pt_BR')en_US
template_nameYesName of the approved message template
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (which indicate readOnly=false), the description discloses that template messages must be pre-approved and that they bypass the 24-hour window rule. This adds useful behavioral context. There is no contradiction with the annotations, and while it does not mention side effects like delivery guarantees or idempotency, it provides meaningful additional info.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a clear first sentence, followed by Args, Returns, and an Example. It is front-loaded with the core purpose. However, the Args section duplicates schema-provided parameter details, which adds redundancy. Overall it is reasonably concise and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Since there is no output schema, the description appropriately defines return values as 'Message ID and delivery status'. It also includes a concrete example and the key business rule about the 24-hour window. The only notable gap is not mentioning the response_format parameter in the description, but the schema covers it, and the tool's complexity is moderate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 100% coverage with detailed descriptions for all five parameters. The description's Args section largely restates the schema (e.g., to, template_name) and adds no significant new meaning. It omits response_format entirely, but since the schema already fully documents it, the description does not need to compensate. The example provides a minor mapping hint, keeping this at the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Send an approved template message', a specific verb and resource that clearly distinguishes this tool from the other whatsapp_send_* siblings (text, image, document, etc.). The added detail about the 24-hour window further clarifies its unique purpose, and the example demonstrates the expected mapping for template_name and language_code.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description states 'Templates are the only way to initiate conversations outside the 24-hour window', which gives a clear when-to-use context. It indirectly implies that for in-window conversations other send tools are appropriate, but it does not explicitly name alternatives or state when-not-to-use. This is clear context without explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_send_textSend WhatsApp Text MessageA

Send a text message to a WhatsApp user.

Args:

  • to (string): Recipient phone number in international format

  • body (string): Message text (max 4096 chars)

  • preview_url (boolean): Show URL preview (default: false)

Returns: Message ID and delivery status.

Examples:

  • "Send hello to +353851234567" → to="+353851234567", body="hello"

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient phone number in international format (e.g. '353851234567' or '+353851234567')
bodyYesThe text message content to send
preview_urlNoWhether to show a URL preview if the message contains a link
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already indicate this is a write operation (readOnlyHint=false). The description adds meaningful context by stating the return value ('Message ID and delivery status') and documenting parameters like preview_url. It does not cover error conditions or delivery semantics, but the annotation coverage reduces the burden.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with clear sections (Args, Returns, Examples) and begins with a one-sentence purpose. It is slightly repetitive with the schema but remains concise and readable without excessive verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple send-text tool with four scalar parameters and no output schema, the description provides the essential details: parameters, max length, return info, and an example. It lacks guidance on delivery status values or alternative tools, but the overall context is adequate for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all parameters are already documented. The description repeats these details and adds an example but does not clarify response_format, which is only in the schema. It adds marginal value beyond the structured schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Send a text message to a WhatsApp user.' This is a specific verb+resource combination that distinguishes it from sibling tools like whatsapp_send_image or whatsapp_send_template. The example further reinforces the core use case.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage through the title and summary but does not explicitly contrast with alternatives such as whatsapp_send_template or when to use image/document sends. The example gives a basic invocation pattern but no guidance on when this tool is preferred or deprecated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

whatsapp_update_business_profileUpdate WhatsApp Business ProfileA
Idempotent

Update the WhatsApp Business Profile fields.

Args:

  • about (string, optional): About text (max 139 chars)

  • address (string, optional): Business address

  • description (string, optional): Description (max 512 chars)

  • email (string, optional): Contact email

  • websites (string, optional): JSON array of website URLs

  • vertical (string, optional): Industry vertical

Returns: Confirmation of update.

ParametersJSON Schema
NameRequiredDescriptionDefault
aboutNoAbout text for the business profile
emailNoBusiness email address
addressNoBusiness address
verticalNoIndustry vertical (e.g. 'RETAIL', 'EDUCATION', 'HEALTH')
websitesNoJSON array of website URLs as a string. Example: '["https://example.com"]'
descriptionNoBusiness description
response_formatNoOutput format: 'markdown' for human-readable or 'json' for structured datamarkdown

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint=false, destructiveHint=false, and idempotentHint=true, so the safety profile is known. The description adds useful constraints (max lengths for about and description, websites as JSON array) and states the return is a confirmation of update. This additional detail complements the annotations without contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with an 'Args' section and a 'Returns' statement. It is concise, front-loaded with the main purpose, and every sentence provides useful information without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 7 optional parameters, all fully documented in the schema, and the description covers the return value and important constraints. Annotations provide safety and idempotency context. The description is complete enough for an agent to understand when and how to use the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents all parameters with descriptions and constraints. The description repeats the parameter list and adds brief constraints (e.g., max lengths, JSON array), but it does not materially add new meaning beyond what is in the schema. Baseline of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Update the WhatsApp Business Profile fields.' It uses a specific verb ('Update') and resource ('Business Profile'), and the list of fields makes the scope explicit. It distinguishes itself from the sibling tool whatsapp_get_business_profile by indicating it modifies rather than retrieves.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly indicates this tool is for updating profile fields and implies it should be used when those fields need modification. It does not explicitly state when not to use it or mention alternatives, but the sibling tool get_business_profile and the action word 'update' provide clear context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool targets a distinct action: one per message media type (text, image, document, location, contact, reaction, buttons, list), plus mark-as-read and profile/template management. No two tools overlap in purpose, even the interactive buttons and list messages are clearly differentiated by their payload structures.

Naming Consistency5/5

All tools follow a uniform 'whatsapp_verb_noun' pattern: send_text, send_image, get_business_profile, list_templates, etc. The snake_case convention is consistently applied, and verbs are descriptive and non-repetitive across the set.

Tool Count5/5

13 tools is well within the ideal range for a domain-focused server. The count reflects a comprehensive but not bloated surface: nine send methods, one acknowledgment, two profile operations, and one template listing. Each tool earns its place.

Completeness4/5

The core send capabilities are thorough (text, template, media, interactive), and profile management is covered with both get and update. Minor gaps exist: no video/audio send tools and no create/delete template operations, but these are peripheral to the primary send and profile workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues

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

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    Bridges 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.
    63
    23
    5
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to manage WhatsApp sessions, send multi-format messages, control group participants, and configure webhooks by wrapping the OpenWA REST API with 44 tools.
    44
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables Claude to interact with WhatsApp through a unified backend API, providing 20 tools for messaging, media, groups, contacts, and chat management.
    22
    34
    MIT

Latest Blog Posts

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/rukman7/whatsapp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server