Skip to main content
Glama
icloud-mcp

icloud-mcp

by mcdscot

icloud_get_message

Read-only

Fetch one iCloud Mail message by UID to read its headers, text-converted body, and attachment list; optionally mark it read and limit body length.

Instructions

Read one message: headers, body as text (HTML converted), and the attachment list.

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

Input Schema

NameRequiredDescriptionDefault
uidYesMessage UID from icloud_search_messages.
mailboxNoMailbox name, e.g. 'INBOX', 'Archive', 'Sent Messages'. See icloud_list_mailboxes.INBOX
mark_readNoMark the message as read. Default leaves it unread.
max_charsNoTruncate the body to this many characters.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds genuinely useful behavior in noting that HTML is converted to text and that an attachment list is returned. It omits that body content may be truncated and that mark_read can change message state, which is the kind of side effect an agent should know about.

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?

A single well-formed sentence with the verb and returned payload front-loaded and no filler. It is perhaps a touch terse for a tool with four parameters, but nothing is wasted.

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?

An output schema exists, so return values need not be detailed, and all four parameters are fully described in the schema. For a read-only single-message fetch, the only real gap is the undisclosed mark_read side effect and truncation behavior.

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%, with each parameter (uid, mailbox, mark_read, max_chars) individually documented and cross-referenced to sibling tools. The description adds no per-parameter meaning beyond noting HTML-to-text conversion, 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?

"Read one message" gives a specific verb and resource, and the clause listing headers, converted body text, and attachments clarifies what a retrieval yields. It implicitly distinguishes itself from the search/list siblings by being single-message, but never names them explicitly.

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: an agent can infer this is the follow-up to a search that produced a UID, and the schema's uid description points at icloud_search_messages. There is no explicit statement of when to prefer this over alternatives or any preconditions.

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