Skip to main content
Glama

Rename or move a folder

tp_update_folder
Destructive

Renames a folder, moves it under another folder or to the top level, or both; its documents and subfolders move with it. Use it when the user asks to rename, move or reorganise a folder. parent is an existing folder's id or path, or null or "" for the top level. A folder cannot be moved into itself or into one of its subfolders. When the destination is shared, or inside a shared folder, its readers gain access to this folder's contents, so confirm: true is required; without it nothing changes and the response says who would gain access. Renaming needs no confirmation.

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": {
      "folder": "<folder>"
    },
    "name": "tp_update_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoIts new name. Omit to keep the current one.
folderYesThe folder to change: an id from tp_list_folders, or a path from the top.
parentNoDestination: an existing folder's id or path from the top, or null or "" for the top level. Omit to keep it where it is.
confirmNoRequired when the destination is shared or inside a shared folder. Set true after the user has agreed that its readers can read this folder's contents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations: discloses the cascade to documents and subfolders, the invalid self/subfolder destination, the permission escalation when the destination is shared, and that omitting confirm is a no-op that reports who would gain access. Rename being confirmation-free is also spelled out, which is real operational detail an agent needs.

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?

Front-loads the primary action, then destination semantics, then the confirmation rule. Every sentence carries a distinct rule; no filler or repetition of the title.

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?

A destructive, open-world mutation tool with no output schema is fully covered: cascade effects, invalid destinations, and the confirm/dry-run contract are all stated. An agent could invoke this safely without additional context.

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 meaning beyond it: parent accepts an id/path or null/"" for top level, omission keeps current location, and confirm is only required on the shared-destination path and that skipping it changes nothing. That exceeds restating the schema.

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 a folder, move it under another folder or to the top level, and notes the cascade ('its documents and subfolders move with it'). This clearly separates it from tp_create_folder, tp_delete_folder and tp_move_documents without needing to open a schema.

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?

Gives concrete triggering conditions ('when the user asks to rename, move or reorganise a folder') and a conditional gate for the shared-destination path. It stops short of naming a sibling alternative for document-level moves, but the when-to-use guidance is unambiguous.

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.