Skip to main content
Glama

move_directory

Move or rename a directory to a new path. Designed for folders only, use the move tool if the path might be a file.

Instructions

Move or rename directory. Only works on directories, not files. Use 'move' tool if unsure about path type. Keywords: move directory, rename folder. / 移动或重命名目录。仅用于移动目录,不能移动文件。如果不确定路径类型,请使用 move 工具。关键词:移动目录、重命名文件夹。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceYesThe source directory path to move. Must be a directory, not a file.
destinationYesThe destination directory path where the directory will be moved to.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYes
successYes
Behavior3/5

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

No annotations are provided, so the description must carry behavioral transparency. It discloses the directory-only constraint and the move/rename operation, but does not mention overwrite behavior, permissions, or error handling. For a mutation tool, this is a moderate gap.

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 core message is delivered in two concise sentences, front-loaded with the operation and scope. The addition of keywords and bilingual text adds minor noise but does not detract significantly from clarity.

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

Completeness3/5

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

The tool is simple, has an output schema, and fully documented parameters. The description covers the main operation and alternatives, but omits important behavioral details such as overwrite semantics and error conditions. Adequate but not comprehensive.

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?

The schema has 100% description coverage for both parameters, with clear descriptions for source and destination. The description reinforces that the path must be a directory, but adds little beyond what the schema already states. Baseline 3 is appropriate.

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 clearly states the tool's function: 'Move or rename directory.' It explicitly scopes the tool to directories only, distinguishing it from sibling tools like move_file and move. This is a specific verb+resource with clear differentiation.

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?

The description provides explicit usage guidance: 'Use 'move' tool if unsure about path type,' naming an alternative tool for ambiguous cases. It also clarifies the tool is for directories only, implying when it should be used versus file-specific tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shibingli/mcp-toolkit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server