Skip to main content
Glama

Move a file to another folder

tarkle_move_file
Idempotent

Move one file into a folder (folderId from tarkle_list_folders or tarkle_create_folder), or to the library root with folderId null. The file keeps its name; a name already used in the destination is refused (NAME_TAKEN). Moving into a folder can change who can see the file, because a folder decides that. A file that is protected (team folder, file request, system folder), sold, or held by a share link is refused with the reason.

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": {
      "workspaceId": "<workspaceId>",
      "fileId": "<fileId>",
      "folderId": "<folderId>"
    },
    "name": "tarkle_move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe id of a file, from tarkle_list_files or tarkle_list_bin.
folderIdYesThe destination folder, or null for the library root.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id, from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
fileNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by naming the exact refusal condition and error code (NAME_TAKEN), listing protected/sold/share-link-held files as refused with reasons, and warning that moving into a folder can change visibility because the folder governs permissions. This is precisely the side-effect context the readOnly/destructive/idempotent hints cannot convey.

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?

The action and destination are front-loaded, followed by conflict, visibility, and refusal details in that order. The fourth sentence about protections is dense but each clause carries distinct refusal information, so little is wasted.

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 mutating tool with an output schema and full schema coverage, the description supplies what structured fields cannot: name-collision behavior, visibility side effects, and the categories of files that will be rejected. Nothing needed to call or anticipate the outcome 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 description coverage is 100%, so the schema already documents fileId, folderId (including null for root), workspaceId, and llm_model. The description reinforces the fileId/folderId provenance and the null-root semantics but adds little that the schema does not already state, so the baseline 3 applies.

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 and resource ("Move one file into a folder") and clarifies scope against the obvious siblings by naming the ID sources (tarkle_list_folders, tarkle_create_folder) and the root case. An agent can distinguish this from tarkle_move_folder and tarkle_copy_file by the word 'file' and 'move'.

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?

Explains the two destinations (existing folder vs. library root via folderId null) and points to the tools that produce the required IDs, which is real when-to-use context. It stops short of explicitly excluding copy_file or move_folder, but the 'one file' scoping makes the boundary reasonably inferable.

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.