Skip to main content
Glama

Drive Create Folder

drive_create_folder

Create a new folder in Google Drive, optionally inside a parent folder or shared drive. Use the returned folder ID as a parent ID in later file operations.

Instructions

Create a new Drive folder. For other empty files, such as a blank Google Doc, use drive_upload_file with only name and mime_type; to put an existing file into a folder use drive_move_file. 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); use file.id as a parent ID in later calls.

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": {
      "name": "<name>"
    },
    "name": "drive_create_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesFolder name as shown in Drive; Drive allows duplicate names.
parent_idsNoOne parent folder ID (Drive allows a single parent), or a shared drive ID to create it at that drive's top level; omit to create it in the root of My Drive.

Output Schema

NameRequiredDescriptionDefault
fileNo
statusNoMachine-readable operation status.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.2.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false and openWorld=true, so the bar is lower; the description still adds the follow-on behavior (returns status 'ok' plus a file object) and the chaining pattern 'use file.id as a parent ID in later calls'. The non-idempotent hint is reinforced by the duplicate-name note. It does not mention that targeting a shared drive requires membership on that drive, which is the main remaining 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?

Purpose is front-loaded in the first sentence and the sibling routing follows immediately. The third clause enumerating every returned field is dense and partially duplicates the output schema, costing some tightness but not obscuring the core instruction.

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

Completeness5/5

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

For a two-parameter creation tool with a rich annotation set and an output schema, the definition covers what it does, when to prefer it, what comes back, and how to reuse the result. Nothing an agent needs 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 coverage is 100% and both parameters are fully documented in-schema (including the single-parent constraint and the root-of-My-Drive default), so the description does not need to restate them. Its only real addition is linking the returned file.id back to the parent_ids parameter, which is modest added meaning; baseline 3 is appropriate.

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?

Opens with a specific verb+resource ('Create a new Drive folder') and immediately distinguishes itself from the two siblings that plausibly overlap (drive_upload_file for other empty files, drive_move_file for relocation). An agent can pick this tool without opening 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 Guidelines5/5

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

Explicitly routes the agent: blank Google Doc or other empty file → drive_upload_file with only name and mime_type; existing file into a folder → drive_move_file. Both the when and the when-not are stated with concrete conditions rather than implied.

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