Skip to main content
Glama

filesfm_rename_folder

DestructiveIdempotent

Rename an editable folder. Root folders and conflicting names cannot be renamed. Requires files:write and account permissions. Inspect the destination before retrying an uncertain result.

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_hash": "<folder_hash>",
      "folder_name": "<folder_name>"
    },
    "name": "filesfm_rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
folder_hashYes
folder_nameYes

Output Schema

NameRequiredDescriptionDefault
itemYes
statusYes
replayedNoTrue when this is the stored result of an earlier call with the same idempotency_key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / replayed
      Added value: +{
      +  "description": "True when this is the stored result of an earlier call with the same idempotency_key.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, yet the description adds genuinely new context: the required files:write and account permissions, the root-folder and name-conflict prohibitions, and the instruction to inspect the destination before retrying an uncertain result. The retry caution is consistent with, not contradictory to, the idempotency hint.

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?

Four short sentences, front-loaded with the action, then constraints, then permissions, then retry behavior; no redundant phrasing. Slightly terse in that the permission and retry points are compressed into single clauses, but nothing is wasted.

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?

An output schema exists, so return values need no explanation, and the destructive/mutating nature plus permissions are covered. What remains missing is what makes a folder "editable" and what folder_hash actually denotes, which matters for a destructive two-parameter tool with no schema descriptions.

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

Parameters2/5

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

Schema description coverage is 0% and neither parameter is explained: folder_hash is only implied to identify a folder, with no indication of where the hash comes from, and folder_name's 1-512 length constraint and any naming rules are left entirely to the schema. The description therefore fails to compensate for the documentation gap.

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 first sentence gives a specific verb and resource ("Rename an editable folder") and the qualifier "editable" narrows scope, which together with the tool name separates it from filesfm_rename_file and filesfm_move_folder. It stops short of a 5 because nothing in the text explicitly contrasts the tool with its rename/move siblings.

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?

The definition states concrete exclusion conditions — root folders and conflicting names cannot be renamed — which is real when-not-to-use guidance an agent cannot infer from the schema. It does not name an alternative tool (e.g., inspect via get_folder_info then retry), so it falls short of full routing guidance.

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