Skip to main content
Glama

Send an SMS

send_sms
Destructive

Send an SMS to a Czech or Slovak phone number, or to a number in one of the other countries listed on the pricing page (at that country's price per segment). Body up to 765 characters. By default it goes out under the shared sender name SMSinfo: sign your name in the message text, and recipients cannot reply to SMSinfo. With sender "volai" an SMS to a Czech (+420) number goes out under the name volai instead, at the same price per segment and with a delivery report in deliveryStatus; until the name is switched on for Czech numbers (it awaits approval by the operators) send_sms with sender returns sender_unavailable (HTTP 403): nothing is charged and retrying will not help, so send without sender. sender cannot be combined with fromNumber and does not reach Slovak numbers (invalid_sender, HTTP 400); to the other countries from the pricing page sender changes nothing: the message takes the same route as without it. With fromNumber (an active mobile number of this account, from list_sms_numbers) it goes out from your own number instead: only to Czech (+420) numbers, 1.90 CZK per segment, and replies sent to that number can be read with list_messages direction "in". fromNumber can also be an active calls and SMS number (from list_voice_sms_numbers): then it costs 1.79 CZK per segment, goes only to Czech (+420) numbers and carries no delivery report, and the daily cap below is shared by all numbers of the account. From a mobile number the daily cap is 20 messages per account during the first 30 days after the number was bought and 50 afterwards; once it is reached send_sms returns rate_limited, nothing is charged and retrying will not help until the 24-hour window ends (list_sms_numbers shows dailySendRemaining and dailySendResetsAt). An SMS sent from your mobile number, and an SMS to a country other than Czechia and Slovakia, carries a delivery report in deliveryStatus (delivered or undelivered) once the carrier reports; SMS from the shared sender to Czech and Slovak numbers have none (an SMS to a Czech number sent with sender "volai" has one). The account needs at least one credit top-up first: the welcome credit does not cover SMS, not even with a number of your own, and the call returns insufficient_credit. With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, this fails with spend_cap_reached (HTTP 402): nothing is charged and retrying will not help, so tell the customer, who can raise or remove the cap (set_spend_cap, clear_spend_cap) or wait for the next month. Same data as POST /v1/messages (API reference: https://volai.cz/en/docs/api; response schema: https://volai.cz/openapi.json).

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>",
      "body": "<body>"
    },
    "name": "send_sms"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination phone number in E.164 format, for example +420777123456. Without a country code it is read as a number of the account's country. Czech, Slovak and other listed countries are accepted; with fromNumber only Czech (+420) ones.
bodyYesMessage text, up to 765 characters. Under the shared sender SMSinfo, sign your name in the text.
senderNoOptional sender name, the only value is "volai": sends to a Czech (+420) number under the name volai instead of SMSinfo, same price, with a delivery report. Not with fromNumber, not to Slovak numbers. Returns sender_unavailable until the name is switched on.
fromNumberNoOptional mobile number or calls and SMS number of this account to send from, in E.164 format, as returned by list_sms_numbers or list_voice_sms_numbers. Omit it to use the shared sender SMSinfo. Works only with Czech (+420) recipients.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body / description
      Previous value: -"Message text, up to 765 characters. Under the shared sender SMSinfo, sign your name in the text - a custom sender name is not supported."New value: +"Message text, up to 765 characters. Under the shared sender SMSinfo, sign your name in the text."
    • addedInput schema / properties / sender
      Added value: +{
      +  "description": "Optional sender name, the only value is \"volai\": sends to a Czech (+420) number under the name volai instead of SMSinfo, same price, with a delivery report. Not with fromNumber, not to Slovak numbers. Returns sender_unavailable until the name is switched on.",
      +  "enum": [
      +    "volai"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive/openWorld/non-idempotent, and the description adds far more: per-segment prices (1.90 vs 1.79 CZK), a 20/50-per-day cap with a 24-hour reset window, the requirement for at least one paid top-up because welcome credit does not cover SMS, and the exact error semantics of sender_unavailable (403), invalid_sender (400), rate_limited, insufficient_credit and spend_cap_reached (402) — including that failures are not charged and retrying will not help.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Almost every sentence carries real operational information, but it is delivered as one dense paragraph with no separation between the sender, fromNumber, rate-limit and billing sections, forcing the agent to parse long nested clauses. The repeated "nothing is charged and retrying will not help" scaffolding across three error cases adds bulk that could be stated once.

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?

For a mutation tool with four parameters, no output schema and open-world side effects, the description covers cost, caps, error codes, delivery-report presence per route, credit prerequisites and post-failure remediation — enough for an agent to decide and call correctly without guessing.

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 coverage is 100%, so the schema baseline already documents each parameter; the description nonetheless adds cross-parameter meaning the schema only hints at, such as sender being mutually exclusive with fromNumber, sender having no effect on non-Czech/Slovak destinations, and the different cost and delivery-report profile of a calls-and-SMS number versus a mobile number.

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?

The first clause names a specific verb and resource ("Send an SMS") plus destination scope (Czech, Slovak, other listed countries with per-segment pricing) and body limit. It is immediately distinguishable from send_voice_message and from the listing tools it references (list_sms_numbers, list_voice_sms_numbers).

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 explicit when-to-use/when-not guidance for each optional parameter: use the shared sender SMSinfo by default, use sender "volai" only for Czech numbers and only once approval lands (otherwise send without sender), use fromNumber only for Czech recipients and only with an active number, and it states which combinations are invalid. It also routes failures to remediation (raise the cap via set_spend_cap/clear_spend_cap, check list_sms_numbers for dailySendRemaining).

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.