Skip to main content
Glama

filesfm_move_folder

DestructiveIdempotent

Move a folder between folders of the same owner. Cannot move roots or move a folder into itself or its descendants. Destination sharing may change access. 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": {
      "folder_hash": "<folder_hash>",
      "target_folder_hash": "<target_folder_hash>"
    },
    "name": "filesfm_move_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_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

A4/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing required permissions (files:write plus account permissions), the no-overwrite rule, the sharing/access side effect on the destination, and the structural constraints on valid moves. A destructive, non-read-only mutation is properly framed. Minor tension: idempotentHint=true while the text advises inspecting the destination before retrying, which suggests partial-failure ambiguity that the idempotent claim does not fully cover.

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?

Six short sentences, front-loaded with the core action, then constraints, then preconditions, then retry guidance. Nothing is redundant and every sentence carries decision-relevant content.

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 two-parameter destructive mutation with an output schema present, this covers permissions, side effects, validity constraints and retry handling. The remaining gap is the undocumented parameter roles, which matter more here because the schema adds no descriptions of its own.

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 0%, so only names and patterns are documented in the schema. The description implies folder_hash is the source and target_folder_hash the destination, and constrains both to the same owner, but never maps the parameter names to their roles or explains the hash format. Partial compensation only.

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?

"Move a folder between folders of the same owner" names a specific verb and resource plus a scope constraint (same-owner), which clearly separates it from filesfm_move_file and from copy-style operations. It stops just short of an explicit sibling comparison, but an agent reading the name and first sentence knows exactly what this does.

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 concrete when-not conditions (cannot move roots, cannot move into itself or descendants) and a pre-flight rule: inspect the destination before retrying an uncertain result — effectively routing to filesfm_get_folder_info. It lacks an explicit named alternative for those cases, but the conditions that select them are stated outright.

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