Skip to main content
Glama
mail-mcp

mail-mcp

move_message

Destructive

Moves selected email messages by UID to an existing destination folder such as Trash or Archive; requires allow_modify enabled for the account.

Instructions

Move messages to another existing folder (name or alias such as trash, archive). Requires allow_modify = true for the account.

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>",
      "uids": "<uids>",
      "destination": "<destination>"
    },
    "name": "move_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYes
folderNoINBOX
accountYes
destinationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a destructive, non-read-only, open-world mutation; the description adds genuinely new context by disclosing the account-level allow_modify prerequisite and the constraint that the destination must be an existing folder (no implicit folder creation). It stops short of saying what happens on partial failure across multiple UIDs or whether the move is reversible.

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 with the core action first and the precondition second; every clause carries information and nothing is padded.

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?

For a destructive multi-message mutation with no output schema and undocumented parameters, the description covers the action and permission gate but omits the meaning of the 'folder' parameter, multi-UID failure semantics, and error behavior for a nonexistent destination.

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 carry the load. It only clarifies 'destination' (folder name or alias) and leaves 'account' and 'uids' unexplained, and critically never disambiguates the 'folder' parameter, which defaults to INBOX and could be read as either the source folder or the target.

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 ('Move messages to another existing folder') and clarifies the destination may be given as a name or alias such as trash/archive. An agent can tell this apart from read-only siblings like get_message or mark_read, though the description does not explicitly contrast against a copy-style alternative.

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 the essential preconditions: the destination folder must already exist, and the account must have allow_modify = true. It does not state what to do instead when allow_modify is false or when a folder does not exist, but there is no obvious sibling alternative to route to.

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