Skip to main content
Glama
adamzaidi

icloud-mcp

by adamzaidi

list_attachments

View email attachment details including filename, type, size, and ID without downloading files. Use this tool to preview attachments in iCloud Mail before accessing them.

Instructions

List all attachments in an email without downloading them. Returns filename, MIME type, size, and IMAP part ID for each attachment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uidYesEmail UID
mailboxNoMailbox name (default INBOX)
Behavior4/5

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

With no annotations provided, the description carries the full burden and effectively discloses the return structure (filename, MIME type, size, IMAP part ID) and the non-destructive, read-only nature of the operation. It could improve by mentioning behavior when no attachments exist.

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 efficiently structured sentences with zero waste: first establishes the action and key behavioral constraint (no download), second specifies return fields. Information is front-loaded and dense.

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 the absence of an output schema, the description appropriately enumerates the returned fields for each attachment. For a 2-parameter tool with complete schema coverage, this is sufficient, though explicitly stating it returns an array would be ideal.

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 input schema has 100% description coverage ('Email UID', 'Mailbox name'), meeting the baseline. The description adds context by stating these parameters identify 'an email' but does not elaborate on UID format or mailbox naming conventions 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?

The description clearly states the specific action (List) and resource (attachments), and distinguishes from sibling tool 'get_attachment' by emphasizing 'without downloading them', clarifying this is a metadata-only operation.

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 phrase 'without downloading them' implicitly guides the agent to use this for metadata inspection versus 'get_attachment' for content retrieval. However, it lacks explicit 'when not to use' guidance or prerequisites (e.g., requiring the email UID to 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/adamzaidi/icloud-mcp'

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