Skip to main content
Glama

Send Text

send_text

Text a client (comms scope). Pass dry_run=true to preview without sending. US/Canada numbers only unless the account has other countries switched on, and each account has a daily and monthly text limit (lower in its first month) — a 429 with code sms_daily_cap / sms_monthly_cap / sms_international means nothing was sent. Texts go out from the account's OWN texting number: a 409 sms_no_number means it has none yet — call setup_texting_number first.

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": {
      "body": "<body>"
    },
    "name": "send_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe recipient — an email address or phone number, per the tool.
bodyYesThe message or email body (HTML or text, per the tool).
dry_runNoIf true, preview the result without sending or saving anything.
client_idNoA client's id (from search or list_clients).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"The message or email body (HTML or text, per the tool)."
    • addedInput schema / properties / client_id / description
      Added value: +"A client's id (from search or list_clients)."
    • addedInput schema / properties / dry_run / description
      Added value: +"If true, preview the result without sending or saving anything."
    • addedInput schema / properties / to / description
      Added value: +"The recipient — an email address or phone number, per the tool."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only say it is not read-only and is open-world; the description adds the substantive behavior — per-account daily/monthly caps (lower in month one), geographic eligibility, and the guarantee that a 429 means nothing was sent. Documenting the failure codes and their side-effect status is exactly the context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the action, then the preview option, then limits, then the missing-number remedy — a sensible priority order. The packing of three error codes into one em-dash clause makes it dense but nothing is genuinely redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a non-idempotent, side-effecting send tool with no output schema, it covers the risky paths (rate caps, international block, missing number) and the safe preview mode. It stops short of saying what a successful response contains (e.g., message id) or whether a repeat call double-sends, which would matter given idempotentHint=false.

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 the baseline is 3; the description earns above that by constraining `to` to US/Canada phone numbers (the schema ambiguously allows email or phone) and by framing dry_run as a send-suppressing preview. client_id and body receive no added meaning, keeping it short of 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?

Opens with a specific verb+resource ("Text a client") plus scope note, and the word "Text" plus "texting number" cleanly separates it from send_email and the other send_* siblings. An agent can tell what this does without opening the schema.

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?

Explicitly tells the agent to pass dry_run=true to preview, and routes the agent to setup_texting_number when a 409 sms_no_number occurs. It also states the country restriction that selects whether the call is even valid, which is real when/when-not guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources