Skip to main content
Glama

Drive Copy File

drive_copy_file

Create a copy of a Google Drive file, such as a template Doc or Sheet, with an optional new name, description, and destination folder; the original remains unchanged.

Instructions

Make a copy of a Drive file, such as duplicating a template Doc or Sheet. To relocate the original instead use drive_move_file, and to rename it drive_update_file_metadata. Returns status 'ok' and file (id, name, kind, mime_type, size, size_bytes, parent_ids, drive_id, web_url, trashed; null where the change does not report it) of the new copy; the source file is unchanged.

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": "drive_copy_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoName of the copy; omit to let Drive name it.
file_idYesDrive file ID: the id field of Drive and search_workspace results, or the long ID in a Drive, Docs, Sheets or Slides URL.
parent_idsNoOne destination folder ID (or a shared drive ID for its top level); omit to place the copy in the source file's folder.
descriptionNoOptional description to set on the new copy.

Output Schema

NameRequiredDescriptionDefault
fileNo
statusNoMachine-readable operation status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and idempotentHint=false, so the safety profile is partly covered. The description adds real context beyond that: the copy leaves the source file unchanged and the call returns status 'ok' plus a file object. It does not state that repeated calls each produce a new copy (idempotency in practice), which is the one meaningful gap.

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

Conciseness4/5

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

Two sentences, front-loaded with the action and the alternatives before the return detail. The parenthetical field list for the returned file object is somewhat long and partly redundant with the output schema, but it is compact and informative rather than padding.

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 four-parameter copy operation, the description covers purpose, alternatives, source-file safety, and return shape. The return-field enumeration is arguably redundant given an output schema exists, but nothing an agent needs in order 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 file_id, name, parent_ids and description are already well documented in the schema. The description adds no additional parameter guidance (e.g., destination folder behavior or naming defaults) beyond what the schema provides, 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 ('Make a copy of a Drive file') and immediately grounds it with a concrete example (duplicating a template Doc or Sheet). It also names the sibling tools it is not — drive_move_file and drive_update_file_metadata — so an agent can distinguish copy from move or rename without opening a schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use drive_move_file to relocate the original, drive_update_file_metadata to rename it. That is a clear when-not plus named alternatives, leaving nothing to inference about which tool to pick for a copy versus a move or rename.

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

Deploy Server

Other Tools