Skip to main content
Glama
jetapi

jetapi-mcp-server

Official
by jetapi

Send message

send_message

Deliver text messages to one person or group via WhatsApp, Telegram, SMS, VK/OK, or MAX, with cascade fallback, scheduling, and priority options.

Instructions

Send a text message via WhatsApp, Telegram (tdlib), Telegram Bot, SMS, VK/OK (notify), or MAX (max), with optional cascade fallback between channels. Supports scheduling, priority, reply-to, typing simulation, and delivery callbacks.

Use it when the user asks to text, message, notify or reply to one person or group chat. For many phone numbers use send_bulk; for documents, images, audio or video use send_file.

Recipient: phone is required, except for personal Telegram (dispatch_routing ["tdlib"]) where username or tdlib_user_id can be used instead, and WhatsApp where whatsapp_lid can be used.

Returns the delivery ID for get_delivery_status and delete_delivery.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesMessage text. Max 3500 chars for messengers, 160 for one SMS segment in Latin characters.
phoneNoRecipient phone in international format, e.g. 79991234567. Optional if username/tdlib_user_id is used for tdlib.
priorityNoSending priority. Chosen automatically if omitted.
usernameNoTelegram username (format: username or @username). tdlib only.
utm_markNoLabel for tracking dispatches (see get_utm_tags).
external_idNoYour client-side ID for this message (idempotency ID).
sender_nameNoRegistered SMS sender name (see get_balance → sender names).
callback_urlNoURL that receives the final delivery status as a POST request (retried every 2 minutes, up to 10 times, until it returns HTTP 200).
scheduled_atNoDelayed sending time, format YYYY-MM-DD HH:MM:SS in UTC+0. At least 1 minute and at most 1 month ahead.
whatsapp_lidNoWhatsApp LID. Format: 43445322325 or 43445322325@lid. WhatsApp only.
tdlib_user_idNoTelegram user ID (positive = private chat, negative = group chat). tdlib channel only.
simulate_typingNoDefault true: show a typing indicator in WhatsApp before sending. false sends instantly.
dispatch_routingNoChannels in the order JetAPI should try them (cascade: the next channel is used only if delivery through the previous one fails). whatsapp = WhatsApp, tdlib = personal Telegram account, telegram = Telegram Bot, notify = VK/OK, max = MAX messenger, sms = SMS. If omitted, the account's default routing is used.
reply_to_message_idNoID of the message to reply to, taken from an incoming-message webhook.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already indicate this is a mutating, non-idempotent operation, and the description adds genuinely useful behavioral context: channel fallback order, scheduling, typing simulation, delivery callbacks, and the resulting delivery ID. It clearly explains recipient selection rules across channels, which goes beyond what the annotations alone convey.

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?

The description is compact and front-loaded: the first sentence summarizes capabilities, the second gives usage guidance, and the third covers recipient edge cases and return value. Every sentence contributes distinct information without redundancy or filler.

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?

Despite having 14 parameters and no output schema, the description covers the essential contextual gaps: when to use it, what channels are involved, how recipient identification works, and what the tool returns (delivery ID for get_delivery_status/delete_delivery). The rich per-parameter schema descriptions handle the remaining details, so nothing critical is missing.

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 is 3, but the description adds important relational semantics: phone is required except for tdlib (username/tdlib_user_id) and WhatsApp (whatsapp_lid). It also explains dispatch_routing as an ordered cascade and clarifies the meanings of channel names beyond the enum labels.

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 ('send') and resource ('text message') with an explicit list of supported channels and a cascade fallback behavior. It explicitly differentiates from siblings by calling out send_bulk for many phone numbers and send_file for media, so an agent can tell them apart immediately.

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?

Provides an explicit when-to-use rule: 'Use it when the user asks to text, message, notify or reply to one person or group chat.' It also names the alternatives for other cases ('For many phone numbers use send_bulk; for documents, images, audio or video use send_file'), leaving no ambiguity about routing conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.