Skip to main content
Glama

Update folder

update_folder
DestructiveIdempotent

Update a repository folder. Requires project and folderId; name, description and parentId are optional and applied only when provided (set parentId to re-parent the folder). Use get_folders to find folder ids.

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": {
      "project": "<project>",
      "folderId": "<folderId>"
    },
    "name": "update_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional new folder name.
projectYesProject id the folder belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted.
folderIdYesFolder id to update.
parentIdNoOptional new parent folder id (re-parents the folder).
descriptionNoOptional new folder description.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project / description
      Previous value: -"Project id the folder belongs to. Numeric id from get_projects (same as in the app URL); not the project name."New value: +"Project id the folder belongs to. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds genuine partial-update semantics ("applied only when provided") and the re-parenting effect of parentId, but it never acknowledges that re-parenting is the destructive behavior flagged by annotations, nor 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?

Three short sentences: purpose, required/optional contract, and a discovery hint. Required information is front-loaded and no sentence is filler.

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?

For a five-parameter mutation with no output schema, the description covers the update contract but omits what is returned, whether re-parenting fails on cycles or invalid parents, and any permission requirements. Given destructiveHint=true, a note on the consequences of moving a folder would round it out.

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 goes beyond it by stating that optional parameters are applied only when present (PATCH-style semantics) and that setting parentId re-parents the folder. That clarifies the interaction between fields in a way the per-property schema text does not.

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 a specific verb and resource ("Update a repository folder") and immediately clarifies required versus optional fields. It distinguishes the mutation from the read path by pointing to get_folders for id discovery, though it does not explicitly contrast with create_folder or other update_* siblings.

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 concrete lookup path ("Use get_folders to find folder ids") and explains that optional fields are applied only when provided, which is useful invocation guidance. It does not state when this tool should be preferred over create_folder or other update tools, nor any preconditions such as permissions or valid-parent constraints.

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.