Skip to main content
Glama
mcp-icloud
by ak1tnk

mail_read

Read an iCloud Mail message and list its attachments by mailbox and UID, optionally marking it as read and limiting returned characters.

Instructions

Read a message and list its attachments. Optionally mark it read.

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": {
      "mailbox": "<mailbox>",
      "uid": "<uid>"
    },
    "name": "mail_read"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidYes
mailboxYes
mark_readNo
max_charsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description does carry the key behavioral fact that there is an optional side effect (marking the message read), which is creditable. However it omits permission requirements, whether reading is non-destructive by default, and what truncation means for the returned body.

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

Conciseness4/5

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

Two short sentences, front-loaded with the primary action and no filler. It is efficient, though the terseness is partly what leaves parameters undocumented.

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?

An output schema exists, so return-value explanation is not required. Still, for a 4-parameter tool with zero schema descriptions, leaving mailbox/uid conventions and max_chars truncation behavior unstated is a real gap for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate and largely does not. It implies mark_read's purpose via "optionally mark it read", but mailbox, uid format, and especially max_chars (which governs body truncation) are left entirely unexplained.

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 ("Read a message") plus two concrete secondary behaviors (list attachments, optionally mark read). An agent can tell this apart from mail_search or mail_download_attachment, though the description never names those alternatives.

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

Usage Guidelines2/5

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

No explicit when-to-use or when-not-to-use guidance. It does not say whether mail_search should be used first to obtain the uid, or how this differs from mail_download_attachment for retrieving attachment content.

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