Skip to main content
Glama
mcp-synology

mcp-synology

move_files

Destructive

Move files or folders into an existing destination folder, removing them from their sources. By default, skip and list name conflicts unless overwrite is enabled.

Instructions

Move files or folders into a destination folder; a folder moves with everything in it, and the sources are removed. To keep the sources, use copy_files. dest_folder must already exist; it isn't created. With overwrite=false (default), items whose name is already at the destination are skipped, listed and left at the source. With overwrite=true, two sources that would replace each other are refused, and a replaced file may not be in the recycle bin. If any source is missing, nothing is moved. A whole shared folder (/video), recycle bin or user's home folder (/homes/<user>) is refused as a source: move its items by path. A long move keeps running on the NAS and returns a handle for file_task. While this user's running task is landing the same name there, the call is refused if either one replaces. That can miss another account's task or a start at the same moment from another server process, and DSM's tasks if its task list fails; overwrite=false never replaces.

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": {
      "paths": "<paths>",
      "dest_folder": "<dest_folder>"
    },
    "name": "move_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesFiles or folders to move (`/video/Downloads/clip.mkv`).
overwriteNoReplace items already at the destination; a replaced file may not be in the recycle bin (default false: they're skipped and listed).
dest_folderYesThe existing folder to move into (`/video/Archive`).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.1
    • changedInput schema / properties / overwrite / description
      Previous value: -"Replace items already at the destination (default false: they're skipped and listed)."New value: +"Replace items already at the destination; a replaced file may not be in the recycle bin (default false: they're skipped and listed)."
  2. Changed4 schema fields changedv0.9.1
    • addedInput schema / properties / dest_folder / description
      Added value: +"The existing folder to move into (`/video/Archive`)."
    • addedInput schema / properties / overwrite / description
      Added value: +"Replace items already at the destination (default false: they're skipped and listed)."
    • addedInput schema / properties / paths / description
      Added value: +"Files or folders to move (`/video/Downloads/clip.mkv`)."
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "tool_move_filesOutput",
      -  "type": "object"
      -}New value: +null
  3. Addedv0.7.1

TDQS

A4.7/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and readOnlyHint=false, and the description adds substantial behaviour beyond that: recursive folder moves with source removal, all-or-nothing on a missing source, refusal of whole shared folders/recycle bin/home folders, refusal of mutually-replacing sources under overwrite=true, and asynchronous long moves that return a handle for file_task. The concurrency caveats are convoluted but disclose real operational limits.

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?

The core behaviour and the copy_files alternative are front-loaded, which is good, but the trailing sentences on concurrent task detection ('That can miss another account's task or a start at the same moment from another server process, and DSM's tasks if its task list fails') are hard to parse and could be one clearer clause.

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 destructive three-parameter move tool with no output schema, this covers prerequisites, failure modes, overwrite semantics, source restrictions and async follow-up via file_task. Nothing essential to a correct invocation 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 adds meaning the schema lacks: the consequences of overwrite=true (mutual replacement refused, replaced file may not be in the recycle bin) and constraints on what a valid `paths` source may be. Only the exact path format guidance adds nothing new.

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 ('Move files or folders into a destination folder') and immediately contrasts itself with copy_files. An agent can tell this apart from copy_files, move_photos or delete_files without inspecting any 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?

It states when to use it ('to keep the sources, use copy_files'), prerequisites ('dest_folder must already exist; it isn't created'), the default overwrite behaviour and the forbidden-source cases. Both the alternative and the exclusions are named explicitly.

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