Skip to main content
Glama

Send a text

send_sms
Destructive

Send a text message from one of the organization's RevDesk lines. Both numbers must be E.164 (+14155550123). Use list_phone_numbers to find a valid 'from' number. Use this for a number that has no conversation yet; to answer an existing customer use reply_to_conversation, which picks the line for you. The customer receives it right away. Ask the user to confirm before calling this tool.

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>",
      "from": "<from>",
      "message": "<message>"
    },
    "name": "send_sms"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesDestination number in E.164 format
fromYesOne of the account's RevDesk numbers, E.164
messageYesMessage body
workspace_idNoLeave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization."New value: +"Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace."
  2. Changed1 schema field changed
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "description": "Act in one of this organization's workspaces (id from list_workspaces or create_workspace). Leave empty to act in the connected organization.",
      +  "format": "uuid",
      +  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, openWorldHint=true and non-idempotent, so the safety profile is known. The description adds behavior those annotations cannot convey: the message reaches the customer immediately (irreversible external effect), the sending line must belong to the account, and human confirmation is required before the call. This is meaningful context beyond the structured fields.

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?

Five short sentences, each doing routing or safety work, with the core purpose front-loaded. Slight redundancy in restating the E.164 requirement that the schema pattern already enforces keeps it from a 5.

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?

Covers everything needed to call it correctly for a mutation tool with external side effects: line sourcing, alternative tool, confirmation, and timing of delivery. With no output schema, it could still say what a successful send returns (e.g. a message id), which is the one remaining gap.

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 four parameters including workspace_id are already documented in the schema, making 3 the baseline. The description adds only two pieces of meaning beyond that: 'from' should be sourced via list_phone_numbers, and E.164 syntax is reiterated (already enforced by the schema pattern).

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 a text message from one of the organization's RevDesk lines") plus the scope constraint on the sending line, and explicitly names the sibling reply_to_conversation as the alternative. An agent can tell it apart from reply_to_conversation and list_phone_numbers without opening any 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?

Gives explicit routing rules: use list_phone_numbers to obtain a valid 'from', use this tool only when no conversation exists yet, and use reply_to_conversation when answering an existing customer. It also adds a procedural precondition, "Ask the user to confirm before calling this tool."

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