Skip to main content
Glama

Social media studio

Send WhatsApp Template

send_whatsapp_template
Destructive

Send a WhatsApp template message to a recipient

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": {
      "accountId": "<accountId>",
      "to": "<to>",
      "templateName": "<templateName>",
      "languageCode": "<languageCode>"
    },
    "name": "send_whatsapp_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient phone number in E.164 format
accountIdYesWhatsApp social account UUID (or WABA provider ID)
componentsNoTemplate variable components
languageCodeYesTemplate language code
templateNameYesTemplate name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already flag readOnlyHint=false, openWorldHint=true and destructiveHint=true, so the safety profile is declared. The description adds nothing beyond that: it does not say the message is delivered to a real external recipient and cannot be recalled, nor mention rate limits, WhatsApp messaging-window rules, or failure modes for unapproved templates.

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?

A single short sentence with zero filler and the core action front-loaded. It is efficient, though its brevity is partly under-specification rather than disciplined concision.

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

Completeness2/5

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

This is an irreversible, open-world outbound messaging action with four required parameters and no output schema, so the description should carry the delivery semantics and preconditions. It supplies none, leaving the agent to guess about approval state, delivery confirmation, and error behavior.

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 five parameters (to, accountId, templateName, languageCode, components) are already documented in the input schema. The description adds no extra meaning about the 'to' format, component variable ordering, or account resolution, so baseline 3 applies.

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

Purpose4/5

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

The description states a specific verb (Send) and resource (WhatsApp template message) plus the target (a recipient), which is enough to separate it from create_whatsapp_template, get_whatsapp_template, and list_whatsapp_templates. However, it does not name or contrast itself with any sibling, leaving the differentiation implicit.

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?

There is no when-to-use guidance: the description never states prerequisites (the template must exist and be approved, languageCode must match the template), nor when an agent should prefer this over send_ticket_message or render_template. An agent must infer all selection logic from the name alone.

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.

Resources