Skip to main content
Glama
mail-mcp

mail-mcp

by spencer-fs

move_messages

Move email messages from one folder to an existing destination folder and return their new UIDs in that destination.

Instructions

Move messages to another folder. Returns their new uids in the destination.

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": {
      "folder": "<folder>",
      "uidvalidity": "<uidvalidity>",
      "uids": "<uids>",
      "destination": "<destination>"
    },
    "name": "move_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
uidsYesuids from search_messages, all from this one folder.
folderYesFolder name exactly as list_folders or search_messages returned it.
destinationYesExisting folder to move the messages into.
uidvalidityYesThe uidvalidity that search_messages returned for this folder.

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?

Annotations already declare non-read-only, non-destructive, non-idempotent, closed-world behavior. The description adds a genuinely useful behavioral fact the annotations do not carry — that the new destination uids are returned — which matters since there is no output schema. It stops short of covering partial-failure behavior, flag preservation, or whether the source copy is removed.

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?

Two short sentences, front-loaded with the action and followed by the return contract; nothing is padded. Slightly under-specified rather than verbose.

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?

All four parameters are required and fully described by the schema, and the description covers the return value in lieu of an output schema. For a cross-folder mutation, however, it leaves out failure/partial-move semantics and confirmation that the source messages are removed, which an agent would want before calling.

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 100%, so all four parameters are already documented with guidance on sourcing folder names and uidvalidity. The description adds no syntax, format, or constraint detail beyond that, which matches the baseline 3 for fully covered schemas.

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?

Specific verb plus resource: 'Move messages to another folder', with a second sentence on the return value. It is clearly distinct from search/delete siblings, though it does not explicitly name an alternative to contrast with.

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 purpose implies when to use it (relocating existing messages rather than deleting or copying), but there is no explicit when/when-not guidance, no note that the source folder loses the messages, and no prerequisite callouts such as needing a valid uidvalidity from search_messages.

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