Skip to main content
Glama

Rename a subfolder

rename_subfolder
DestructiveIdempotent

Rename a subfolder of a folder; its documents stay in 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": {
      "subfolder_id": "<subfolder_id>",
      "name": "<name>"
    },
    "name": "rename_subfolder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
subfolder_idYesSubfolder id (from list_subfolders)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, so safety and repeatability are covered structurally. The description adds one genuinely useful behavioral fact beyond them — that the subfolder's documents remain inside it after the rename — which reassures an agent that contents are not moved or lost. It still omits whether the previous name is recoverable, how name collisions are handled, and whether permissions or links referencing the folder are affected.

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?

A single short sentence with the behavioral caveat front-loaded after the action; nothing is redundant or padded. The semicolon construction keeps the reassumption about documents directly attached to the operation.

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 two-parameter rename with rich annotations and no output schema, the definition covers the action and the key side effect. It falls short on the undocumented name parameter and on conflict/error behavior, which matter for a destructive mutation.

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 only 50%: subfolder_id is documented in the schema (with its provenance from list_subfolders) but name has no description beyond maxLength. The description says nothing about either parameter, so it does not compensate for the undocumented name field or clarify that it is the new name.

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?

States a specific verb and resource ("Rename a subfolder") and scopes it as a subfolder within a folder, which is enough to separate it from delete_subfolder or create_subfolder. It does not explicitly contrast with rename_room_folder, so the sibling differentiation is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus rename_room_folder or other rename/lifecycle tools, and no prerequisites or preconditions are stated. The only contextual note is the side effect about documents, not usage direction.

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