Skip to main content
Glama
Upload-Post

Upload-Post

Official

Set up an Upload-Post phone number: calls and WhatsApp verification

manage_phone_number
Idempotent

Set up call forwarding, voicemail, recording, transcription, and WhatsApp Business on an Upload-Post phone number to control how incoming calls are handled.

Instructions

Settings of one of the account's active Upload-Post phone numbers. update_voice (only what you send changes): forward_to = a phone number to forward incoming calls to ('tel:+E164' or '+E164'; null stops forwarding), only geographic or mobile numbers in the number's country or the end user's country (400 phone_numbers_forward_country_not_allowed); forwarded calls show the Upload-Post number as caller ID; at most 60 minutes per call and 4 hours per 24 h per number. voicemail_enabled, voicemail_greeting (up to 500 characters), recording_enabled, transcription_enabled, transcription_language (en, es, pt, fr, de, it). Voicemail always tells the caller the call is recorded and transcribed; with recording off, calls are only logged as missed. prepare_whatsapp (language, default en): connect WhatsApp Business on this number. There are no pre-verified numbers: for the next 30 minutes calls to the number are answered, recorded (up to 90 s) and transcribed so the code Meta reads out shows up. Steps: 1) prepare_whatsapp; 2) the user opens the WhatsApp connection (get_connect_link with platforms ['whatsapp']), adds this number in Meta's window and chooses Phone call (not SMS) to receive the code; 3) poll phone_numbers_read codes every few seconds and give the user the code to type in Meta's window. 409 phone_number_not_active, 403 phone_number_suspended. These numbers cannot make outbound calls or call emergency services (112 / 911). 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>",
      "number_id": "<number_id>"
    },
    "name": "manage_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
languageNoprepare_whatsapp: the language Meta's call is expected in (default en).
number_idYesUpload-Post id of the number (`pn_...`), from phone_numbers_read `list`.
forward_toNoupdate_voice: 'tel:+34600111222' (or '+34600111222'); null stops forwarding.
recording_enabledNoupdate_voice.
voicemail_enabledNoupdate_voice.
voicemail_greetingNoupdate_voice: greeting read to callers.
transcription_enabledNoupdate_voice.
transcription_languageNoupdate_voice: language of the transcripts.

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (idempotent, non-destructive, open-world), the description discloses constraint details that annotations cannot: forward_to country restrictions with the 400 phone_numbers_forward_country_not_allowed code, 60-minute-per-call and 4-hour-per-24h forwarding limits, caller-ID behavior, mandatory recording/transcription disclosure to callers, the 30-minute/90-second verification window, and 409/403 failure codes. This is exactly the operational context an agent needs before mutating settings.

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?

All content is substantive, but it is delivered as one dense block mixing update_voice semantics, WhatsApp setup steps, error codes, limitations, and availability caveats with no paragraph breaks or ordering cues. Splitting the two actions into labeled sections would make the guidance far easier to scan without losing information.

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 two-action mutation tool with nine parameters, the description covers inputs, preconditions, sequencing with siblings, failure modes, and hard limits. An output schema exists, so return values need no explanation here, and nothing required to invoke the tool correctly appears to be missing.

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 already 89%, so the schema documents most parameters; the description still adds value with the partial-update rule ('only what you send changes'), the accepted tel:+E164 format and null-to-stop semantics, the 500-character greeting limit, and the default language for prepare_whatsapp. It does reiterate the transcription_language enum, which the schema already carries.

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 description names the resource (an active Upload-Post phone number's settings) and the two concrete actions, update_voice and prepare_whatsapp, matching the action enum. The opening sentence is a noun phrase ('Settings of one of the account's active...') rather than a verb-led statement of purpose, so the agent must read further to learn what it actually does, but the actions are unambiguous once reached.

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 routing: prepare_whatsapp is for connecting WhatsApp Business and requires the numbered three-step sequence that names sibling tools (get_connect_link with platforms ['whatsapp'], polling phone_numbers_read `codes`). It also states the non-availability condition (403 phone_numbers_not_available, config enabled: false), which tells the agent when not to call.

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