Skip to main content
Glama

Move File to Folder

move_file

Move an uploaded file into a folder, or pass folderId: null to move it back to the storage root. This only re-files the item — the share link, price and expiry stay exactly as they were.

Input Schema

NameRequiredDescriptionDefault
folderIdYesDestination folder id, or null/'root' for the storage root
uploadIdYesUpload id (e.g. up_a1b2c3d4e5f6g7h8)

Output Schema

NameRequiredDescriptionDefault
okYes
folderIdYes
uploadIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, open-world behavior; the description adds genuinely useful context beyond that — the null→root fallback and the guarantee that share link, price and expiry are untouched. It stops short of covering failure modes (nonexistent folder, invalid uploadId) or permission requirements.

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 sentences, front-loaded with the core action and the root special case, then the key invariant. No filler or redundancy.

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?

An output schema exists so return values need no explanation, and annotations carry the safety profile; the description supplies the one non-obvious semantic (null → root) and the metadata invariant. Only error/permission behavior is left uncovered, which is minor for a 2-param tool.

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 already documents both params, including 'null/root' for folderId, so the description largely restates schema semantics. Baseline 3 applies since the schema does the heavy lifting.

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 ('Move an uploaded file into a folder') plus the root-target case, so the operation is unambiguous. It implicitly separates itself from the sibling `transfer` by noting this only re-files the item, but it never names a sibling explicitly.

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 conditions for use: move into a folder, or pass folderId: null to move to root. It does not state when-not to use it or point to alternatives like `transfer` or `update_folder`, so exclusions are absent.

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