Skip to main content
Glama

Drive Create Folder

drive_create_folder

Create a Google Drive folder by name, optionally under a specified parent or the configured default. Confirm before calling and list the parent first to avoid duplicate folder names.

Instructions

Create a Drive folder. Requires user confirmation before calling.

If parent_folder_id is omitted, the folder is created in the configured default parent folder. Drive allows several folders with the same name in one parent, so list the parent with drive_list first.

Returns dict with keys: id, name, mime_type, parent_folder_id (the parent used, or null for the account's own root).

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
nameYes
parent_folder_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.1

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations (non-idempotent, non-destructive, closed-world), the description discloses the human-confirmation requirement and the duplicate-name hazard that an agent must reason about before writing. That is meaningful behavioral context the annotations do not convey; the return-keys sentence adds little since an output schema exists.

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 with the action and the confirmation prerequisite, then the defaulting rule, then return shape. The trailing return-keys sentence duplicates the output schema and could be dropped, but the rest is tight and well-segmented.

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 create tool with an output schema available, this covers the decision-relevant pieces: confirmation requirement, default parent behavior, duplicate-name risk, and the null-parent return case. Nothing an agent needs to invoke it correctly appears missing.

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 carry the load. It explains the semantics of omitting parent_folder_id (falls back to the configured default parent) and the null/root case, which the bare schema does not; only the 'name' parameter is left self-evident.

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 first sentence states a specific verb and resource (create a Drive folder), which an agent can distinguish from siblings like drive_list or drive_delete. It does not explicitly contrast with other create tools, but the resource is unambiguous.

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

Usage Guidelines4/5

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

It gives a clear precondition (user confirmation required) and a concrete pre-step (list the parent with drive_list first because duplicate names are allowed). It stops short of saying when not to use it or naming an alternative creation path, but the guidance is actionable.

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