Skip to main content
Glama

messages_send

Send iMessage or SMS messages to phone numbers, Apple ID emails, or existing chat IDs; preview and confirm group or multi-recipient sends before delivery.

Instructions

Send an iMessage or SMS. Address it with 'to' (E.164 phone numbers like +15551234567, or Apple ID emails) or with 'chat_id' (a chat GUID from chat.db, e.g. 'iMessage;-;+15551234567' or 'iMessage;+;chat123456'). Group chats and multiple recipients require confirm=true. Dashes used as punctuation (em dash, en dash, a spaced hyphen) are rewritten as commas or words before anything is written; hyphens inside names and identifiers stay.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "messages_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoPhone numbers in E.164 form or Apple ID emails
textNoMessage text (required unless attachment_path is given)
chat_idNoExisting chat GUID; verified against the Messages database before sending
confirmNoRequired for deletes and multi-recipient sends; without it the call only previews
dry_runNoPreview only: report what would happen and change nothing (default false)
serviceNoDelivery service (default auto: iMessage, then SMS relay)
attachment_pathNoAbsolute path to an existing file on this Mac to attach

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.8

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose a real side effect not present in the schema: dash-like punctuation is rewritten to commas or words before writing. It also flags that lacking confirm yields a preview rather than a send. It omits the environmental prerequisites (Messages.app running, Full Disk Access for chat_id verification) and delivery-failure behavior.

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 dense paragraph that front-loads the action, then addressing rules, then the confirm condition, then the punctuation-rewrite caveat. Every sentence carries information; the punctuation-rewrite clause is long but genuinely necessary.

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 seven-parameter mutation tool with no annotations and no output schema, the description covers addressing, the confirm gate, and a non-obvious formatting mutation. The remaining gap is what a call actually returns (message id, preview shape) and permission prerequisites, which an agent would need to reason about failures.

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%, so all seven parameters are already documented, which sets the baseline at 3. The description does add concrete chat GUID examples ('iMessage;-;+15551234567') and restates the E.164 format, but it adds little meaning for confirm, dry_run, service, or attachment_path beyond the schema.

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 and resource ('Send an iMessage or SMS') and immediately scopes it with two addressing modes. Against siblings like messages_search, messages_conversation, or mail_send, an agent can tell instantly that this is the outbound messaging action.

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 context: address via 'to' (E.164 or Apple ID) or 'chat_id', and use confirm=true for group chats or multiple recipients. It does not name an alternative tool or state when-not to use this one (e.g., replying within an existing thread vs. a new send), so it stops short of full 5-level routing guidance.

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