Skip to main content
Glama
Google Workspace MCP
by holms

Rename Drive File

rename_drive_file

Renames a Google Drive file using its file ID and new name, enabling automation agents to update filenames for organization and clarity.

Instructions

Rename a file in Google Drive.

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": {
      "file_id": "<file_id>",
      "new_name": "<new_name>"
    },
    "name": "rename_drive_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
new_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and delivers almost nothing: it does not say permissions are required, whether the rename is reversible, whether collisions with existing names are rejected or overwritten, or whether it applies to shared drives. The only behavioral fact conveyed is that it mutates a file's name, which is implicit in the verb.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One short, front-loaded sentence with no padding, so nothing is wasted. However, the brevity is under-specification rather than efficiency, leaving no structure for guidance or constraints.

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?

An output schema exists, so return values need not be described. But for a mutation tool with zero annotations and zero parameter documentation, the description should at minimum cover target identification and rename constraints; it covers neither, leaving the definition thin relative to its write semantics.

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 0%, so the description must compensate and does not. It never explains that file_id identifies the target file or that new_name is a full replacement name, nor does it mention length/character constraints or whether an extension must be preserved.

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?

The description states a specific verb and resource: 'Rename a file in Google Drive.' This is unambiguous and distinguishes it from sibling tools like move_drive_file and delete_drive_file purely by the verb. It does not explicitly name or differentiate against those siblings, which keeps it from a 5.

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 when-to-use guidance, no mention of when rename is preferable to move or copy, and no prerequisites or conditions. The agent must infer everything about invocation context from the one-line statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.