Skip to main content
Glama
apple-mail-mcp

apple-mail-mcp

by sweetrb

move-message

Move a single message to another mailbox or folder by ID. Returns confirmation naming the destination mailbox.

Instructions

Use when: moving a single message (by id) into another mailbox/folder, e.g. archiving or filing. Returns: a confirmation naming the destination mailbox. Do not use when: moving several at once (use batch-move-messages) or deleting (use delete-message). Use list-mailboxes to confirm the destination name exists. Safety: moves a real message between folders — confirm the destination mailbox, and search-messages/list-messages first to confirm the id.

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": {
      "id": "<id>",
      "mailbox": "<mailbox>"
    },
    "name": "move-message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
accountNoAccount containing the destination mailbox
mailboxYes

Output Schema

NameRequiredDescriptionDefault
idNo
okNo
mailboxNo
countDeltaNo
verificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.16.1
    • changedOutput schema / properties / countDelta / items / properties / status / enum
      Previous value: -[
      -  "match",
      -  "over",
      -  "under",
      -  "unknown"
      -]New value: +[
      +  "match",
      +  "over",
      +  "unknown"
      +]
    • addedOutput schema / properties / countDelta / items / properties / unknownReason
      Added value: +{
      +  "enum": [
      +    "count-unreadable",
      +    "no-expectation",
      +    "count-did-not-move",
      +    "count-partial"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / verification
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "how": {
      +      "type": "string"
      +    },
      +    "verdict": {
      +      "enum": [
      +        "verified",
      +        "unverified"
      +      ],
      +      "type": "string"
      +    },
      +    "why": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "verdict"
      +  ],
      +  "type": "object"
      +}
  2. Changed3 schema fields changedv2.10.24
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / countDelta
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "account": {
      +        "type": "string"
      +      },
      +      "after": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "before": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "expected": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "mailbox": {
      +        "type": "string"
      +      },
      +      "note": {
      +        "type": "string"
      +      },
      +      "observed": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "status": {
      +        "enum": [
      +          "match",
      +          "over",
      +          "under",
      +          "unknown"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changedv2.10.8
    • changedOutput schema / additionalProperties
      Previous value: -falseNew value: +true
  4. First observedv2.6.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description goes further by stating this moves a real message between folders and advising confirmation of the destination mailbox and prior lookup of the id. It does not cover failure modes (e.g., destination missing, id already in the target folder), but it adds meaningful safety context beyond the annotations.

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?

Front-loaded with a clear 'Use when' statement and organized into Returns, 'Do not use when', and Safety sections. Slightly verbose for a three-parameter tool, but every sentence carries actionable guidance and nothing is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't explain return values, yet it still summarizes the confirmation response. Combined with annotations, schema, and explicit routing/safety guidance, an agent has everything needed to call this mutation correctly.

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 only 33%, so the description must compensate; it implies the id should come from search-messages/list-messages and the mailbox name should be verified via list-mailboxes, adding useful procedural meaning. However, the account parameter is not addressed in the description (only in the schema), and format details for id/mailbox are left to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — moving a single message by id into another mailbox/folder — and names the sibling alternatives (batch-move-messages, delete-message) it is not. An agent can distinguish this from batch-move-messages without opening any schema.

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

Usage Guidelines5/5

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

Explicit 'Use when' and 'Do not use when' sections name the exact conditions and route to alternatives (batch-move-messages for several, delete-message for deletion). It also adds a prerequisite step (list-mailboxes to confirm the destination name exists).

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