Skip to main content
Glama

Rename Google Drive item

rename_gdrive_item

Rename a Google Drive file or folder without moving it.

Input Schema

NameRequiredDescriptionDefault
itemIdYes
mailboxYesEmail address of the connected Gmail/Google Workspace mailbox to act on. Call list_authorized_mailboxes to see available options.
newNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the mutation/safety profile is covered by structured data. The description's "without moving it" adds a genuine behavioral trait (location is preserved), but says nothing about permissions, name-collision behavior, or reversibility.

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 tight sentence with the action front-loaded and the key constraint trailing. No filler or redundancy.

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

Completeness2/5

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

This is a mutation tool with no output schema and two of three parameters undocumented in both schema and description. An agent still lacks the identifier format for itemId and the constraints on newName, so the definition is not sufficient on its own.

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 coverage is only 33% — only mailbox is documented in the schema. The description notes the target may be a file or folder (marginal help for itemId) but explains nothing about itemId's format or what newName accepts (extension handling, invalid characters). With low coverage the description should compensate more than it does.

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 Google Drive file or folder") and adds a scoping clause ("without moving it") that functionally separates it from move_gdrive_item. It does not explicitly name the sibling, but the distinction is inferable, so it falls just short of 5.

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

Usage Guidelines3/5

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

The phrase "without moving it" implies this is not the tool for relocating items, which is a weak routing signal toward move_gdrive_item. There is no explicit when-to-use/when-not statement, no prerequisite on locating the item first, and no alternative named.

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