Skip to main content
Glama

mail2mail.link

Stop a move

cancel_move
Idempotent

Stops a move at once, only when the user asks for it. Everything copied so far stays in the new mailbox; nothing is deleted. The passwords leave memory; their encrypted copy stays until forget_move or 30 days after the last activity, so resync_move can pick up later. After the move has finished, it stops copying new mail (status stays done). Several moves: pass tokens.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cancel_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoThe token returned by start_move.
tokensNoSeveral moves at once: their tokens (instead of token, or in addition).

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=true), the description explains exactly what is preserved ('Everything copied so far stays in the new mailbox; nothing is deleted'), what happens to credentials, the 30-day retention window, and the no-op behavior on an already-finished move ('stops copying new mail; status stays done'). This is precisely the non-destructive, idempotent behavior an agent needs to confirm rather than infer.

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 key constraint and safety guarantee are front-loaded in the first two sentences, with lifecycle details following. It is dense but each clause carries information; the final multi-token sentence is the only one that largely duplicates schema content.

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?

With an output schema present, return values need no explanation here. The description covers the side effects, credential retention, post-completion behavior, and multi-move invocation, leaving no material ambiguity for a two-parameter cancellation tool.

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 both token and tokens are already documented with their relationship. The description's 'Several moves: pass tokens' restates the schema's own note about passing tokens instead of or in addition to token, adding no syntax or format detail beyond it.

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 opens with a specific verb and resource ('Stops a move at once') and immediately scopes it with a usage condition. It also distinguishes the operation from adjacent lifecycle tools by naming forget_move and resync_move, so an agent can tell it apart from siblings without inspecting schemas.

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?

'only when the user asks for it' is an explicit trigger condition, and the note that a cancelled move can be resumed via resync_move implies when to use this versus starting over. It does not directly contrast cancel_move against forget_move (which it only mentions as the credential-retention boundary), so a small inference remains.

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