Skip to main content
Glama

gws-mcp__drive_rename_file

Destructive

Rename a file or folder in Google Drive. Changes the name only: content, location, and sharing are untouched. Works on any Drive item the account can edit, including Docs, Sheets, Slides, and folders.

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>",
      "name": "<name>"
    },
    "name": "gws-mcp__drive_rename_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe new name
accountNoOptional email address of the connected account to use (e.g. 'user@gmail.com'). If omitted, the default account is used.
file_idYesThe Google Drive file or folder ID to rename

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation profile is known. The description earns credit by narrowing the blast radius explicitly ("Changes the name only: content, location, and sharing are untouched") and stating the edit-permission requirement, which is behavior an agent cannot infer from the annotations. It stops short of 5 because it doesn't mention reversibility, name collisions, or error behavior.

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 short sentences, front-loaded with the action, then the scope boundary, then the applicability domain. Every sentence carries distinct information and none repeats the schema or annotations.

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 three-parameter mutation with no output schema, the description covers action, scope of change, permission prerequisite, and supported item types — enough to call it correctly. It could go one step further by noting how to obtain file_id or what a name conflict returns, which keeps it from a 5.

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 all three parameters (file_id, name, account) are already documented in structured data. The description adds only an indirect hint about which account can edit the item; it contributes no syntax, ID-format, or conflict semantics 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 a file or folder in Google Drive") and immediately bounds the scope of the change. An agent can distinguish it from drive_move_file, drive_copy_file, and drive_share_file without consulting 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 Guidelines3/5

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

It gives an implicit applicability condition ("Works on any Drive item the account can edit, including Docs, Sheets, Slides, and folders"), which tells the agent the prerequisite permission and the item types in scope. However, it names no alternatives and gives no when-not guidance, e.g. pointing to drive_move_file for location changes or drive_search for finding the file_id.

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.