Skip to main content
Glama

MCP Server By TestMu AI

Update Folder

tm_update_folder
Destructive

Rename a folder, change its description, or move it under a different parent folder. Works on all three folder types: per-project Test Cases (default) and Test Runs trees, and the organization-level Modules tree. Moves of test-cases/test-runs folders require project_id; module folders need none.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name
treeNoWhich folder tree the folder belongs to (default test-cases). "modules" is organization-level.
folder_idYesFolder ID (ULID)
project_idNoProject ID (ULID) — required when moving a test-cases or test-runs folder; not used for modules
descriptionNoNew description
parent_folder_idNoMove under this folder (ULID), or pass "root" to make it a top-level folder; cannot be the folder itself or one of its descendants

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is carried by structured data. The description usefully adds that moves have tree-dependent project_id requirements, but says nothing beyond the schema about reversibility or what happens to existing children.

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 sentences, front-loaded with the three supported operations before the tree-scope constraints. Every clause earns its place with no filler.

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?

For a mutation tool whose safety profile and parent constraints are covered by annotations and schema, the description supplies the critical tree-type/project_id conditional. Minor gaps like uniqueness or failure behavior remain but are not essential to invocation.

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, but the description adds genuine semantic value by clarifying the conditional relationship between tree type and project_id that the flat schema cannot express. It reinforces rather than merely repeats the parameter docs.

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?

States specific verbs and resource: rename, change description, move, on folders. Distinguishes the three folder-tree scopes (Test Cases, Test Runs, Modules) so the agent understands the tool's reach versus siblings like tm_create_folder or tm_list_folders.

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?

Explains the conditional context: test-cases/test-runs moves require project_id while module folders need none, and 'modules' is organization-level. Clear usage context, though it doesn't explicitly name an alternative tool for editing non-folder entities.

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.

Resources