Skip to main content
Glama

Move or rename a file

move_file
Destructive

Move a file or directory between approved paths without intentional overwrite.

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": "move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYes
destinationYes
steerlatchDeviceNoOptional: name or deviceId of the computer that runs this action (from operatorlane_list_devices). Recommended when several computers are online or several conversations work at once.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=false, so the safety profile is covered, and the description adds the useful constraint of operating only between approved paths. However, "without intentional overwrite" is ambiguous about the single most important behavior for this tool: what happens when the destination already exists (error, silent replace, or merge), and whether parent directories are created or the move is reversible is never stated.

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?

A single well-formed sentence with the constraint front-loaded and no filler. It is appropriately brief, though the vague phrase "without intentional overwrite" spends words without conveying a determinate rule.

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 destructive, non-idempotent filesystem mutation with two undocumented required parameters and no output schema, the description omits destination-exists handling, failure modes, return information, and rename semantics. An agent could invoke it but could not predict its effect on a populated destination.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%: source and destination carry no schema descriptions, and the one documented parameter (steerlatchDevice) is already fully explained in the schema. The description adds nothing about path syntax, whether relative or absolute paths are accepted, or whether destination may be a new name for a rename, so it fails to compensate for the coverage gap.

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 names a specific verb and resource ("Move a file or directory") and scopes it to "approved paths", so it is clearly distinguishable from read_file, write_file, and create_directory. It does not explicitly state the rename capability that the title advertises, leaving that half of the purpose to the title alone.

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?

There is no when-to-use or when-not-to-use guidance and no named alternative, so an agent must infer that this is the tool for relocating existing entries rather than creating (write_file) or inspecting (get_file_info) them. The phrase "approved paths" hints at a permission prerequisite but never explains it or tells the agent what to do when a path is not approved.

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