Skip to main content
Glama

Send a WhatsApp text message

bridge_send_text

Send a text message from a connected number. Free-form text only reaches people who messaged that number in the last 24 hours; otherwise use bridge_send_template. This sends a real message.

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>",
      "text": "<text>"
    },
    "name": "bridge_send_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient phone in international format without + (e.g. 60123456789) or a BSUID.
textYesMessage text.
waba_idYesWhatsApp Business Account ID registered to your partner account (see bridge_list_numbers).
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

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the description's role is smaller; it still adds real value with the 24-hour messaging-window constraint and the emphatic 'This sends a real message' warning that the call has external side effects. It does not mention what the response contains or common failure modes (e.g. window expiry, unregistered number), which keeps it short of a 5.

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: capability, constraint plus alternative, and a consequence warning, ordered with the most decision-relevant information first. No redundant restatement of the name or 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?

With no output schema and no annotations covering the sending policy, the description carries the key behavioral rule (24-hour window) and the real-send warning, which is what an agent needs to choose correctly. It omits return-value and error behavior, a minor gap given the fully described input schema.

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 every parameter including idempotency_key and biz_opaque_callback_data is already documented in detail. The description adds no parameter-level meaning beyond the schema, which is the baseline 3 case.

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 text message from a connected number') and explicitly distinguishes itself from the sibling bridge_send_template by naming the free-form-vs-template boundary. An agent can select this over the template tool without inspecting either schema.

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 eligibility rule for when this tool works (recipients who messaged the number in the last 24 hours) and names the alternative to use otherwise ('otherwise use bridge_send_template'). This is a complete when/when-not/alternative routing statement.

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.