Skip to main content
Glama

Sickle — every mailbox for your agent

Move emails

move_email
Idempotent

Move emails from one folder to another in the same account. Moving gives the emails new UIDs: the result lists their old UIDs as stale, and any UIDs the folder did not have. trash_email moves emails to the account's Trash folder without needing its name.

Input Schema

NameRequiredDescriptionDefault
uidsYesEmail UIDs to move
emailYesThe email account address
mailboxYesMailbox/folder the UIDs currently live in, e.g. "INBOX"
to_mailboxYesDestination mailbox name

Output Schema

NameRequiredDescriptionDefault
countYesHow many emails were moved: only those `from_mailbox` had.
stale_uidsYesThe UIDs the moved emails had in `from_mailbox`. They are no longer valid: moving gives the emails new UIDs. List `to_mailbox` to find them again.
to_mailboxYesThe folder they are in now. For trash_email, the account's Trash folder.
from_mailboxYesThe folder the emails were in.
missing_uidsYesUIDs `from_mailbox` did not have — already moved, or never there. Nothing was done for them; asking again for a move that already happened is not an error.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the key consequence that moved emails get new UIDs and that the result reports old UIDs as stale plus any UIDs the folder did not previously have. That result-shape detail is exactly what an agent needs to avoid reusing stale UIDs, and nothing contradicts the readOnly/destructive/idempotent hints.

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: purpose and scope first, then the behavioral consequence, then the alternative routing. Every sentence carries distinct information with no repetition.

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?

With annotations covering safety/idempotency and an output schema present, the description only needs the purpose, the UID-mutation caveat, and the trash alternative, all of which it supplies. Minor gaps remain, such as what happens if the destination mailbox doesn't exist or whether message flags are preserved, but nothing essential to invoking it correctly is missing.

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 in the schema and the description's job is limited. It adds only the implicit constraint that 'mailbox' and 'to_mailbox' must belong to the same account, and nothing about UID array semantics beyond the stale-UID note. Baseline 3 is appropriate.

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 ('Move emails from one folder to another') plus the scope constraint ('in the same account'), and explicitly contrasts with the sibling trash_email. An agent can distinguish it from trash_email without opening either schema.

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?

Names trash_email as the alternative when the destination is Trash and gives the condition (Trash's name isn't needed), and the 'same account' phrase implicitly excludes cross-account moves. No explicit when-not guidance beyond that, so not a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources