Skip to main content
Glama

update_folder

Idempotent

Rename a folder or move it to a new parent, including all nested contents. Re-parent by setting a new parent ID or move to root level.

Instructions

Rename a folder or suite and/or re-parent it. Set parentId to null to move it to root level, or omit it to keep the current parent. Returns the updated id, name, type, parentId, path, depth, casesCount and childFolderCount. A move carries everything nested inside along with it, so child paths change too; the new parent must be a folder in the same project, since suites cannot be parents and a folder cannot move into itself or into one of its own descendants. It never changes type and never creates or removes anything: use create_folder for a new folder or suite, delete_folder to archive one with all its contents, and move_test_case to relocate a single test case rather than its whole suite. Get folderId from list_folders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew folder name
folderIdYesFolder UUID to update
parentIdNoNew parent folder UUID. Set to null to move to root level. Omit to keep current parent.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.5.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond annotations, the description explains meaningful behavioral consequences: moving carries all nested children and changes their paths, it never changes type, and it never creates or destroys anything. It also clarifies that re-parenting to root changes depth/path. This is exactly the context an agent needs to understand what happens to the rest of the tree.

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?

The description is dense but every sentence earns its place: core action, parentId behavior, return payload, move side effects, exclusions, and sibling routing. It is front-loaded with the primary purpose and avoids any redundant restatement of the tool name or schema.

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?

Given that there is no output schema, the description properly documents the return value fields (id, name, type, parentId, path, depth, casesCount, childFolderCount). It also covers key edge cases and sibling boundaries. For a mutation tool with three simple parameters, nothing an agent needs to call it correctly is missing.

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% and the schema already documents all three parameters. The description adds value by explaining the practical meaning of setting parentId to null versus omitting it, and by noting the same-project requirement for the new parent. The name parameter has no additional semantics beyond the schema, so it doesn't get a 5.

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?

The description opens with a precise verb and resource: 'Rename a folder or suite and/or re-parent it.' It clearly distinguishes itself from sibling tools by explicitly naming create_folder, delete_folder, and move_test_case as alternatives for different operations. An agent can tell exactly what this tool does without opening other definitions.

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

Usage Guidelines5/5

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

The description gives explicit when-to-use and when-not-to-use guidance: use create_folder for new folders/suites, delete_folder for archiving, and move_test_case for moving a single case. It also adds operational constraints like 'the new parent must be a folder in the same project' and 'a folder cannot move into itself or into one of its own descendants.' This leaves no ambiguity about when to invoke it.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/m00nreport/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server