Skip to main content
Glama

move_messages

Destructive

Move specified email messages to a different mail folder and return their new IDs, since Exchange may change them.

Instructions

Move messages to another mail folder. Returns the new ids (Exchange may change them).

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": {
      "message_ids": "<message_ids>",
      "folder_id": "<folder_id>"
    },
    "name": "move_messages"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_idYes
message_idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. The description adds a genuinely non-obvious behavioral fact beyond that: the move returns new ids because Exchange may reassign them, which matters for any follow-up call. It does not cover partial-batch failure behavior or rate/size limits, keeping it below a 5.

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, front-loaded with the action and followed by the one return-value caveat that an agent actually needs. Nothing is wasted and there is no filler.

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 two-parameter mutation with no output schema, the description covers the outcome (new ids) but leaves parameter semantics entirely to an undocumented schema. It is adequately complete on behavior but incomplete on inputs.

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%, so the description carries the full burden for both parameters. It implies one target folder and a set of message ids but says nothing about id format, whether folder_id accepts well-known names or paths, or any cap on the message_ids array length.

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 mail folder.' The plural 'messages' plus the destination folder distinguishes it from move_folder, which moves a folder rather than its contents. It stops short of naming siblings or stating scope limits explicitly, so it is clear but not fully differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of alternatives (e.g., moving a whole folder vs. individual messages), and no prerequisites such as required permissions or whether messages can be moved across accounts. The agent must infer all selection criteria.

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