Skip to main content
Glama
GeminiDesk MCP
by LZ7TOP

Move or Rename File/Directory

fs_move_or_rename

Move or rename files and folders by specifying source and destination paths; enable overwrite to replace an existing target when needed.

Instructions

移动或重命名文件及文件夹。

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": "<source>",
      "destination": "<destination>"
    },
    "name": "fs_move_or_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes源路径
overwriteNo目标已存在时是否覆盖
destinationYes目标路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely drops it. The most consequential fact — that an existing destination is silently preserved unless overwrite is set, and destroyed when it is — is never stated, nor are permission requirements or whether the operation is atomic/reversible.

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?

One short sentence with zero filler and the core action front-loaded. It is efficient but sized for a far simpler tool than this three-parameter mutating operation, so brevity costs information rather than earning its place.

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

Completeness2/5

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

For a mutating filesystem tool with an overwrite flag, no annotations, and no output schema, the description is too thin: an agent cannot know the default non-overwrite behavior, what happens on failure, or whether the call returns the new path. The complexity warrants substantially more disclosure.

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 description coverage is 100% (source, destination, overwrite all documented in Chinese), so the schema already carries the parameter meaning and a 3 is the baseline. The description adds no extra semantics, notably no explanation of when overwrite actually matters or how destination is interpreted as directory vs new name.

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 description states a concrete verb pair (move/rename) applied to a concrete resource (files and folders), which is enough to tell it apart from fs_copy, fs_delete, and fs_write_file by name alone. It stops short of clarifying the dual semantics (moving into a directory vs renaming in place), which is the one ambiguity an agent could hit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No when-to-use context at all: nothing says to prefer this over fs_copy when the original should not remain, nothing mentions that the destination parent must already exist (fs_create_directory exists as a prerequisite step), and nothing excludes cross-device or permission-restricted cases.

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