ToolDescriptionSide Effects
list_countriesList available countriesRead-only
list_servicesList available servicesRead-only
order_numberOrder a virtual phone numberReserves balance
check_smsCheck activation status / get SMS codeRead-only
retry_activationRequest another SMS on same numberFree
cancel_activationCancel activation, release numberRefunds balance

list_countries

Returns available countries with their IDs. Use the country_id when calling order_number. IDs ending with _v indicate virtual numbers only.

Parameters: none


list_services

Returns available service categories with their IDs. Use the service_id when calling order_number. The other service covers categories not explicitly listed.

Parameters: none


order_number

Rent a virtual phone number for the given country and service. Returns a phone number and activation_id. Accepts human-readable names (“United States”, “Telegram”) — auto-resolved to IDs.

ParameterTypeRequiredDescription
countrystringCountry name or ID (e.g. "United States", "us")
servicestringService name or ID (e.g. "Telegram", "wa")
max_priceintegerMaximum price in USD cents. Protects against price changes.
quality_factorinteger (0–100)0 = cheapest, 50 = balanced (default), 100 = highest quality

Use check_sms to poll for the SMS or check once on demand.


check_sms

Retrieve the current state of an activation — SMS text, parsed code, status, and expiration.

ParameterTypeRequiredDescription
activation_idstringActivation ID returned by order_number

retry_activation

Request an additional SMS on the same phone number. Free of charge. Only possible when is_retriable is true and activation is still active.

ParameterTypeRequiredDescription
activation_idstringActivation ID to retry

Use check_sms to poll for the new SMS or check once on demand.


cancel_activation

Cancel an active activation and release the phone number. The reserved amount is refunded. Only possible before SMS is received and after the cancelable_after timestamp has passed.

ParameterTypeRequiredDescription
activation_idstringActivation ID to cancel