Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

whatsapp_send_text

Send a plain WhatsApp text message within the 24-hour customer-service window; use a template when the window has closed.

Instructions

Send a plain WhatsApp text message. Only possible inside the 24h customer-service window (see whatsapp_send_template otherwise).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "to": "<to>",
      "body": "<body>"
    },
    "name": "whatsapp_send_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient phone number in E.164 (+55...) or wa_id
bodyYesMessage body. Up to 4096 chars.
preview_urlNoIf true, auto-generates link preview from URLs in body.
access_tokenNoOptional override for the access token (falls back to WHATSAPP_ACCESS_TOKEN env)
phone_number_idNoWhatsApp Business Phone Number ID (falls back to WHATSAPP_PHONE_NUMBER_ID env)
reply_to_message_idNowamid of the message being replied to (enables threading).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden; it does disclose the significant 24h messaging-window constraint that isn't in the schema. However it says nothing about auth requirements (access_token/phone_number_id fallbacks), rate limits, failure behavior outside the window, or what the call returns (e.g. a wamid), so coverage is partial.

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?

Two short sentences with the core constraint front-loaded and no wasted wording. Slightly terse given what remains undisclosed, but structure is clean.

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 6-parameter send tool with fully documented schema and no output schema, the description covers the critical operational constraint and the sibling fallback. It stops short of explaining the returned message identifier or how the token/phone_number_id overrides are resolved, which an agent would need for follow-up calls.

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% and every parameter already documents its own semantics (E.164 format, 4096-char limit, preview_url default, token overrides, reply threading). The description adds nothing parameter-specific, so 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?

States a specific verb and resource ("Send a plain WhatsApp text message") and the qualifier "plain" distinguishes it from the template and media siblings. An agent knows immediately this is the plain-text path within the WhatsApp family.

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

Usage Guidelines5/5

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

Gives an explicit when-not condition (only inside the 24h customer-service window) and names the alternative tool to use otherwise (whatsapp_send_template). This is exactly the routing information an agent needs to pick between the two.

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