Skip to main content
Glama
andyjianzhou

imessage-send-mcp

by andyjianzhou

send_imessage

Send iMessages or SMS messages to any phone number or email address using the macOS Messages app.

Instructions

Send an iMessage or SMS via the macOS Messages app.

Args: recipient: Phone number in E.164 format (e.g. +14155551234) or an Apple ID email address. message: Text content to send. Newlines are preserved.

Returns: Confirmation string on success.

Raises: RuntimeError: If osascript exits non-zero (Messages not open, recipient not found, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recipientYes
messageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Without annotations, the description discloses that sending uses osascript, that success returns a confirmation string, and that errors occur if Messages is not open or recipient not found, offering good behavioral insight.

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

Conciseness5/5

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

The description is extremely concise, structured with clear Args, Returns, and Raises sections, with every sentence contributing essential information.

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

Completeness5/5

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

For a simple two-parameter tool with an output schema, the description covers purpose, parameters, return value, and errors, making it fully complete.

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

Parameters5/5

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

Despite 0% schema coverage, the description fully enriches both parameters: recipient format (E.164 or email) and message content (text with newlines preserved), far exceeding the bare 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?

The description clearly states the tool sends an iMessage or SMS via the macOS Messages app, specifying the action and resource with precision.

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?

Provides explicit format constraints for recipient (E.164 or email) and explains error conditions, but lacks explicit when-to-use or when-not-to-use guidance, though no siblings exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/andyjianzhou/imessage-send-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server