sms
v1.4.0Real SIM numbers for AI agents: SMS verification, rentals, proxies, cloud browser, x402 deposits.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
virtualsms_list_proxy_catalog List Proxy Catalog
List available proxy pool types, countries, and price-per-GB. Use this before buying proxy traffic.
virtualsms_list_proxies List My Proxies
List all proxies on your account with remaining GB and login credentials. Returns proxy_id values for use with get_proxy_usage, rotate_proxy, set_proxy_targeting, and generate_proxy_endpoint.
virtualsms_buy_proxy Buy Proxy GB
Purchase proxy traffic (GB) for a selected pool type. Returns proxy credentials and remaining balance. country_code here is only a soft preference for provisioning. For actual per-connection targeting (country/state/city/zip/asn) or a ready-to-use connection string, use virtualsms_generate_proxy_endpoint after buying. To persist a default targeting on the sub-user, use virtualsms_set_proxy_targeting.
| Parameter | Type | Description |
|---|---|---|
gb * | number | Amount of traffic to add in GB |
pool_type * | string | Pool type: residential, residential_premium, mobile, datacenter |
country_code | string | Optional ISO-2 country preference (e.g. us, gb) |
idempotency_key | string | Optional key for safe retries without double charges |
virtualsms_rotate_proxy Rotate Proxy IP
Request a fresh IP for an existing proxy. Useful when an endpoint flags the current exit IP.
| Parameter | Type | Description |
|---|---|---|
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
port | number | Optional proxy port. Defaults to rotating HTTP port. |
virtualsms_get_proxy_usage Get Proxy Usage
Get cached GB used/remaining and request count for one proxy. Cheap, no upstream call. Reads a cached value refreshed every ~5 minutes.
| Parameter | Type | Description |
|---|---|---|
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
virtualsms_get_proxy_usage_history Get Proxy Usage History
Get a per-day traffic (GB) and request-count series for one proxy over the last 7 or 30 days.
| Parameter | Type | Description |
|---|---|---|
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
range | string | History window (default: 7d) |
virtualsms_set_proxy_targeting Set Proxy Default Targeting
Persist a default geo-targeting (country, and optionally cities/ASNs) on an existing proxy sub-user. Country-only is free. Adding cities or ASNs bills the GB on your OWN allocation at 2x (not on residential_premium, where refined targeting is included free). This changes the STORED default. For a one-off connection string with any targeting (including state/zip), use virtualsms_generate_proxy_endpoint instead.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | ISO-2 country code (required) |
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
asns | array | Optional ASN numbers. Triggers 2x billing on non-premium pools |
cities | array | Optional city slugs. Triggers 2x billing on non-premium pools |
virtualsms_test_proxy Test Proxy Connectivity
Make one request through a proxy and report the exit IP, country, city, ISP, and latency. Proves the proxy works and which country it exits from. Consumes a small amount of the proxy's GB allocation. Rate-limited to about once per 20 seconds per proxy.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO-2 country to test the exit IP through (e.g. "us", "gb") |
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
protocol | string | Protocol to test (default: http) |
session | string | Connection session type (default: rotating) |
virtualsms_list_proxy_locations List Proxy Locations
List available cities, states, ASNs, or ZIP codes for a pool type + country. Use this to discover valid location_code values before calling virtualsms_generate_proxy_endpoint or virtualsms_set_proxy_targeting with sub-country targeting. Public endpoint, no purchase required. Not available for residential_premium (only residential, mobile, datacenter).
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO-2 country code (e.g. "US", "DE") |
kind * | string | Which location dimension to list |
pool_type * | string | Pool type |
virtualsms_generate_proxy_endpoint Generate Proxy Connection Endpoint
Build ready-to-use proxy connection string(s) for an owned proxy: country/state/city/zip/asn targeting, rotating or sticky session, HTTP or SOCKS5, in host:port:user:pass / user:pass@host:port / curl format. Nothing is purchased or changed server-side. This only composes a connection string from the proxy's existing credentials (same convention as the VirtualSMS dashboard's endpoint generator). Sub-country targeting (state/city/zip/asn) bills the proxy's own GB at 2x on non-premium pools, free on residential_premium.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | ISO-2 country to target (e.g. "us", "gb") |
proxy_id * | string | Proxy ID returned by list_proxies or buy_proxy |
count | number | How many endpoint strings to generate (default: 1) |
format | string | Output string format (default: host:port:user:pass) |
location_code | string | Location value matching target_by. Required when target_by is not "country" |
protocol | string | Proxy protocol (default: HTTP) |
session | string | rotating = new IP per connection (default). sticky = holds one IP per generated endpoint. |
sticky_ttl_minutes | number | How long a sticky session holds its IP, in minutes (default: 10) |
target_by | string | Refinement level (default: country) |
virtualsms_start_manual_registration_session Start Manual Registration Session
Beta, invite-only. Start a country-matched cloud browser you drive yourself: returns a viewer_url, an authenticated live-viewer link you open to watch and drive the session (manual takeover), plus optional order phone number and timeline. Agent-driven navigation is the separate opt-in session tools. Pair with create_order for OTP + browser in one agent flow.
| Parameter | Type | Description |
|---|---|---|
country | string | ISO-2 country for proxy match |
device_mode | string | Viewport profile |
mode | string | Session attach mode |
order_id | string | Activation order UUID to attach |
prep_preset | string | Prep preset |
run_prep | boolean | Run prep after start |
service_name | string | Service hint (telegram, whatsapp, …) |
target_url | string | URL for generic prep |
with_proxy | boolean | Attach matching VSMS proxy |
virtualsms_list_services List Available Services
Get all available SMS verification services (Telegram, WhatsApp, Google, etc.). Use this to discover valid service codes before buying a number.
| Parameter | Type | Description |
|---|---|---|
search | string | Filter services by name (optional) |
virtualsms_list_countries List Available Countries
Get all available countries for SMS verification. Use this to discover valid country codes before buying a number.
| Parameter | Type | Description |
|---|---|---|
service | string | Filter countries available for a specific service (optional) |
virtualsms_get_price Check Service Price
Check the price and availability for a specific service + country combination. Always check price before buying to confirm availability.
| Parameter | Type | Description |
|---|---|---|
country * | string | Country ISO code (e.g. "US", "GB", "RU") |
service * | string | Service code (e.g. "telegram", "whatsapp", "google") |
virtualsms_get_balance Get Account Balance
Check your VirtualSMS account balance in USD. Requires VIRTUALSMS_API_KEY to be set.
| Parameter | Type | Description |
|---|---|---|
currency | string | Display balance in specific currency (default: USD) |
virtualsms_create_order Buy Virtual Number
Purchase a virtual phone number for SMS verification. Returns order_id and phone_number. Codes typically arrive within ~10-60 seconds after purchase. Use get_sms to poll for the verification code, or use wait_for_sms to block until it arrives.
| Parameter | Type | Description |
|---|---|---|
country * | string | Country ISO code (e.g. "US", "GB", "RU") |
service * | string | Service code (e.g. "telegram", "whatsapp", "google") |
virtualsms_get_sms Check SMS Code
Check if an SMS verification code has been received for an order. Returns status, phone_number, and (when delivered) messages[] array plus an extracted code. Poll this every 5-10 seconds after buying a number, or use wait_for_sms to block until delivery.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID returned from create_order |
virtualsms_cancel_order Cancel Order
Cancel an order and request a refund. Only works if no SMS has been received yet. Use this if the service is taking too long or you want to try a different number. **Cooldown:** cancel is only available 120 seconds after purchase. Check `cancel_available_at` on the order before calling. Calling earlier returns a `cooldown_active` error from this MCP server (no backend round-trip).
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID to cancel |
virtualsms_wait_for_sms Wait for SMS on Existing Order
Wait (block) until the SMS arrives on an existing order_id, or until timeout. Codes typically arrive within ~10-60 seconds. This call BLOCKS for up to timeout_seconds (default 60, max 600) before returning. Uses real-time WebSocket delivery with automatic polling fallback. Pass an order_id from create_order. To buy AND wait in one step, call create_order then this tool.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Existing order ID returned from create_order |
timeout_seconds | number | How long to wait for SMS in seconds (default: 60, min: 5, max: 600) |
virtualsms_find_cheapest Find Cheapest Countries
Find the cheapest countries for a given service, sorted by price. Returns available countries with prices and stock levels so you can pick the best deal.
| Parameter | Type | Description |
|---|---|---|
service * | string | Service code (e.g. "telegram", "whatsapp", "google") |
limit | number | Number of cheapest options to return (default: 5) |
virtualsms_search_services Search Service by Name
Find the right service code using natural language. Don't know the exact code? Just search "uber", "binance", "steam" etc. Returns matching services with similarity scores.
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural language search query (e.g. "uber", "whatsapp", "binance") |
virtualsms_swap_number Swap Phone Number
Swap a phone number on an existing order. Gets a new number for the same service and country without additional charge. Use when the current number isn't receiving SMS. **Cooldown:** swap is only available 120 seconds after purchase. Check `swap_available_at` on the order before calling. Calling earlier returns a `cooldown_active` error from this MCP server (no backend round-trip).
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID to swap. Must be in waiting/created status with no SMS received |
virtualsms_list_orders List Active Orders
List your active orders. Essential for crash recovery. If your session was interrupted, use this to find pending orders and their phone numbers, then use get_sms to retrieve codes.
| Parameter | Type | Description |
|---|---|---|
status | string | Optional status filter: "pending", "sms_received", "cancelled", "completed" |
virtualsms_get_order Get Order Details
Get the full details of a specific order, including status, phone number, service, country, timestamps, and any received SMS code/text. Use this when you have an order_id and need the latest state beyond what get_sms returns.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID to retrieve full details for |
virtualsms_cancel_all_orders Cancel All Active Orders
Bulk-cancel every currently active order in your account. Returns the number of orders cancelled plus any failures. Useful for quick cleanup after a batch run or test session.
virtualsms_order_history Order History
List past orders with optional filters for status, service, country, and a lookback window in days. Returns up to 50 orders (server cap) ordered most-recent-first.
| Parameter | Type | Description |
|---|---|---|
country | string | Optional country ISO code filter (e.g. "US", "GB") |
limit | number | Max orders to return (default: 20, server cap: 50) |
service | string | Optional service code filter (e.g. "telegram", "whatsapp") |
since_days | number | Only include orders from the last N days |
status | string | Optional status filter: "completed", "cancelled", "expired", "sms_received", "waiting" |
virtualsms_get_stats Get Account Stats
Account usage stats aggregated from your order history: total orders, success rate, total spend, top services/countries, and status breakdown over a configurable lookback window.
| Parameter | Type | Description |
|---|---|---|
since_days | number | Window in days for activity stats (default: 30) |
virtualsms_get_profile Get Account Profile
Full account profile: email, Telegram link status, current balance, lifetime spend, total orders, active API keys, and account creation date.
virtualsms_get_transactions Get Transaction History
Transaction history for the account with optional filters for type, date range, and pagination. Types: "deposit", "purchase", "refund", "admin_credit".
| Parameter | Type | Description |
|---|---|---|
from | string | Lower bound on created_at: RFC3339 or YYYY-MM-DD |
limit | number | Max transactions (1-200, default: 50) |
offset | number | Pagination offset (default: 0) |
to | string | Upper bound on created_at: RFC3339 or YYYY-MM-DD |
type | string | Filter by type: "deposit", "purchase", "refund", "admin_credit" |
virtualsms_rentals_pricing List Rental Pricing Tiers
List all active rental pricing tiers (Full Access tier: local SIM inventory, durations and prices). This is a raw catalog dump and may list rows that are not purchasable today, so confirm against rentals_available (authoritative per country) before creating a rental. Use rentals_price for platform-tier (per-country, per-service) pricing instead.
virtualsms_rentals_available List Rental Country Availability
List countries with rental stock, available counts, and pricing. tier=full_access (default) shows local-SIM inventory; tier=platform shows countries available via our global supplier network (with per-country service counts and popular services). Use this before creating a rental.
| Parameter | Type | Description |
|---|---|---|
country | string | Optional ISO-2 country filter |
service | string | Optional service filter (full_access tier only) |
tier | string | Which tier to list (default: full_access) |
type | string | Optional full_access sub-type filter |
virtualsms_rentals_services List Platform-Tier Rental Services
List services available for platform-tier rental in a given country, with physical stock counts and retail price. Platform-tier rentals are locked to ONE chosen service per number. Use this to pick a valid service code before creating one.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | ISO-2 country code (e.g. "GR") |
duration_hours | number | Duration in hours (default: 24) |
virtualsms_rentals_price Get Platform-Tier Rental Price
Get the catalog-driven retail price for a (service, country, duration) platform-tier rental combo.
| Parameter | Type | Description |
|---|---|---|
country_code * | string | ISO-2 country code |
duration_hours * | number | Duration in hours |
service * | string | Service code |
virtualsms_create_rental Create Rental
Rent a phone number for an extended period (as opposed to a one-off number via create_order). Two tiers: "full_access" = local SIM inventory, works across ANY service on that number. "platform" = sourced via our global supplier network, locked to ONE chosen service, durations 1/3/7 days only. Both tiers carry the same refund terms: a full refund within 20 minutes of purchase and before the first SMS arrives. Check rentals_available and rentals_price/rentals_pricing first to confirm country/service/duration and cost.
| Parameter | Type | Description |
|---|---|---|
country * | string | ISO-2 country code |
duration_hours * | number | Duration in hours (platform tier: 24, 72, or 168 only) |
tier * | string | Rental tier |
auto_renew | boolean | full_access tier only. Auto-renew at expiry (default: false) |
service | string | Service code. Required for platform tier; optional for full_access |
virtualsms_list_rentals List My Rentals
List your rentals across both tiers, optionally filtered by status. Returns rental_id, tier, country, phone number, status, and expiry for each. Use get_rental for full detail on one.
| Parameter | Type | Description |
|---|---|---|
status | string | Optional status filter: "active", "cancelled", "completed", "expired", or "all" (default: "active") |
virtualsms_get_rental Get Rental Details
Get the full details of a specific rental by ID, including tier, phone number, country, service lock, status, expiry, and any received SMS. Use list_rentals first if you do not have the rental_id.
| Parameter | Type | Description |
|---|---|---|
rental_id * | string | Rental ID to retrieve |
virtualsms_extend_rental Extend Rental
Extend an active rental by an additional duration. Charges your balance at the current catalog price for that duration.
| Parameter | Type | Description |
|---|---|---|
duration_hours * | number | Additional duration in hours to add |
rental_id * | string | Rental ID to extend |
virtualsms_cancel_rental Cancel Rental
Cancel a rental for a full refund. Only eligible within 20 minutes of purchase AND before any SMS has been received. Works for either tier. Past that window a rental runs to its natural expiry.
| Parameter | Type | Description |
|---|---|---|
rental_id * | string | Rental ID to cancel |
virtualsms_retry_order Retry Order (Resend SMS)
Ask the provider to resend the SMS to the SAME phone number on an existing order (order must be in waiting/created status). Not all order types support this. Some providers only support swap_number instead, which returns a NEW number.
| Parameter | Type | Description |
|---|---|---|
order_id * | string | Order ID to retry |
virtualsms_check_number Check Phone Number
Public carrier + line-type lookup for an arbitrary E.164 phone number (mobile/landline/VoIP, spam risk). No API key required.
| Parameter | Type | Description |
|---|---|---|
number * | string | Phone number in E.164 format (e.g. "+447911123456") |