Skip to main content
Glama

move_file

Destructive

Move a file or folder to another Google Drive folder by specifying its ID and the destination folder ID, returning updated metadata with the new parent.

Instructions

Move a file or folder to a different folder in Google Drive.

Args: file_id: The ID of the file or folder to move destination_folder_id: The ID of the destination folder

Returns: Updated file metadata including new parent folder

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>",
      "destination_folder_id": "<destination_folder_id>"
    },
    "name": "move_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
destination_folder_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already flag destructiveHint=true, so the safety profile is covered elsewhere. The description adds that both files and folders can be moved and that the result reflects the new parent, but it does not disclose the key behavioral detail beyond the annotation: that the item is detached from its previous parent (single-parent semantics) and what happens on conflicts or shared-drive moves.

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?

Front-loaded single-sentence purpose followed by a compact Args block. The Returns line is mildly redundant given an output schema exists, but nothing is verbose or padded.

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

Completeness3/5

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

With only two required parameters and an output schema, the description covers the mechanical minimum. For a destructive mutation tool it leaves out movement semantics (detach from old parent, multi-parent additions), permission requirements, and failure modes, so it is adequate but not complete.

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 0%, so the description must carry parameter meaning, and it does so at a basic level: file_id is "the ID of the file or folder to move" and destination_folder_id is "the ID of the destination folder." This is largely a restatement of the parameter titles, adding only the file-or-folder clarification, with no format hints or constraints.

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 uses a specific verb and resource pair: "Move a file or folder to a different folder in Google Drive." That distinguishes it in practice from copy_file, rename_file, and delete_file, though it never names a sibling or states the boundary explicitly.

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?

Usage is implied by the verb: use this to relocate a file, not to duplicate or rename it. However, there is no explicit guidance on when to prefer copy_file plus delete_file, no prerequisite notes (target folder must exist, write permission required), and no mention of what happens to the original parent.

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