Skip to main content
Glama

Rename a folder

tarkle_rename_folder
Idempotent

Rename one folder (folderId from tarkle_list_folders). A protected folder (team folder, file request, system folder) is refused with the reason, and so is a name already used next to it (NAME_TAKEN). Everything inside goes with it.

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": {
      "workspaceId": "<workspaceId>",
      "folderId": "<folderId>",
      "name": "<name>"
    },
    "name": "tarkle_rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe folder's new name.
folderIdYesA folder id from tarkle_list_folders or tarkle_create_folder.
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
workspaceIdYesThe workspace's id from tarkle_list_workspaces.

Output Schema

NameRequiredDescriptionDefault
folderNo

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare non-read-only, non-destructive, idempotent, but the description adds real behavioral value: two distinct failure modes (protected folder refusal with reason, NAME_TAKEN conflict) and the fact that folder contents are carried along rather than affected. It stops short of stating permission requirements or confirming the returned payload shape.

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, front-loaded with the verb and resource, then preconditions, then a clarifying note about contents. No filler or repetition.

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 4-parameter mutation with full schema coverage and an output schema, the description covers purpose, ID sourcing, and error behaviors, which is close to complete. Permission/auth expectations are the only notable omission.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including the folderId provenance note, so the description's parenthetical about folderId largely restates structured data. With the schema doing the heavy lifting, a baseline 3 is appropriate; no additional syntax or constraint detail is added.

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 specific verb and resource ("Rename one folder") and disambiguates from the sibling rename tools (rename_file, rename_tag) by scoping to folders. An agent can select this 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?

Gives clear operating context: folderId must come from tarkle_list_folders, and the call fails for protected folders and for duplicate sibling names. It does not spell out alternatives (e.g., when to move rather than rename), but for a single-purpose operation the context is sufficient.

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.