Skip to main content
Glama
apple-mail-mcp

apple-mail-mcp

by TrevorIkky

read_by_position

Reads full email bodies by mailbox position, where 1 is the newest, to quickly fetch messages in long threads such as Sent without timing out while locating by ID.

Instructions

Read full bodies by position in the mailbox, where 1 is the newest.

list_messages returns messages in this order. Prefer this on mailboxes with long quoted threads - Sent, typically - where locating a message by id is slow enough to time out.

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": {
      "account": "<account>",
      "positions": "<positions>"
    },
    "name": "read_by_position"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountYes
mailboxNoINBOX
max_charsNo
positionsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It discloses that bodies are returned in full, the ordering contract, and a real failure mode (id-based lookup timing out on long threads). It says nothing about truncation behavior, out-of-range positions, or default mailbox resolution, which matter for an unannotated read tool.

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?

Three short sentences, front-loaded with the core operation before the ordering note and the preference guidance. No filler, though the sentence about preferring it is somewhat convoluted with the mid-sentence aside '- Sent, typically -'.

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 structure need not be described. However, for a tool with two required parameters and a truncation parameter, the definition omits how multi-position reads batch results and whether max_chars can cut off body content — gaps an agent would need filled before relying on it.

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% across four parameters, so the description must compensate and largely does not. It clarifies only 'positions' (1-indexed, newest-first, matching list_messages order); 'account', 'mailbox' (default INBOX), and especially 'max_chars' (which implies body truncation at 20,000 chars by default) are left entirely to the bare schema titles.

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 full bodies by position in the mailbox') and fixes the indexing origin ('1 is the newest'), which is the key distinguishing detail. It implicitly contrasts with an id-based reader ('locating a message by id is slow enough to time out') but never names that sibling, so the differentiation is inferential rather than explicit.

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?

Gives a concrete condition for choosing this tool: mailboxes with long quoted threads, Sent typically, where id lookup can time out. It also names list_messages as the source of the position ordering, which is useful routing context. It stops short of saying when *not* to use it or naming the by-id alternative directly.

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