Skip to main content
Glama

Move folder

move_folder
Idempotent

Re-parent a folder. A shared-drive folder whose slug was taken where it landed gets the next free one, which the result names, and comes back under it. In the website workspace, a folder moved into the Marketing folder puts every public, published page in it live on snaphost.ai/lp at once (and opens the folder and its pages to the whole workspace as editors, whatever they were), and one moved out or within it ends or changes their addresses; the result names every address that ended (move it back to restore them, then set the slug back if it changed) and every one that started; the Marketing folder itself is never moved. Pass its folder_id and the destination parent_id (both from list_folders); omit parent_id to move it to the drive root. A folder cannot be moved into itself or its own descendant. Returns the updated folder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceNoDrive to use when moving to the root (no parent_id); defaults to the folder’s own
folder_idYesThe folder to move
parent_idNoDestination parent folder id; omit to move to the drive root
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.2/5.0
Behavior5/5

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

It discloses slug reassignment, publishing and address side effects in the Marketing folder, permission changes, the immutable Marketing folder, and the recovery path. Since annotations only provide idempotent and non-destructive hints, the description carries the behavioral burden and does so thoroughly. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

There is no filler, but the middle is a run-on, parenthetical-heavy paragraph that is hard to scan, and the critical self/descendant constraint is buried near the end. The purpose is front-loaded, but the side-effect list would be much easier for an agent to parse as structured bullets.

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 write tool with no output schema, the description covers the operation, return value, result naming, recovery instructions, constraints, and workspace-specific side effects. Combined with the schema's already thorough workspace_id description, an agent has what it needs to call the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description still adds value by telling the caller to source folder_id and parent_id from list_folders and by tying parent_id omission to drive-root movement. It does not add new meaning for space or workspace_id, but those are already well described in the schema.

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 opens with the specific operation 'Re-parent a folder' and elaborates through parent_id and root-moving, making it clearly a folder-move tool rather than rename_folder or set_folder_slug. It is not a 5 because it never names a sibling such as move_site_to_folder, so the agent must infer the boundary from the word 'folder'.

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?

It gives clear context: how to supply IDs from list_folders, omit parent_id to move to the root, and the prohibited self/descendant move. It also distinguishes shared-drive behavior from website-workspace behavior. It does not explicitly list alternatives, but the context is strong enough to guide selection.

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.