Skip to main content
Glama

Rename a folder

rename_folder
Idempotent

Rename one of the person's folders (list_folders). Names can be in any language, up to 64 characters. Changes nothing else.

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_id": "<folder_id>",
      "name": "<name>"
    },
    "name": "rename_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name, in any language, up to 64 characters.
folder_idYesThe folder id (from list_folders).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / name / description
      Previous value: -"The new name, up to 50 characters."New value: +"The new name, in any language, up to 64 characters."
  2. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=true, destructive=false, and openWorld=false. 'Changes nothing else' adds a modest scope clarification reinforcing the non-destructive profile, but nothing about permissions, duplicate-name behavior, or failure modes is disclosed, so the incremental value is limited.

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?

Three short clauses, front-loaded with the action and resource. The language/length sentence largely duplicates the schema's own parameter description, which is minor redundancy but keeps the definition tight.

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 simple two-parameter operation with full schema coverage, no output schema, and annotations covering safety and idempotency, the definition is essentially complete. Missing only edge-case behavior such as duplicate names or required permissions.

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 coverage is 100% and both parameters are fully described in the schema itself, including the same 'any language, up to 64 characters' constraint. The description adds no semantic detail beyond the schema, so the baseline 3 applies.

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 ... folders') and scopes it to a single folder. It also cites 'list_folders' as the source of folder ids, which distinguishes it from create_folder, delete_folder, and move_to_folder without ambiguity.

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 parenthetical reference to list_folders establishes the prerequisite step for obtaining a folder_id, giving clear usage context. It stops short of explicit when-not guidance or naming an alternative tool, so it lands at 4 rather than 5.

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.