Skip to main content
Glama
Google Workspace MCP Server

Google Workspace MCP Server

by akilja24

transfer_drive_ownership

Transfers ownership of a Google Drive file or folder to another user, making the current owner an editor. Use for irreversible handoffs within the same Workspace domain or personal accounts.

Instructions

Transfers ownership of a Google Drive file or folder to another user.

This is an irreversible operation. The current owner will become an editor. Only works within the same Google Workspace domain or for personal accounts.

Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file or folder to transfer. Required. new_owner_email (str): Email address of the new owner. Required. move_to_new_owners_root (bool): If True, moves the file to the new owner's My Drive root. Defaults to False.

Returns: str: Confirmation of the ownership transfer.

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": {
      "user_google_email": "<user_google_email>",
      "file_id": "<file_id>",
      "new_owner_email": "<new_owner_email>"
    },
    "name": "transfer_drive_ownership"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
new_owner_emailYes
user_google_emailYes
move_to_new_owners_rootNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.13.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it flags the operation as irreversible, explains the consequence for the current owner (becomes an editor), and names the cross-domain restriction. It stops short of stating the permission prerequisite (caller must be the owner), whether the new owner must accept the transfer, or any rate-limit 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?

The purpose and the irreversibility warning are front-loaded in the first two sentences, then the constraint, then per-parameter detail. The Args block is compact and every line adds information an agent needs.

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 high-stakes irreversible mutation this is close to complete: consequence, scope limit, and parameter behavior are all covered, and the return value is already specified by an output schema, making the Returns block redundant but harmless. The remaining gap is the ownership prerequisite and whether the recipient must accept, which matters for a transfer call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 it does — all four parameters are documented with meaning beyond their names, including that file_id may be a file or folder and that move_to_new_owners_root relocates the item into the new owner's My Drive root with a False default. Only the format/validation expectations for the email fields are unstated.

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?

The description leads with a specific verb and resource — 'Transfers ownership of a Google Drive file or folder' — which is a distinct action from the neighboring share_drive_file, set_drive_file_permissions, and update_drive_permission tools. An agent can immediately tell this changes owner rather than granting access.

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 supplies a real eligibility constraint ('Only works within the same Google Workspace domain or for personal accounts'), which is useful context for selecting the tool. However, it never states when to prefer this over granting permissions via share_drive_file, nor that the caller must currently own the file — so routing guidance is implied rather than explicit.

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