Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Move file to backend

move_file_to_backend
DestructiveIdempotent

Move a file from one backend to another: copy it, verify the byte count, then delete the source only after a complete copy, so a failed transfer leaves the original intact.

Instructions

Move one file to another backend: copy, check the byte count, delete the source. Use when: a file must leave one backend for another. Instead: move_path within one backend (folders too); for a folder across backends copy_path_to_backend, then delete_path. Requires: --mcp-tools transfer. Behavior: destructive for the source, deleted only after a complete copy; a failed copy removes the partial destination and the source stays. A repeat fails with 'destination exists'. No size cap, not resumable (copy_path_to_backend is). An existing destination or a folder fails. Refuses secret files. Time limit: 30 min. Returns: {src, dst, bytes}.

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_file_to_backend"
  }
}

Input Schema

NameRequiredDescriptionDefault
dstNoThe destination file on dst_backend (absolute, or relative to the MCP root); it must not exist. Parents are created. Required unless dst_b64 is given.
srcNoThe source file on src_backend, not a folder (absolute, or relative to the MCP root). Required unless src_b64 is given.
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.
dst_backendNoBackend id of the destination, from list_backends; omit for the default backend.
src_backendNoBackend id of the source, from list_backends, e.g. 'profile:nas'; omit for the default backend.

Output Schema

NameRequiredDescriptionDefault
dstYes
srcYes
bytesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description adds substantial context beyond them: source deleted only after a complete copy, partial destination removed on failure, repeat call fails with 'destination exists', secret files refused, no size cap, not resumable, and a 30-minute limit. The prerequisite ('Requires: --mcp-tools transfer') is disclosure the annotations cannot carry. The 'repeat fails' note is consistent with idempotentHint=true since state is unchanged, 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Telegraphic but deliberately labeled sections (Use when / Instead / Requires / Behavior / Returns) that let an agent scan to the needed clause. Every line carries unique information, including the failure modes and the time limit; nothing is restated from the schema or annotations.

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 cross-backend destructive move with six optional-but-paired parameters, the definition covers preconditions, failure semantics, retry behavior, limits, and a brief return shape. With an output schema present it does not need more on return values, and the guidance is sufficient to call the tool correctly on the first attempt.

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% and each parameter already documents its own constraints (absolute vs relative paths, required-unless-_b64 pairs, backend ids from list_backends). The description adds no parameter-level detail, so the baseline of 3 applies; it neither compensates nor detracts.

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 first clause gives a concrete verb plus resource ('Move one file to another backend') and immediately enumerates the internal steps (copy, verify byte count, delete source), so the agent knows exactly what the operation does. It is clearly distinguishable from copy_path_to_backend and move_path, both of which are named and characterized.

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: a file must leave one backend for another' plus a labeled 'Instead:' line routing to move_path for intra-backend moves and to copy_path_to_backend + delete_path for whole folders across backends. Both the selecting condition and the alternatives are stated, leaving nothing to inference.

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