Skip to main content
Glama
macos-mcp
by jbkjr

get_message_attachment

Retrieve metadata for a specific message attachment by ID, including its file path, to locate and identify attached files.

Instructions

Get metadata for a specific message attachment by ID, including file path

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": {
      "id": "<id>"
    },
    "name": "get_message_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe unique identifier of the attachment

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden. It does add one genuinely useful signal — that this returns metadata including a file path rather than the attachment content itself — but it says nothing about permissions, whether the path is local or remote, or what happens when the ID is unknown.

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?

One sentence, front-loaded with the verb and resource, with the return-content qualifier ('including file path') tacked on where it matters. No filler or redundancy.

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 one-parameter read tool with 100% schema coverage and no output schema, the description covers what it does and roughly what comes back. The missing piece is any hint about the metadata shape or how to obtain the attachment ID, but that is a minor gap at this complexity level.

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?

The single parameter is fully documented in the schema ('The unique identifier of the attachment'), so the baseline is 3. The description's 'by ID' adds only a restatement of that scope, no format or sourcing guidance beyond the schema.

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?

The description names a specific verb and resource ('Get metadata for a specific message attachment by ID') and scopes it to a single attachment, which implicitly separates it from the plural list_message_attachments sibling. It stops short of naming any sibling explicitly, so differentiation relies on the agent noticing the singular/plural distinction.

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 only implied: the 'by ID' phrasing signals this is the lookup path once an attachment ID is known, but the description never states when to prefer this over list_message_attachments or get_message, nor any prerequisite for obtaining the ID. Adequate but with a clear routing gap.

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