Skip to main content
Glama

unfour.api.move_folder

unfour.api.move_folder

Move a folder within its collection or to the root by setting parentFolderId to null. Cycles and foreign workspace or collection targets are rejected.

Instructions

Moves a folder within its collection, including to root with parentFolderId=null. Cycles and foreign workspace/collection targets are rejected.

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": {
      "folderId": "<folderId>",
      "parentFolderId": "<parentFolderId>"
    },
    "name": "unfour.api.move_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderIdYes
workspaceIdNo
parentFolderIdYesnull selects the collection root.

Output Schema

NameRequiredDescriptionDefault
folderYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the mutation/safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=false), so the description only needs to add context. It does add genuinely useful behavior: cycles and foreign workspace/collection targets are rejected, which tells the agent what failures to expect. It omits what position the folder takes in the destination and whether a same-parent move is a no-op (relevant given idempotentHint=false).

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 tight sentences with the primary action first and the constraints second. Every clause carries information; nothing is padding.

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 and annotations remove the need to explain return values or safety, and the description covers the key preconditions and failure modes. The remaining gap is destination positioning/ordering and the role of the optional workspaceId, which an agent would need to know before calling.

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 only 33% — folderId and workspaceId have no schema descriptions, and only parentFolderId is documented. The description repeats the null-to-root behavior and hints that workspaceId scoping matters via 'foreign workspace', but never explains what workspaceId does when omitted or how folderId interacts with it, so it only partially compensates.

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 ('Moves a folder') plus its scope ('within its collection'), which separates it from siblings like rename_folder or reorder_folders. It stops short of naming any alternative explicitly, so the differentiation is inferred rather than stated.

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?

Implied usage is clear from 'within its collection' and the root case, but there is no explicit guidance on when to pick this over reorder_folders or move_request. The rejection clauses define what is not allowed rather than when to use the tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools