Skip to main content
Glama

send_file_message

Send a file from your local storage to any Messages recipient, including group chats, with an optional accompanying text message.

Instructions

Send a file attachment with Messages to a handle or chat id.

Args: recipient: Phone/email handle, or chat id when recipient_type is "chat" path: Existing local file path to send message: Optional text message to send before the file recipient_type: "handle" or "chat"

Returns: Structured JSON with send metadata or an error message.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
messageNo
recipientYes
recipient_typeNohandle

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations exist, so the description must cover behavioral traits. It explains parameters and return value but lacks details on destructive potential, permissions, file size limits, or what happens if the file does not exist. Minimal transparency beyond basic purpose.

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 concise with a one-line summary followed by structured Args and Returns sections. Front-loaded with the core purpose, every sentence adds value.

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?

Given 4 parameters, no annotations, and presence of an output schema, the description covers purpose, parameters, and return format. It misses details like prerequisites (e.g., Messages app running) or error handling specifics, but is generally complete for use.

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

Parameters4/5

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

Schema coverage is 0%, so description must compensate. It adds meaning by explaining each parameter: recipient as phone/email or chat id, path as existing local file, message as optional text, recipient_type as handle/chat. This is useful but still brief.

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 action ('Send a file attachment with Messages') and identifies the target resource ('handle or chat id'). It distinguishes from sibling tools like 'send_imessage' which sends text-only messages.

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?

The description provides clear context for when to use this tool (to send file attachments), but does not explicitly exclude text-only messages or mention alternative tools like 'send_imessage'. Still, the context is clear enough for an agent.

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/altic-dev/altic-mcp'

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