Skip to main content
Glama

Send a WhatsApp template message

bridge_send_template

Send an approved template (works outside the 24-hour window). components follows the Meta Cloud API format. This sends a real message and Meta may charge for it.

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": {
      "waba_id": "<waba_id>",
      "to": "<to>",
      "name": "<name>",
      "language": "<language>"
    },
    "name": "bridge_send_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient phone in international format without +.
nameYesTemplate name.
waba_idYesWhatsApp Business Account ID registered to your partner account (see bridge_list_numbers).
languageYesTemplate language code, e.g. en_US, ms.
componentsNoOptional Meta template components (header/body/button parameters).
idempotency_keyNoOptional Idempotency-Key (1-255 chars). Reuse the same key when retrying the same message: a repeat with the same key and body within 24 hours returns the original response and does not send again.
biz_opaque_callback_dataNoOptional biz_opaque_callback_data: your own reference (order id, ticket id), max 512 chars. Meta returns it on every status webhook of this message as data.biz_opaque_callback_data.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / biz_opaque_callback_data
      Added value: +{
      +  "description": "Optional biz_opaque_callback_data: your own reference (order id, ticket id), max 512 chars. Meta returns it on every status webhook of this message as data.biz_opaque_callback_data.",
      +  "maxLength": 512,
      +  "type": "string"
      +}
    • addedInput schema / properties / idempotency_key
      Added value: +{
      +  "description": "Optional Idempotency-Key (1-255 chars). Reuse the same key when retrying the same message: a repeat with the same key and body within 24 hours returns the original response and does not send again.",
      +  "maxLength": 255,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, open-world, non-destructive), so the description earns credit for adding two things an agent would otherwise miss: the template must be pre-approved, and Meta may bill for the send. It does not address idempotency behavior or what a successful response contains.

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?

Three short sentences, each doing distinct work: scope and channel constraint first, the tricky parameter format second, the cost/irreversibility warning last. No filler or restatement of the title.

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 seven-parameter write tool with rich schema docs and no output schema, the description covers the critical facts: approval prerequisite, window semantics, component format, and billing. A brief note on what success returns (message id usable for status tracking) would close the remaining gap.

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 all seven parameters are already documented, including the idempotency_key and callback-data semantics. The description adds one genuinely useful hint on the most complex parameter (components follows the Meta Cloud API format) but nothing else beyond the schema, so the baseline 3 holds.

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?

"Send an approved template" names a specific verb and resource, and the parenthetical "works outside the 24-hour window" implicitly separates it from free-form senders like bridge_send_text. It never names a sibling tool outright, so the differentiation is inferable rather than stated.

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 24-hour-window note gives a real condition for choosing a template over a plain text message, but there is no explicit when-to-use/when-not statement and no named alternative (e.g. bridge_send_text for in-window free-form, bridge_list_templates to discover names).

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.