Skip to main content
Glama

Send a message

send_message
Destructive

Sends an SMS or a Widely message into an existing thread, or to a phone number, a contact_id, or one saved contact. A name that matches more than one contact is refused. Pass conversation_id for a thread from search_messages, get_thread, or a shared chat. Omit it and pass to. Pro plan. Sending happens on this request.

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": {
      "text": "<text>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoPhone number, contact_id, or a saved contact name that matches one contact. A name that matches more than one contact is refused: pass the phone number or the contact_id. Omit it when conversation_id is set.
textYesMessage text.
identity_idNoOptional identity id when the grant is limited to specific numbers.
conversation_idNoExisting thread to send into. Use a conversation_id from search_messages, get_thread, or search_contacts shared chats. When this is set, to is ignored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "Existing thread to send into. Use a conversation_id from search_messages, get_thread, or search_contacts shared chats. When this is set, to is ignored.",
      +  "type": "string"
      +}
    • changedInput schema / properties / to / description
      Previous value: -"Phone number or saved contact name."New value: +"Phone number, contact_id, or a saved contact name that matches one contact. A name that matches more than one contact is refused: pass the phone number or the contact_id. Omit it when conversation_id is set."
    • addedInput schema / required
      Added value: +[
      +  "text"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / identity_id / description
      Previous value: -"Optional identity from list_identities, when the grant is limited to specific numbers."New value: +"Optional identity id when the grant is limited to specific numbers."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare destructive, non-idempotent, open-world behavior; the description adds value on top by stating 'Sending happens on this request' (immediate, real-world delivery, no draft/preview step) and the Pro plan gate, which annotations cannot express. It says nothing about cost or rate limits for SMS, which would matter for an outward-facing send.

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 purpose, then mode selection, then the plan gate — every sentence carries information and there is no filler. The clipped 'Pro plan.' fragment is slightly ambiguous in isolation and could read as a requirement statement rather than a terse label.

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 4-parameter send tool with no output schema, the description covers destination modes, id sourcing, ambiguity handling, and the plan prerequisite. What an agent would still want — whether delivery is confirmed synchronously and what identifiers come back — is not stated but is not required to call it correctly.

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 coverage is 100% and the `to` field already documents the phone/contact_id/name forms plus the multi-match refusal, so the description largely restates structured data. It does reinforce the mutually exclusive conversation_id vs to mode, but adds no format or edge-case detail the schema lacks.

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 concrete verb and resource ('Sends an SMS or a Widely message') and enumerates the four valid destinations (existing thread, phone number, contact_id, one saved contact). An agent can immediately separate this from read-side siblings like search_messages or get_thread.

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

Usage Guidelines4/5

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

Gives clear operational routing: pass conversation_id for a thread, otherwise omit it and pass `to`, and it names the sibling tools (search_messages, get_thread, search_contacts shared chats) that supply those ids. It also flags the Pro plan prerequisite. It stops short of stating when not to use the tool, but no competing send tool exists in the sibling list, so the gap is minor.

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.