Skip to main content
Glama

Move a folder into another folder

tarkle_move_folder
Idempotent

Move one folder, with everything in it, into another folder (parentFolderId), or to the library root with parentFolderId null. A folder cannot go into itself or one of its own subfolders (INVALID_DESTINATION). Moving can change who can see what is inside, because a folder decides that. A protected folder (team folder, file request, system folder) is refused with the reason, and so is a name already used next to it (NAME_TAKEN). Everything inside goes with it.

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>",
      "folderId": "<folderId>",
      "parentFolderId": "<parentFolderId>"
    },
    "name": "tarkle_move_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderIdYesA folder id from tarkle_list_folders or tarkle_create_folder.
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.
parentFolderIdYesThe destination folder, or null for the library root.

Output Schema

NameRequiredDescriptionDefault
folderNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior5/5

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

Above the annotations (which only declare non-read-only, non-destructive, idempotent), the description discloses the recursive cascade ('everything inside goes with it'), the permission/visibility side effect of changing the parent, and the specific refusal cases with error codes (INVALID_DESTINATION, protected folders, NAME_TAKEN). That is exactly the behavioral context annotations cannot carry.

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 destination and its two modes are front-loaded, and each following sentence adds a distinct constraint (invalid destination, visibility change, protected folders, name collisions). The closing sentence 'Everything inside goes with it' largely repeats the opening 'with everything in it', a small 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?

With an output schema available, return values need no explanation, and the description covers destination semantics, cascading effects, permission implications, and the main failure modes. Only an explicit statement of required permissions or idempotent-retry behavior would make it fully complete.

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 the schema already states that parentFolderId null means the library root, so the description's destination sentence largely restates structured data. No extra semantics are added for workspaceId, folderId, or the llm_model analytics parameter, so the baseline of 3 applies.

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?

The description names a specific verb and resource ('Move one folder ... into another folder') and spells out both destination modes, so an agent can tell this apart from tarkle_move_file by the resource type alone. It never explicitly names a sibling alternative, which keeps it just short of a 5.

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

Usage Guidelines3/5

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

Usage context is implied by the described preconditions (destination must not be self or a subfolder; protected folders are refused; name collisions are refused), which tells an agent the situations in which the call will fail. There is no explicit when-to-use/when-not-to-use routing versus siblings such as tarkle_move_file or a copy operation, so the guidance remains implied rather than stated.

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.