Skip to main content
Glama

send_message

Sends a rich or text message to a single recipient OR streams a zero-persistence bulk broadcast directly from a remote HTTPS CSV/JSONL URL across RCS and WhatsApp.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoText message content.
agentIdNoUnique ID of the agent profile. If omitted, uses active agent from context.
mediaUrlNoOptional image/video/PDF media URL.
recipientNoPhone number of the recipient in E.164 format (for single message send).
urlFormatNoFormat of contactsUrl file (default 'csv').csv
templateIdNoOptional template ID reference.
contactsUrlNoPre-signed HTTPS CSV or JSONL URL to stream contacts from with zero database persistence.
suggestionsNoOptional list of interactive suggestion buttons (max 4).
idempotencyKeyNoOptional client-generated unique key (up to 255 chars, e.g. UUID) to make retries safe. Reusing the same key with the same parameters within 24 hours returns the original result without sending a duplicate message.
allowSmsFallbackNoEnable SMS fallback for non-RCS handsets.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / idempotencyKey
      Added value: +{
      +  "description": "Optional client-generated unique key (up to 255 chars, e.g. UUID) to make retries safe. Reusing the same key with the same parameters within 24 hours returns the original result without sending a duplicate message.",
      +  "maxLength": 255,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose meaningful traits: zero-persistence streaming from a pre-signed HTTPS URL and multi-channel delivery across RCS and WhatsApp. It omits what the agent most needs for a send operation — whether delivery is synchronous, what happens on partial failure of a bulk broadcast, rate limits, permission/auth requirements, and what the call returns.

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?

A single sentence with no filler, and the core action and both operating modes are front-loaded before the channel list. Every clause carries information; nothing is repeated from the schema or title.

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

Completeness3/5

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

For a 10-parameter, dual-mode mutation tool with no annotations and no output schema, the description is thin: it does not state whether recipient and contactsUrl are mutually exclusive, what a broadcast returns or how progress is observed, or what preconditions (agent, template, session window) apply. It covers the what but not the operational context needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3, but the description adds real meaning beyond the schema by implying the mode split between 'recipient' (single send) and 'contactsUrl' (bulk stream). The schema documents those parameters individually but never states the relationship or that they select different operating modes.

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 gives a specific verb ('Sends') and resource (message) and clearly splits the tool into two modes: a single-recipient send and a streamed bulk broadcast from a CSV/JSONL URL, naming RCS and WhatsApp as the channels. It does not differentiate against plausible siblings such as create_campaign or trigger_flow, which an agent could confuse with the broadcast mode.

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 two modes are described in a way that implies when each applies (single recipient vs. streamed contacts URL), but there is no explicit when-to-use or when-not-to-use guidance, no exclusions, and no routing to alternative tools. The agent must infer mode selection from the description's wording rather than being told.

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