Skip to main content
Glama

Rename folder

rename_folder
Idempotent

Rename a folder. Pass its folder_id (from list_folders) and the new name. The slug, and with it every address under the folder (a landing page's /lp address included), stays as it is; only what the dashboard calls the folder changes. Only someone who can manage the folder may rename it. Returns the updated folder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe new folder name
folder_idYesThe folder id from list_folders
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond annotations, the description discloses meaningful behavior: the slug and every address under the folder remain unchanged, only the dashboard-facing name changes, a manage-level permission is required, and the tool returns the updated folder. This gives the agent a precise mental model of side effects.

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 compact sentences with no filler. The key scoping statement about the slug is front-loaded, and every sentence adds distinct value: what to pass, what stays unchanged, permissions, and return value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for this tool. It covers required inputs, side-effect scope, authorization, and return value despite no output schema. An agent has everything needed to invoke it correctly and know what to expect.

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%, so the schema already explains folder_id, name, and workspace_id. The description adds little beyond restating 'pass folder_id and name', though it does reinforce that folder_id comes from list_folders. Baseline 3 is appropriate.

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 a folder') and clarifies exactly what changes (the dashboard-facing name) and what does not (the slug and addresses). This distinguishes it from siblings like set_folder_slug and rename_site without needing to open their schemas.

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?

Clearly conveys when to use it: rename the display name while preserving the slug and all addresses, and it sets the permission prerequisite ('Only someone who can manage the folder may rename it'). It implies the alternative for slug changes but does not explicitly name a sibling tool like set_folder_slug.

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.