Skip to main content
Glama

Rename or recolour a folder

folders_update
DestructiveIdempotent

Rename one of the user's folders or give it a colour, as its ⋮ in Humble does: a private folder by its name as folder, or a shared folder by its uuid as shared_folder. A private folder can't take the name of another of the user's. A shared folder is renamed and recoloured by its admins alone (can_manage in folders_get), and everyone in it sees the change. Returns the folder as folders_get does.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "folders_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoIts new name
colourNomanila is a folder's own until another is picked
folderNoA private folder's name, as folders_list returns it
shared_folderNoA shared folder, by the uuid folders_list gives it

Output Schema

NameRequiredDescriptionDefault
urlNoOpens a shared folder in Humble
roleNoThe user's role in a shared folder
uuidNoA shared folder's
notesYes
ownerNoWho made a shared folder: always an admin of it
tasksYes
colourNomanila is a folder's own until another is picked
folderYesIts name, as the user typed it
can_addNoWhether the user may add notes and tasks to a shared folder
contactsYes
can_manageNoWhether the user may rename or recolour a shared folder, take others' things out of it and change who it's shared with: its admins
notes_totalYes
shared_withNoWho else may open it, besides its owner, as its Share tab in Humble lists them
tasks_totalYes
contacts_totalYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing an invariant (a private folder cannot take another of the user's names), an authorization requirement (`can_manage`), and blast radius (everyone in the shared folder sees the change). It does not explain why destructiveHint=true — e.g. that the previous name/colour is replaced and not recoverable — leaving that behavioral trait to the annotation alone.

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 tightly packed sentences with the action and addressing scheme front-loaded and no filler. The nested parentheticals make it slightly dense on first read but every clause carries operational information.

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?

An output schema exists and the description still points to the return shape ('as folders_get does'), annotations cover the safety profile, and permissions plus uniqueness are addressed. The only gap is the undefined behavior when no selector is passed, which matters because the schema requires no parameters.

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 adds the key semantic that `folder` and `shared_folder` are alternative selectors (name vs uuid) rather than co-required inputs, which the schema's zero required fields leaves ambiguous. It also ties the uniqueness rule to the `name` parameter, though it says nothing about what happens when neither selector is supplied.

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 a concrete verb pair and resource ('Rename ... or give it a colour') plus the exact addressing scheme for both variants (private by name via `folder`, shared by uuid via `shared_folder`). It anchors the action to a familiar UI affordance ('as its ⋮ in Humble does'), so an agent can identify the operation without opening the 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?

Implicitly routes the agent: use `folder` for private folders and `shared_folder` for shared ones, and it names the precondition for shared folders (caller must be an admin, verified via `can_manage` in folders_get). It stops short of explicit exclusions such as 'do not use this to create a folder — use folders_create' or whether both addressing params may be supplied together.

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