Skip to main content
Glama

rename

DestructiveIdempotent

Change a document or folder's name. Pass one id — a document id or a folder id — and name. Changes the name only. Does not change document content; that is edit_document. One item per call, because each item gets its own name.

Input Schema

NameRequiredDescriptionDefault
idYesThe document id or folder id to rename. Use fetch for a document and fetch_folder for a folder.
nameYesThe new name.

Output Schema

NameRequiredDescriptionDefault
idYes
kindYesdocument or folder
nameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/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, so safety/idempotency are covered. The description adds meaningful scope context beyond them: only the name changes, content is untouched, and each call touches exactly one item. It does not describe permission requirements or failure behavior, keeping it short of a 5.

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?

Four short sentences, front-loaded with the action and scope; each sentence carries distinct information (what changes, what doesn't, the sibling for content edits, the one-item constraint). No filler.

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?

For a two-parameter mutation tool with an output schema and full schema coverage, the description supplies the remaining essentials: scope of the change, the batching constraint, and the boundary against edit_document. Nothing an agent needs to call it correctly is missing.

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 both parameters are already documented in the schema, including the id/folder-id distinction and the fetch pointers. The description's 'Pass one id' adds only marginal emphasis, 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+resource ('Change a document or folder's name') and immediately scopes it against the nearest sibling by ruling out content changes ('that is edit_document'). An agent can distinguish rename from edit_document, move, and archive without opening any 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?

Explicitly names the alternative for content changes and states the batching constraint ('One item per call'). It stops short of clarifying when to prefer rename over move or archive for reorganizing items, so it is clear context rather than full when/when-not coverage.

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.