Skip to main content
Glama
macos-mcp
by jbkjr

list_message_attachments

List iMessage/SMS attachments by chat or message ID, returning metadata and file paths; read each file separately to access its contents.

Instructions

List attachments from iMessage/SMS messages. Returns metadata including file paths - files must be read separately.

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": "list_message_attachments"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of attachments to return (default: 50)
chatIdNoFilter attachments by chat ID
messageIdNoFilter attachments by message ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description must carry the behavioral burden. It does disclose an important trait — the tool returns only metadata and file paths, not file contents — but says nothing about ordering, pagination beyond the limit parameter, permissions, or whether the operation is read-only.

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?

Two short sentences with zero filler; the core purpose is front-loaded and the caveat about reading files separately follows immediately. Nothing could be cut without losing information.

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

Completeness3/5

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

For a simple three-optional-parameter list tool with no annotations and no output schema, the description covers purpose and the key return caveat. It stops short of describing the returned metadata fields or result ordering, which an agent would need to chain into attachment retrieval reliably.

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 three parameters (limit, chatId, messageId) are already documented in the schema. The description adds no filter syntax, precedence between chatId and messageId, or default-limit detail beyond what the schema states, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('List attachments from iMessage/SMS messages') and scopes the source data clearly. It does not name sibling tools such as get_message_attachment, but the phrase 'files must be read separately' distinguishes listing from retrieval well enough for an agent to act.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: an agent learns this tool enumerates attachments and that reading file contents requires a separate call, which is a useful routing hint. However, no alternative is named explicitly and there is no guidance on when to prefer chatId vs messageId filtering.

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