Skip to main content
Glama

mail2mail.link

Copy new mail now

resync_move

For a move that is done, attention or stopped (move_status: can_resync): copies the mail that arrived in the old mailbox since (for a stopped move: the rest of the copy, then new mail is copied for follow_days as after any move), with the stored passwords. Only adds messages to the new mailbox: nothing there is changed or deleted, messages copied before are not copied twice, and for a finished move folders the user deleted there are not filled again. Typical use: the user switched the address (MX records) after the copy or its follow-up ended. Optional follow_days keeps copying new mail afterwards for that many days. If a stored password is not accepted any more (e.g. the app password was deleted), the answer says so (needs_passwords): ask the user and call again with old_password / new_password. Then follow it with move_status (wait_seconds) until resyncing is false (for a stopped move: until status is done, attention, failed or stopped), 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": "resync_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesThe token returned by start_move.
follow_daysNoOptional: afterwards keep copying new mail for this many days (0 = off).
new_passwordNoOnly if the answer asked for it: the new mailbox's password (moves with one mailbox).
old_passwordNoOnly if the answer asked for it: the old mailbox's password (moves with one mailbox).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, the description discloses key behavior: it only adds messages to the new mailbox, nothing is changed or deleted, previously copied messages are not duplicated, and deleted folders are not refilled. It also explains password failure handling (needs_passwords, ask user, retry with old_password/new_password) and the required follow-up polling with move_status.

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?

The description is dense but substantive, with every sentence carrying operational detail. It is front-loaded with the condition and action, though the single long paragraph and nested parentheticals reduce readability slightly.

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?

Given the tool's complexity (resuming a move, optional password retries, follow-up polling) and the presence of an output schema, the description is complete. It covers normal behavior, failure cases, follow-up steps, and what to tell the user.

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?

With 100% schema description coverage, the baseline is 3, but the description adds useful conditional guidance: old_password and new_password are only supplied when the response asks for them, and follow_days controls copying new mail for a limited period. The token's source is also implied by 'start_move' 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?

The description uses a specific verb ('copies') and resource ('mail') and scopes the operation to moves in a particular state ('done, attention or stopped (move_status: can_resync)'). This distinguishes it from start_move and other siblings without relying on schema inspection.

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 clearly states when to use the tool: after a move's copy or follow-up has ended, typically when the user switched MX records. It also says to follow up with move_status until resyncing is false. However, it does not explicitly name alternatives such as retry_move or state when not to use this tool.

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