Skip to main content
Glama
Mail-MCP

Mail-MCP

by Rixtayz

Move messages

mail_move
Idempotent

Move up to 500 Outlook messages to a target folder by name, path, or ID for filing. Returns a mapping of old message IDs to the new IDs Outlook assigns after the move.

Instructions

Move one or more messages (up to 500 ids) to a folder (name, path or id). Used for filing. NOTE: Outlook assigns a new id to every moved message; the moved result maps old id → new id. To move every message from a sender, prefer mail_bulk_by_sender.

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": {
      "ids": "<ids>",
      "folder": "<folder>"
    },
    "name": "mail_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesMessage ids (1 to 500)
folderYesDestination folder

Output Schema

NameRequiredDescriptionDefault
movedNo
failedYes
succeededYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.2
    • removedInput schema / properties / ids / items / minLength
      Removed value: -1
    • addedInput schema / properties / ids / items / pattern
      Added value: +"^[A-Za-z0-9_=+/-]{16,512}$"
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare the safety profile (destructiveHint=false, idempotentHint=true), so the bar is lower, yet the description still adds non-obvious behavior: every moved message gets a new Outlook id and the `moved` result maps old id to new id. That is precisely the post-call state an agent needs and could not infer from annotations.

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?

Three tight sentences, front-loaded with the action and limits, then the id-remapping caveat, then the sibling routing. No filler and nothing repeated from the schema or annotations.

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?

An output schema exists, so return-shape detail is not required, and the description covers action, scope, folder addressing, id remapping, and an alternative tool. Remaining gaps are minor but real: whether the destination folder must already exist and what happens if only some of the up-to-500 ids fail.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline would be 3. The description earns above baseline by clarifying that `folder` accepts a name, a path, or an id — a meaningful disambiguation beyond the schema's bare 'Destination folder' — though it adds nothing about id format or partial-failure behavior for large batches.

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?

Specific verb plus resource plus scope, with the sibling it is not named.

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?

It routes the agent explicitly to an alternative with a trigger condition: 'To move every message from a sender, prefer mail_bulk_by_sender.' That is real selection guidance, but there is no when-not guidance (e.g. don't use this to delete/purge, or what to do if the destination folder is missing).

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