Skip to main content
Glama

ugreen_move_file

Destructive

Move or rename NAS files and directories, using destination directory paths for cross-folder moves or plain filenames for same-folder renames; supports conflict handling and dry-run checks.

Instructions

移动或重命名一个 NAS 文件/目录。跨目录 destination 必须是已存在的目录绝对路径;同目录改名只能给不含斜杠的纯文件名。跨目录改名分成两步,不使用“目录/新文件名”。默认同名自动改名,replace 会覆盖;先 dry_run 核对。仅操作用户指定的对象;写操作失败后先查询当前状态,不自动重试。权限由绿联令牌与 NAS 账户决定。

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": {
      "source_path": "<source_path>",
      "destination": "<destination>"
    },
    "name": "ugreen_move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
destinationYes
on_conflictNorename
source_pathYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructive, non-idempotent, open-world writes; the description adds conflict behavior (default auto-rename, replace overwrites), recommends dry_run, states no auto-retry after failure and to query current state, and notes token/NAS-account permissions. This is substantial context beyond the annotations and is consistent with them.

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?

The description is a single front-loaded paragraph with semicolon-separated constraints; every clause adds operational value and there is no filler. It remains dense but appropriate for a mutation tool with several invocation rules.

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 move/rename tool with four parameters, no output schema, and annotations covering only the safety profile, the description supplies the critical missing context: destination formatting, two-step cross-directory rename, conflict handling, dry-run verification, failure recovery, and permission scope. Only the skip option is left implicit, which is minor.

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 0%, so the description must carry parameter meaning. It thoroughly explains destination semantics for cross-directory vs same-directory cases and covers dry_run and most on_conflict behavior (rename default, replace overwrite), but does not explain the skip enum value or add much to source_path.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb pair (move/rename) and resource (NAS file/directory), making it distinguishable from copy, delete, and create siblings. It does not explicitly contrast with a sibling such as ugreen_copy_file, which keeps it from a 5.

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 gives clear invocation context: cross-directory moves require an existing absolute directory path, same-directory renames require a bare filename, and cross-directory renames must be done in two steps rather than with a combined path. It lacks explicit when-to-use versus ugreen_copy_file or ugreen_delete_file alternatives, but the operational guidance is strong.

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