Skip to main content
Glama

Send one text to many recipients

send_batch
Destructive

Send the same text to up to 25 recipients in one call. Each recipient has its own result and costs one message. If the connection, quota or rate limit stops the run, remaining recipients are skipped; try them after that issue is resolved.

With pacing on, every batch message waits the full configured gap. This includes known contacts and replies. Accepted messages return queued with their own scheduledAt, then leave one at a time, 15–25 minutes apart by default. The gap is measured from actual release, so an overdue queue cannot leave in a burst. If the number disconnects or is restricted, messages that have not left stay queued until it reconnects. Watch message.sent for WhatsApp's ids and GET /v1/queue for what is waiting. skipQueue: true or disabling pacing bypasses that spacing, so you must space those sends yourself. Paid plans only.

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

Input Schema

NameRequiredDescriptionDefault
toYesRecipients, up to 25. Each gets its own message; no duplicates.
fromNoWhich of your WhatsApp numbers sends this: its id or its phone number. Optional: with a single connected number it is resolved for you.
textYesThe message body, the same for everyone.
humanizeNoWhether to come online, read the recipient's last message and show a typing indicator before sending. On by default, which adds a few seconds. false skips those steps, not the send queue. Configure each part per number with update_number.
skipQueueNoSend immediately instead of waiting in this number's queue. Only for a message the recipient expects right now, such as a login code or a confirmation they requested. This bypasses the configured spacing, so using it for outreach can create bursts and increase the risk of a ban. Default: off.
idempotencyKeyNoYour own unique id for this call, such as a UUID. If the call fails with no answer, call again with the same key: it runs once, and the retry gets the first answer back. Answers are kept for 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: per-recipient results, one-message cost per recipient, skipped recipients on connection/quota/rate-limit failure, pacing defaults of 15–25 minutes, queue release behavior, and skipQueue burst/ban risk. This is exactly the operational context an agent needs for a destructive, open-world send tool.

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?

Front-loads the core batch action in the first sentence and uses bold emphasis for the critical pacing warning. It is dense and somewhat long, but the length is justified by the tool's queueing and failure-handling complexity.

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

Completeness5/5

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

Complete for a complex batch-send tool: covers recipient limits, failure handling, pacing, queue behavior, skipQueue bypass, plan restrictions, and where to observe results. Although there is no output schema, it describes statuses such as queued and scheduledAt plus message.sent monitoring.

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 parameter meaning is already fully documented in the schema. The description reinforces skipQueue and pacing consequences, but does not add much parameter-level syntax or semantics beyond what the schema provides.

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, resource, and scope: 'Send the same text to up to 25 recipients in one call.' The batch scope clearly distinguishes it from single-recipient send tools without needing to name a sibling.

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

Usage Guidelines4/5

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

Provides clear operational guidance: paid plans only, pacing behavior, and when skipQueue is appropriate ('a message the recipient expects right now'). It does not explicitly compare against single-send siblings, but the batch context is clear.

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