Skip to main content
Glama

mail2mail.link

Retry failed mailboxes

retry_move

For a finished move where some mailboxes failed or did not get everything copied and checked (move_status: can_retry, pairs[].retry), typically because a password was refused or a server refused messages or folders for a while: checks and copies those mailboxes again (messages that were not copied are tried again), with the stored passwords or the ones given. The other mailboxes are left alone (new mail of theirs keeps being copied). Like a re-sync it only adds messages to the new mailbox. If a password is missing or was refused, the answer says so (needs_passwords): ask the user for that password (move_status: pairs[].from/to.ready is false) and call again. With one failed mailbox use old_password / new_password; with several, passwords (one entry per mailbox, in the move's order; only the retried mailboxes are read). Then follow it with move_status (wait_seconds) until status is done or attention again, and tell the user the summary.

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": {
      "token": "<token>"
    },
    "name": "retry_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe token returned by start_move.
passwordsNoSeveral failed mailboxes: passwords per mailbox in the move's order; empty strings keep the stored ones.
new_passwordNoOnly if the answer asked for it: the failed mailbox's new password (one failed mailbox).
old_passwordNoOnly if the answer asked for it: the failed mailbox's old password (one failed mailbox).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, and the description is consistent with them while adding real context they cannot carry: only messages are added to the new mailbox, other mailboxes continue copying unaffected, stored passwords are reused unless supplied, and the needs_passwords failure path plus the ready=false marker are disclosed. That is the auth requirement and partial side-effect profile an agent needs before invoking a write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence conveys needed information, but the opening sentence is a long run-on with nested parentheticals that front-loads the precondition rather than the action, making the core operation harder to extract. It would benefit from splitting the condition, the action, the password handling, and the follow-up into separate lines.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a write tool with four parameters and an output schema, the description covers the precondition, the side effects, the credential requirement, the recovery path on failure, and the follow-up call. Return values need not be explained because an output schema exists, and nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description earns credit by explaining the branching rule the schema does not make obvious: old_password/new_password for a single failed mailbox versus passwords with one entry per mailbox in the move's order when several failed, and that only retried mailboxes' entries are read. It stops short of describing empty-string handling (that lives only in the schema).

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 action on a specific resource: re-check and re-copy the mailboxes that failed in a finished move, leaving other mailboxes untouched. It also scopes the precondition precisely (move_status: can_retry, pairs[].retry) and contrasts itself with resync_move, so an agent can distinguish it from that sibling 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 Guidelines5/5

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

Gives explicit when-to-use guidance (only after a finished move with failed mailboxes), what to do when the answer returns needs_passwords (ask the user, then call again), which password parameter applies for one vs several failed mailboxes, and the required follow-up call to move_status with wait_seconds until done or attention. This covers when, when-not, and the next step.

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