Skip to main content
Glama
Upload-Post

Upload-Post

Official

Send an SMS from an Upload-Post phone number

send_sms

Sends SMS from an active Upload-Post phone number after a preview and explicit approval, while blocking unsupported or opted-out recipients and enforcing usage limits.

Instructions

Send an SMS from one of the account's Upload-Post phone numbers (phone_numbers_read list: the number must be active and have sms_send: true). Billed per message part on the next subscription invoice. US and Canadian numbers cannot send SMS yet (403 sms_registration_required; they still receive), and some numbers have no SMS at all (403 sms_not_supported). Recipients who replied STOP cannot be messaged (409 recipient_opted_out); at most 10 messages per recipient per 24 h (429 sms_recipient_limit) and 1 per second per number (429 sms_rate_limited); spam, adult, gambling, drugs, crypto and loan content is refused (422 sms_content_blocked). Over the account's daily usage limit (429 phone_usage_daily_cap) sending stops until midnight UTC. Other errors: 403 phone_number_suspended, 409 phone_number_not_active. Replies arrive in phone_numbers_read messages and in the sms_received webhook. 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). Needs the user's approval: call it first without confirmed to get a preview (nothing is sent), show the user exactly what will go out, and repeat the call with confirmed: true only after they approve.

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": {
      "number_id": "<number_id>",
      "to": "<to>",
      "text": "<text>"
    },
    "name": "send_sms"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient in E.164, e.g. '+34600111222'.
textYesMessage text (up to 1600 characters; long texts go as several billed parts).
confirmedNoSet to true only after the user has seen the preview this tool returns without it and approved it. Without it nothing is sent.
number_idYesThe Upload-Post number to send from (`pn_...`).

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true; the description adds billing (per message part on next invoice), rate limits (10 per recipient per 24h, 1/sec per number), the preview-then-confirm approval gate, the GA gate (403 phone_numbers_not_available), and a full failure taxonomy with status codes. It also discloses side channels (replies land in phone_numbers_read messages and the sms_received webhook), which annotations cannot convey.

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 purpose and the approval workflow are front-loaded, which is right. But the middle is a single dense run-on catalog of error codes, content categories, and caps that would read far better as a structured list, and much of it is error-handling detail rather than selection-relevant 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 billed, rate-limited, approval-gated outbound messaging tool, the definition covers prerequisites, cost, limits, failure modes, and where replies appear; an output schema exists so return values need no explanation. There is no material gap an agent would need to close before calling it 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 100%, so all four parameters (including `confirmed`) are already documented. The description still adds meaning beyond the schema by stating that number_id must reference an active number with sms_send: true, and by framing `confirmed` as an approval gate rather than a plain flag. Only minor value-add over the schema, so not a 5.

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?

States a specific verb and resource ("Send an SMS from one of the account's Upload-Post phone numbers") and immediately constrains which numbers qualify (active, sms_send: true). An agent can distinguish this from siblings like send_dm or phone_numbers_read without opening any schema, and the receive path is explicitly named as separate.

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 the operational precondition (number must be active with sms_send true), extensive when-not conditions (US/Canadian numbers, unsupported numbers, opted-out recipients, daily cap, not-GA accounts), and the exact two-step approval flow: call without `confirmed` for a preview, show the user, then repeat with `confirmed: true`. That is explicit when-to-use, when-not-to-use, and how-to-call guidance rather than inferred context.

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