Skip to main content
Glama
iCloud Mail MCP server

iCloud Mail MCP server

by lachsmith

Get message

get_message
Read-only

Retrieve a single iCloud Mail message by UID to view its headers, plain-text body, and attachments; quoted reply history is excluded unless include_quoted is true.

Instructions

Returns one message: headers, plain-text body and attachment list. Quoted reply history is removed unless include_quoted is true.

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

Input Schema

NameRequiredDescriptionDefault
uidYesMessage uid from search_messages.
mailboxNoINBOX
include_quotedNoKeep quoted earlier messages in the body.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. Beyond that, the description discloses the non-obvious default that quoted reply history is stripped unless include_quoted is true, and it describes the return shape (headers, plain-text body, attachment list) in the absence of an output schema.

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, zero filler, with the primary outcome stated first and the conditional caveat second. Every sentence carries information an agent would otherwise have to guess.

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 single-record read tool with no output schema, the description covers return contents and the one surprising behavioral default. It is slightly incomplete in not explaining the mailbox parameter or what happens with an invalid or nonexistent uid.

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 coverage is 67% and the uid parameter is already documented as coming from search_messages. The description restates the include_quoted behavior that the schema also documents, and says nothing about the mailbox parameter (default INBOX), so it adds little meaning beyond the structured fields.

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 ("Returns one message") and enumerates what is returned: headers, plain-text body and attachment list. This clearly separates it from list-style siblings like search_messages, though it does not explicitly name an alternative such as get_thread.

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 by "Returns one message" plus the schema note that the uid comes from search_messages, so an agent can infer the search-then-fetch flow. However, there is no explicit statement of when to prefer this over get_thread for conversation context, and no prerequisites or error conditions are given.

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