Skip to main content
Glama

whatsapp_send_template

Send an APPROVED WhatsApp template message (official Meta API connection only). This is the ONLY way to message a contact outside the 24-hour customer service window (24 h since the contact's last message to you); whatsapp_send fails there. Get the exact template name, language and variables from whatsapp_templates. components follows Meta's format, e.g. [{ "type": "body", "parameters": [{ "type": "text", "text": "Maria" }] }]. Result: { sent:true, id, delivery:"accepted_by_server" }; follow delivery with whatsapp_message_status. Meta bills template conversations to the account owner.

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>",
      "name": "<name>",
      "language": "<language>"
    },
    "name": "whatsapp_send_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
nameYes
accountNo
languageYes
componentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower, yet the description still adds real context: only approved templates work, the 24-hour window rule, the exact return shape, the follow-up tool for delivery tracking, and the billing consequence ('Meta bills template conversations to the account owner'). The remaining gap is that it does not explain the non-idempotent implication (duplicate sends on retry) or permission/verification prerequisites.

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?

Front-loads the capability and the exclusivity condition, then the parameter source, the components example, the result shape, and the billing note. Every sentence carries distinct operational information; nothing is redundant.

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?

Rich for a mutation tool with no output schema: it inlines the response shape and names the status-check sibling, and it discloses the billing side effect. It falls short only on the unexplained `account` and `to` semantics and on what happens on duplicate/failed sends.

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 0% across five parameters, so the description must compensate and partly does: it defines the exact JSON shape of `components` with a worked example and explains where to obtain `name`, `language` and variable values. However, `to` (phone number format/E.164) and the optional `account` parameter are never explained, leaving two of five parameters undocumented anywhere.

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 an APPROVED WhatsApp template message') plus the connection constraint ('official Meta API connection only'). The capitalized 'APPROVED' distinguishes it immediately from ordinary text sends in the sibling set.

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?

Explicitly gives the selecting condition — outside the 24-hour customer service window — and names the alternative that fails there ('whatsapp_send fails there'), plus routes the agent to whatsapp_templates for name/language/variables. The only weakness is that the referenced 'whatsapp_send' does not appear verbatim in the sibling list (which has whatsapp_send_text/whatsapp_send_media), but the condition itself is unambiguous.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.