Skip to main content
Glama

unfour.api.reorder_folders

unfour.api.reorder_folders

Reorder sibling folders within a collection and parent by supplying folder IDs in the desired order; no API requests are executed.

Instructions

Reorders sibling folders in one collection and parent. Supply their IDs in the desired order; no requests are executed.

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": {
      "collectionId": "<collectionId>",
      "parentFolderId": "<parentFolderId>",
      "folderIds": "<folderIds>"
    },
    "name": "unfour.api.reorder_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderIdsYes
workspaceIdNo
collectionIdYes
parentFolderIdYesnull selects the collection root.

Output Schema

NameRequiredDescriptionDefault
foldersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare the mutation and safety profile (readOnlyHint=false, destructiveHint=false), so the description only needs to add context; 'no requests are executed' adds a useful reassurance that folder contents are untouched, though the phrase is ambiguous (HTTP requests vs. saved requests). There is mild tension between the declarative 'supply IDs in desired order' semantics and idempotentHint=false, which the description neither explains nor resolves.

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?

Two short sentences, front-loaded with the operation and scope, then the invocation rule. Nothing is padded, though the trailing clause 'no requests are executed' is vague enough that it spends words without fully landing its point.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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. What is missing is behavioral scope the agent actually needs: whether the provided folderIds must cover all siblings or may be a subset, what happens to omitted folders, and what workspaceId does for a mutation tool with 25% parameter documentation coverage.

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 25% (only parentFolderId is documented, with 'null selects the collection root'), so the description must compensate. It does add the crucial meaning that folderIds is an ordered array where position determines the result, and ties collectionId/parentFolderId to sibling scope, but workspaceId remains completely unexplained in both schema and description.

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 states a specific verb ('Reorders') and a precisely scoped resource ('sibling folders in one collection and parent'), which is enough to distinguish it from sibling tools like list_folders, move_folder or rename_folder. It stops short of explicitly naming move_folder as the contrasting operation, so it isn't a textbook 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?

It gives a clear invocation rule ('Supply their IDs in the desired order'), which tells the agent how to call it, but it offers no when-to-use versus when-not guidance and never contrasts itself with move_folder, the obvious alternative for relocating a folder rather than reordering siblings.

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