Skip to main content
Glama

send_sms

Send an SMS text message from your TextForAgents number.

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

Input Schema

NameRequiredDescriptionDefault
toYesDestination phone number in E.164 format, e.g. +18185550199.
bodyYesThe message text to send.
optimizeNoOpt in to normalization of outgoing text before metering.
media_urlsNoApproved MMS attachments as public HTTPS URLs.
from_numberNoYour TextForAgents number to send from; defaults to your account's assigned number.
idempotency_keyNoOptional caller-chosen idempotency key: retrying the send with the same key returns the original message instead of sending (and charging) again. A fresh key is generated when omitted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / media_urls
      Added value: +{
      +  "description": "Approved MMS attachments as public HTTPS URLs.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / optimize
      Added value: +{
      +  "description": "Opt in to normalization of outgoing text before metering.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about cost/charging, rate limits, delivery guarantees, or what happens on failure. The fact that sends are billable is only hinted at indirectly in the idempotency_key schema text, not in the description itself.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though the terseness is partly the cause of the missing usage and behavioral context scored elsewhere.

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

Completeness2/5

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

This is an unannotated, billable mutation with six parameters and no output schema, so the description should at least mention cost or delivery expectations. It provides none of that, leaving the agent dependent entirely on parameter-level text to understand the consequences of calling it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all six parameters are documented in the schema, including the charging/idempotency semantics that matter most. The description adds only the notion of sending from 'your TextForAgents number,' which lightly reinforces the from_number default already stated in the schema, so baseline 3 applies.

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?

States a specific verb and resource (send an SMS text message) plus the originating number, which is enough to distinguish it from sibling read tools like sms_history, sms_estimate, and read_inbox. It stops short of explicitly naming an alternative or contrasting itself with tfa.messages.send, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus cost-checking siblings such as sms_estimate or credit_status, nor any prerequisites (verified number, account credit, opt-in/consent requirements). An agent must infer all invocation context from the schema alone.

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