Skip to main content
Glama
Upload-Post

Upload-Post

Official

Read Upload-Post phone numbers, SMS, calls and codes

phone_numbers_read
Read-onlyIdempotent

Read Upload-Post phone number configuration, available numbers, KYC requirements, rented numbers, SMS/call history, verification codes, usage, and port-out details without making changes.

Instructions

Upload-Post phone numbers: real numbers the account rents from Upload-Post to receive SMS and calls, verify WhatsApp Business on them and, outside the US and Canada, send SMS. Changes nothing. config: whether the account can buy now (enabled, can_purchase, reason such as phone_numbers_paid_plan_required, phone_numbers_limit_reached or purchase_velocity), numbers_count / max_numbers, the countries on sale, and the current terms_version and terms_url that purchase_phone_number needs. countries: countries and number types on sale, cheapest first, with the monthly price in cents of the account's billing currency (currency: usd, eur or gbp, the same amount in each, e.g. $4 = 4 EUR = 4 GBP, which is what is charged). Prices vary by country and number type: 1.5 times our carrier's monthly cost for that number, rounded up to the next whole unit, at least 3 and at most 30 (numbers that would cost more are not offered): e.g. a carrier cost of 2.40 gives 3.60, so 4 per month; 7.30 gives 10.95, so 11. Always read the real price here or in search_available, needs_kyc (identity documents required), sms (can receive) and sms_send (can send). search_available (country required; number_type, area_code, locality, contains = digits the number must contain, sms: true = only numbers with SMS, limit 1-50, default 20): numbers that can be bought now with their monthly price in the billing currency. countries, search_available and purchases answer 409 phone_numbers_currency_unsupported when the account is billed in a currency phone numbers do not support. kyc_fields (country, number_type): the end_user fields every purchase needs and the extra requirements of that country and type (requirement_id, label, kind text | date | address | file). list (optional status, profile_username): the account's numbers, pending and active unless status says otherwise; each with id (pn_...), phone_number (E.164), country, number_type, features, status (pending_payment, pending_regulatory, active, regulatory_declined, failed, released, ported_out), suspended / abuse_review flags, monthly_cents and currency, voice settings, sms_send, whatsapp.verify_until, release_scheduled_at. get (number_id): one number. messages (number_id, limit 1-200 default 50, before = ISO date for older ones): inbound and outbound SMS, newest first, with any codes found. messages, calls, codes and usage answer 400 phone_numbers_invalid_request for an invalid date or limit. calls (number_id, limit, before): calls newest first (mode forward | voicemail | whatsapp_verify | missed), duration, voicemail transcript and a signed recording_url valid 1 hour. codes (number_id, since = ISO date): one-time codes (4-8 digits, also spoken in English, Spanish or Portuguese) found in SMS and call transcripts of the last 30 minutes; poll it every few seconds while the user verifies WhatsApp. usage (from, to: ISO dates, default this month so far): billable usage in the account's billing currency (currency), charged on the next subscription invoice (outbound SMS, forwarded minutes, recording and transcription; inbound minutes at cost; inbound SMS free): lines (number_id, phone_number, kind sms_outbound | forwarding | recording | transcription | inbound_minutes, quantity, unit, amount, billed, created_at), totals per kind { quantity, amount }, total, and today against the account's daily_cap; over the daily usage limit, outbound SMS, forwarding and recording stop until midnight UTC. port_out_info (number_id): what the user gives another carrier to move the number there (name and address as submitted, account number, the number); owner only, and only for the user who is moving it. Webhooks (opt-in, list them in webhook_events or a webhook subscription): sms_received, call_received, voicemail_received, phone_number_activated, phone_number_declined, phone_number_released, phone_number_port_out. Paid plans only (an active subscription with at least one paid invoice; trials and the Free plan get 402 phone_numbers_paid_plan_required with an upgrade_url to relay). These numbers cannot make outbound calls and can NEVER call emergency services (112 / 911). US and Canadian numbers receive SMS but cannot send SMS yet (403 sms_registration_required); some Spanish, German and Italian numbers have no SMS at all. Not generally available yet: the API answers 403 phone_numbers_not_available until phone numbers are available for the account (phone_numbers_read config answers enabled: false).

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": {
      "action": "<action>"
    },
    "name": "phone_numbers_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNousage: ISO date (default: now).
smsNosearch_available: true = only numbers that receive SMS.
fromNousage: ISO date (default: start of the month).
limitNosearch_available: 1-50 (default 20). messages / calls: 1-200 (default 50).
sinceNocodes: ISO date, only codes received after it.
actionYes
beforeNomessages / calls: ISO date, only older items (pagination).
statusNolist: only numbers in this status.
countryNosearch_available (required) and kyc_fields: ISO country code, e.g. 'ES'.
containsNosearch_available: digits the number must contain.
localityNosearch_available: city.
area_codeNosearch_available: national destination code (area code).
number_idNoget, messages, calls, codes, port_out_info: the number's id (`pn_...`).
number_typeNolocal (default), mobile or national. No toll-free numbers.
profile_usernameNolist: only numbers of this Upload-Post profile.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false, and openWorldHint, but the description adds substantial behavioral context: 'Changes nothing,' pricing in billing currency, daily usage caps, recording_url validity of 1 hour, codes only from the last 30 minutes, 400/402/403/409 error conditions, regional SMS limitations, and the emergency-call prohibition. This is far beyond what the annotations provide.

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 description is front-loaded and organized by action, but it is a very long dense paragraph that includes pricing arithmetic examples, webhook event names, and emergency-service warnings. With 11 actions some length is justified, yet it could be tightened and split into clearer action-level sections without losing necessary meaning.

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?

Given 11 actions, 15 parameters, high schema coverage, and an output schema, the description is highly complete. It covers plan restrictions, error codes, currency limitations, regional SMS constraints, billing caps, webhook events, and action-specific behavior so an agent can invoke the tool correctly.

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 93%, so the schema already documents most parameters. The description still adds action-specific meaning: before is for older-item pagination, since limits codes to a date, contains must be digits, status filters by number state, and limit has different ranges for search_available versus messages/calls. It also clarifies number_type excludes toll-free numbers and that country is required for search_available.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The title and opening state a read-only multi-action tool for Upload-Post phone numbers, SMS, calls, and codes, and the description enumerates all 11 actions. It distinguishes config/search_available from purchase_phone_number by noting the terms needed for purchase, though it does not explicitly differentiate from manage_phone_number, release_phone_number, or send_sms.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives clear context for each action: use config to check purchase readiness, countries/search_available for prices, codes polling while verifying WhatsApp, and usage for billing. It points to purchase_phone_number for buying and notes paid-plan and availability constraints, but lacks explicit when-not-to-use guidance against other read/write siblings such as manage_phone_number or release_phone_number.

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

Deploy Server

Other Tools