Skip to main content
Glama

Order a calls and SMS number

order_voice_sms_number
Destructive

Order a calls and SMS number for this account: by default a Prague landline (+420 2xx) that makes and receives calls and sends and receives SMS, both directions. With country set to another country from list_voice_sms_countries you get a number in another country instead: it handles calls only, no SMS in or out, and the agent calls out from it only to the country of the number and to Czechia: to Czech numbers always, to its own country only once enabled for that country (see capabilities.outboundTo of the number); tell the user this and the number's kind before ordering. Call list_voice_sms_countries first and never offer or pass a country that is not in it; a country outside the offer returns country_not_offered (HTTP 400) and nothing is charged. If the country lists areas, ask the user which city they want and pass its id as area; without area you get the first one in the list. The number itself is assigned automatically from the operator's stock and cannot be chosen, so do not ask the user for a specific one. A Prague number is not active right away: it becomes active after registration with the operator, usually within 1 business day (at most 48 hours). A number in another country taken from volai's stock of pre-registered numbers is active right away; otherwise it becomes active within an hour where the country needs no registration, or usually within 1 business day and at most 3 business days (list_voice_sms_countries shows the activation of each country). Until it turns active, the number shows status awaiting_registration (poll list_voice_sms_numbers); until it is active it neither rings nor receives SMS. Nothing is charged at the order: the fee per 30-day period excluding VAT (49.00 CZK for a Prague number; for another country the monthlyFeeHal of that country from list_voice_sms_countries, fees differ by country) is charged from the credit balance only once the number turns active and again every 30 days (the paid period is not refunded on release); if the registration is rejected nothing is charged. Needs a first credit top-up (the welcome credit does not unlock it), and an account holds at most 2 numbers per country and 4 in total (Prague numbers and numbers in other countries together), counting an order that is still waiting for registration or for a number to be assigned. When voiceSmsNumber is null in the result, the order was accepted but has no number assigned: it continues in the background and is visible in pendingOrders of list_voice_sms_numbers, so do not order again. If an order fails, it disappears from pendingOrders without a number, nothing is charged and the account receives an e-mail; you can then order again. SMS sent from the number cost 1.79 CZK per segment, go only to Czech (+420) numbers and carry no delivery report; received SMS are free. Receiving was verified on the O2 network only, and delivery of messages from every sender, including verification codes, is not guaranteed. Tell the user the price and get explicit agreement first, then pass it as confirmedMonthlyFeeHal; a different amount is rejected and nothing is ordered. Route calls with set_voice_sms_number_routing once the number is active. After a timeout, an error or rate_limited, do not order again blindly: call list_voice_sms_numbers first, because an entry in pendingOrders or a number with status awaiting_registration means the order went through. An order that is still waiting for registration is cancelled with cancel_voice_sms_number; releasing an active number is not available over MCP (portal, or DELETE /v1/voice-sms-numbers/{e164}). If order_voice_sms_number or send_sms with fromNumber returns voice_sms_numbers_unavailable (403), this kind of number is not enabled for this account: do not retry; use a voice number for calls and a mobile number for SMS, or tell the user to contact podpora@volai.cz. Same data as POST /v1/voice-sms-numbers (response schema in /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": {
      "confirmedMonthlyFeeHal": "<confirmedMonthlyFeeHal>"
    },
    "name": "order_voice_sms_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
areaNoId of the city and area code, for a country that lists areas in list_voice_sms_countries, for example los-angeles-ca. Defaults to the first area in the list. Not accepted for a country without areas.
countryNoISO 3166-1 alpha-2 code in upper case of the country to order the number in, one of the countries from list_voice_sms_countries. Defaults to CZ (a Prague number). Required for any country other than CZ.
confirmedMonthlyFeeHalYesFee in hellers per 30-day period, excluding VAT, confirmed with the user: 4900 for a Prague number, otherwise the monthlyFeeHal of the chosen country from list_voice_sms_countries (fees differ by country). Any other value is rejected and nothing is ordered.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations (non-read-only, non-idempotent, open-world, destructive), the description discloses activation timing, statuses such as awaiting_registration, charging rules, credit prerequisites, account limits, pending-order behavior, SMS pricing and delivery limitations, and 403 handling. This is unusually rich behavioral context and is consistent with the annotations.

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?

The information is highly relevant, but it is delivered as one very long, dense paragraph with repetition around charging and pending orders. It is front-loaded with purpose and defaults, yet the lack of structure makes it harder to scan than necessary.

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 no output schema, the description explains the key response behaviors an agent must understand: voiceSmsNumber null, pendingOrders, activation status, failure behavior, and where to find the full response schema. It covers prerequisites, costs, limits, errors, and alternatives, making it complete for this complex ordering tool.

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 coverage is 100%, and the schema itself already documents country, area, and the exact confirmedMonthlyFeeHal rule. The description reinforces the workflow around those parameters but adds little parameter meaning beyond what the schema already provides, so the baseline 3 is appropriate.

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 description opens with a specific verb and resource: 'Order a calls and SMS number for this account.' It immediately distinguishes the default Prague landline from a number in another country and explains the differing call/SMS capabilities, so an agent can tell exactly what this tool does.

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?

It gives explicit procedural guidance: call list_voice_sms_countries first, never pass an unlisted country, ask the user for a city when areas exist, do not ask for a specific number, confirm the fee before ordering, and pass that amount as confirmedMonthlyFeeHal. It also covers recovery behavior after timeout, error, or rate_limited, and names cancel_voice_sms_number for pending orders and set_voice_sms_number_routing after activation.

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.