Skip to main content
Glama
Apple Mail MCP Server

Apple Mail MCP Server

by tamm

archive_emails

Archive multiple emails by ID to remove them from the inbox while preserving them in All Mail or the archive folder; optionally specify an account or use auto-detection.

Instructions

Archive emails (remove from INBOX). Gmail: keeps in All Mail. Takes multiple IDs.

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": {
      "email_ids": "<email_ids>"
    },
    "name": "archive_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoAccount (default: auto-detect).
email_idsYesArray of email IDs to archive.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does disclose two useful traits: the message leaves INBOX but is retained in All Mail on Gmail, and the operation is batch. It omits permissions/auth requirements, reversibility, behavior for invalid or already-archived IDs, and batch limits.

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 terse fragments, front-loaded with the core verb and effect, with no wasted prose. The telegraphic style ('Takes multiple IDs.') is efficient but slightly clipped rather than fully structured.

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 simple two-parameter batch mutation, the description covers what the tool does, what the state change is, and the Gmail-specific retention behavior. Remaining gaps are the absence of any return-value or failure-mode hint, which is more notable because there is no output schema and no annotations.

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%, so both parameters are already documented, making 3 the baseline. The description reinforces batch semantics with 'Takes multiple IDs' but adds nothing about the account parameter or about ordering/limits on the ID array.

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 plus the actual effect: 'Archive emails (remove from INBOX)', and adds a provider-specific nuance for Gmail. It does not name a sibling (e.g. move_email) to distinguish itself from alternative relocation tools, so it stops short of a 5.

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?

The parenthetical 'remove from INBOX' implicitly tells the agent this is the archive operation rather than a mailbox move, but there is no explicit when-to-use or when-not-to-use guidance and no mention of move_email as the alternative for arbitrary destination moves. Usage must be inferred.

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