Skip to main content
Glama
Bridge Commander
by PaPasha215

move_file

Destructive

Moves or renames a file or directory, preventing overwrites by failing when the destination already exists.

Instructions

Move or rename a file or directory. Fails if the destination exists.

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the risk profile is covered structurally. The description adds genuine value by disclosing the no-overwrite failure condition, which explains why the operation is not idempotent in the overwrite sense. It still omits what happens to the source on failure, whether parent directories are created, and whether cross-filesystem moves behave differently.

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?

Two short sentences, zero filler, with the operation front-loaded and the failure condition immediately after it. Nothing could be removed without losing information.

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?

For a simple two-parameter tool with full annotation coverage and no output schema, this is close to adequate, and the overwrite-failure note covers the most important behavioral question. The missing piece is path semantics, which is exactly the gap a 0%-coverage schema leaves for a tool whose only inputs are two paths.

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 description coverage is 0%, so the description must carry the burden of explaining the two parameters, and it does not. It never states whether source and destination are absolute or relative paths, what the base directory is, or whether a bare filename in destination implies a rename within the same directory. The names are suggestive but the semantics remain unstated.

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 gives a specific verb-plus-resource ("Move or rename a file or directory") and even covers the directory case, so an agent can tell it apart from read_file, write_file, and create_directory without opening the schema. It stops short of an explicit sibling comparison, but the operation is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: the tool moves things, so use it when something needs relocating or renaming. The precondition "Fails if the destination exists" is useful for choosing this tool safely, but there is no guidance on what to do instead when a destination already exists, nor any mention of prerequisites such as permissions or existing parent directories.

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