Skip to main content
Glama

filesfm_move_file

DestructiveIdempotent

Move a file between folders of the same owner. Requires removal rights at source and addition rights at destination. Destination sharing may change who can access it. No overwrite. Requires files:write and account permissions. Inspect the destination before retrying an uncertain result.

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": {
      "file_hash": "<file_hash>",
      "target_folder_hash": "<target_folder_hash>"
    },
    "name": "filesfm_move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_hashYes
target_folder_hashYes

Output Schema

NameRequiredDescriptionDefault
itemYes
statusYes
replayedNoTrue when this is the stored result of an earlier call with the same idempotency_key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / replayed
      Added value: +{
      +  "description": "True when this is the stored result of an earlier call with the same idempotency_key.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: which permissions are required at each end, that destination sharing can change who can access the file, that no overwrite occurs, and how to recover from an uncertain result by inspecting the destination. These are exactly the mutation side effects an agent cannot infer from destructiveHint/idempotentHint alone.

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?

Every sentence carries operational information and the scope constraint is front-loaded; nothing is filler. The style is telegraphic and slightly cryptic in places ("Destination sharing may change who can access it"), but it stays short and scannable.

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

Completeness4/5

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

For a destructive move with an output schema and annotations, the description covers prerequisites, side effects, and retry behavior well enough to call it safely. The remaining gap is the two undocumented parameters, which neither schema nor description explains, plus no mention of failure modes such as missing source rights.

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 file_hash and target_folder_hash, and it largely does not. It implies a source exists (rights "at source") without stating that the source folder is derived from file_hash, and gives no format or lookup guidance for the hashes beyond what the schema pattern already shows.

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?

States a specific verb and resource plus a scope constraint: "Move a file between folders of the same owner." That tells the agent it is a file-level move, which implicitly separates it from the folder-level sibling filesfm_move_folder, but no sibling is named explicitly and the move is not framed against alternatives.

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

Usage Guidelines4/5

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

Gives clear preconditions for use (removal rights at source, addition rights at destination, files:write and account permissions) and an exclusion (no overwrite, same-owner only). It also supplies retry guidance, but never names a concrete alternative tool for the cases this one cannot handle, such as cross-owner moves.

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