Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Move or rename

move_path
DestructiveIdempotent

Move or rename a file or folder within the same backend. Use it for same-backend renames or moves; the destination must not already exist.

Instructions

Move or rename a file or folder within one backend. Use when: renaming, or moving on the same backend - folders too. Instead: copy_file to keep the original; move_file_to_backend to another backend. Behavior: destructive for the old path. A repeat fails with 'target already exists'. Native rename (atomic locally); a backend without one copies, then deletes the source, and takes the copy back if that delete fails. dst's parent must exist; an existing dst is never replaced. A symlink moves itself; secret files cannot be moved. Time limit: 30 s. Returns: {ok: true}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "move_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
dstNoIts new path, including the new name; must not exist yet (absolute, or relative to the MCP root). Required unless dst_b64 is given.
srcNoThe file or folder to move (absolute, or relative to the MCP root). Required unless src_b64 is given.
backendNoBackend id from list_backends; omit for the default.
dst_b64Nodst as base64 of its raw bytes, for non-UTF-8 names; replaces dst.
src_b64Nosrc as base64 of its raw bytes, for non-UTF-8 names; replaces src.

Output Schema

NameRequiredDescriptionDefault
okYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructive, non-readonly, open-world and idempotent, so the safety profile is partly covered, but the description still adds real value: copy-then-delete fallback when no native rename exists, rollback of the copy if the delete fails, non-replacement of an existing dst, symlink and secret-file edge cases, and a 30 s time limit. The 'repeat fails with target already exists' note is consistent with idempotentHint (no further state change), so it is not a contradiction.

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?

Labeled blocks (Use when / Instead / Behavior / Returns) keep it scannable and front-load the routing decision; the Behavior block is dense with edge cases but each clause carries distinct information, so little could be cut without loss.

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 5-parameter mutation tool with an output schema and full annotation coverage, the description covers failure modes, atomicity guarantees, preconditions, and the return value — nothing essential to calling it correctly is missing.

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 coverage is 100% and it already documents dst as 'must not exist yet' and the b64 alternatives, so the description's 'parent must exist / never replaced' adds only marginal clarification; the base64 and backend parameters are left entirely to the schema.

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?

States a specific verb pair and resource plus the scope constraint ('within one backend'), and explicitly contrasts with copy_file and move_file_to_backend so an agent can route without opening schemas.

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?

Explicit 'Use when' clause (renaming, same-backend moves, folders too) and an 'Instead' clause naming both alternatives with the condition that selects each.

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