Skip to main content
Glama

drive.teamdrives.create

Creates a Team Drive with a required idempotency key and returns the API response as JSON; use drives.create instead.

Instructions

Deprecated: Use drives.create instead [HTTP POST] — creates or triggers a change; refused under --readonly safety profiles. Returns the API's response resource as JSON — request body is a JSON TeamDrive object accepting backgroundImageFile, backgroundImageLink, capabilities, colorRgb, createdTime, id, kind, name and 3 more fields; pass it via params or whole via body_file Siblings over the same resource: delete, get, list, update.

Input Schema

NameRequiredDescriptionDefault
queryNoExtra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe.
paramsNoParameter map merged into the request; typed parameters win.
dry_runNoReturn the request that would be sent, without sending it.
body_fileNoRead the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON TeamDrive object.
requestIdYes[query parameter] Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same us
request_bodyNoRequest body of type TeamDrive: pass it via `params` (merged into the built body) or whole via `body_file`.

Output Schema

NameRequiredDescriptionDefault
idNo
kindNo
nameNo
themeIdNo
colorRgbNo
orgUnitIdNo
createdTimeNo
capabilitiesNo
restrictionsNo
backgroundImageFileNo
backgroundImageLinkNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / body_file / description
      Previous value: -"Read the request body from this file ('-' for stdin) instead of building one from the parameters."New value: +"Read the request body from this file ('-' for stdin) instead of building one from the parameters. The body is a JSON TeamDrive object."
    • addedInput schema / properties / request_body
      Added value: +{
      +  "description": "Request body of type TeamDrive: pass it via `params` (merged into the built body) or whole via `body_file`.",
      +  "properties": {
      +    "backgroundImageFile": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "width": {
      +          "type": "number"
      +        },
      +        "xCoordinate": {
      +          "type": "number"
      +        },
      +        "yCoordinate": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "backgroundImageLink": {
      +      "type": "string"
      +    },
      +    "capabilities": {
      +      "properties": {
      +        "canAddChildren": {
      +          "type": "boolean"
      +        },
      +        "canChangeCopyRequiresWriterPermissionRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeDomainUsersOnlyRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeDownloadRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeSharingFoldersRequiresOrganizerPermissionRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeTeamDriveBackground": {
      +          "type": "boolean"
      +        },
      +        "canChangeTeamMembersOnlyRestriction": {
      +          "type": "boolean"
      +        },
      +        "canComment": {
      +          "type": "boolean"
      +        },
      +        "canCopy": {
      +          "type": "boolean"
      +        },
      +        "canDeleteChildren": {
      +          "type": "boolean"
      +        },
      +        "canDeleteTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canDownload": {
      +          "type": "boolean"
      +        },
      +        "canEdit": {
      +          "type": "boolean"
      +        },
      +        "canListChildren": {
      +          "type": "boolean"
      +        },
      +        "canManageMembers": {
      +          "type": "boolean"
      +        },
      +        "canReadRevisions": {
      +          "type": "boolean"
      +        },
      +        "canRemoveChildren": {
      +          "type": "boolean"
      +        },
      +        "canRename": {
      +          "type": "boolean"
      +        },
      +        "canRenameTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canResetTeamDriveRestrictions": {
      +          "type": "boolean"
      +        },
      +        "canShare": {
      +          "type": "boolean"
      +        },
      +        "canTrashChildren": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "colorRgb": {
      +      "type": "string"
      +    },
      +    "createdTime": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "orgUnitId": {
      +      "type": "string"
      +    },
      +    "restrictions": {
      +      "properties": {
      +        "adminManagedRestrictions": {
      +          "type": "boolean"
      +        },
      +        "copyRequiresWriterPermission": {
      +          "type": "boolean"
      +        },
      +        "domainUsersOnly": {
      +          "type": "boolean"
      +        },
      +        "downloadRestriction": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "sharingFoldersRequiresOrganizerPermission": {
      +          "type": "boolean"
      +        },
      +        "teamMembersOnly": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "themeId": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • changedInput schema / properties / requestId / description
      Previous value: -"Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same us"New value: +"[query parameter] Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same us"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "backgroundImageFile": {
      +      "properties": {
      +        "id": {
      +          "type": "string"
      +        },
      +        "width": {
      +          "type": "number"
      +        },
      +        "xCoordinate": {
      +          "type": "number"
      +        },
      +        "yCoordinate": {
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "backgroundImageLink": {
      +      "type": "string"
      +    },
      +    "capabilities": {
      +      "properties": {
      +        "canAddChildren": {
      +          "type": "boolean"
      +        },
      +        "canChangeCopyRequiresWriterPermissionRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeDomainUsersOnlyRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeDownloadRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeSharingFoldersRequiresOrganizerPermissionRestriction": {
      +          "type": "boolean"
      +        },
      +        "canChangeTeamDriveBackground": {
      +          "type": "boolean"
      +        },
      +        "canChangeTeamMembersOnlyRestriction": {
      +          "type": "boolean"
      +        },
      +        "canComment": {
      +          "type": "boolean"
      +        },
      +        "canCopy": {
      +          "type": "boolean"
      +        },
      +        "canDeleteChildren": {
      +          "type": "boolean"
      +        },
      +        "canDeleteTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canDownload": {
      +          "type": "boolean"
      +        },
      +        "canEdit": {
      +          "type": "boolean"
      +        },
      +        "canListChildren": {
      +          "type": "boolean"
      +        },
      +        "canManageMembers": {
      +          "type": "boolean"
      +        },
      +        "canReadRevisions": {
      +          "type": "boolean"
      +        },
      +        "canRemoveChildren": {
      +          "type": "boolean"
      +        },
      +        "canRename": {
      +          "type": "boolean"
      +        },
      +        "canRenameTeamDrive": {
      +          "type": "boolean"
      +        },
      +        "canResetTeamDriveRestrictions": {
      +          "type": "boolean"
      +        },
      +        "canShare": {
      +          "type": "boolean"
      +        },
      +        "canTrashChildren": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "colorRgb": {
      +      "type": "string"
      +    },
      +    "createdTime": {
      +      "type": "string"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "type": "string"
      +    },
      +    "name": {
      +      "type": "string"
      +    },
      +    "orgUnitId": {
      +      "type": "string"
      +    },
      +    "restrictions": {
      +      "properties": {
      +        "adminManagedRestrictions": {
      +          "type": "boolean"
      +        },
      +        "copyRequiresWriterPermission": {
      +          "type": "boolean"
      +        },
      +        "domainUsersOnly": {
      +          "type": "boolean"
      +        },
      +        "downloadRestriction": {
      +          "properties": {
      +            "restrictedForReaders": {
      +              "type": "boolean"
      +            },
      +            "restrictedForWriters": {
      +              "type": "boolean"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "sharingFoldersRequiresOrganizerPermission": {
      +          "type": "boolean"
      +        },
      +        "teamMembersOnly": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "themeId": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden; it discloses the mutation side effect, refusal under --readonly profiles, idempotency-relevant behavior via the requestId query param context, and that the API response resource is returned as JSON. It omits permission/authorization requirements (who may create a Team Drive) and whether a missing requestId causes duplicate creation, which keeps it short of a 5.

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 deprecation and replacement, which is the single most decision-relevant fact, and there is no filler. The single long sentence with an embedded field list and sibling list is dense but each clause carries information.

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 deprecated mutation endpoint with a full output schema, the description covers routing (use drives.create), safety-profile behavior, request-body composition, and the return format. Since an output schema exists, it need not describe response fields, and nothing an agent needs to avoid or make the call 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%, so the baseline is 3. The description does add some value by enumerating the TeamDrive body fields (backgroundImageFile, colorRgb, createdTime, id, kind, name, 'and 3 more') and clarifying the params-vs-body_file routing, but the latter largely restates the schema's own parameter and request_body descriptions.

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?

Names the specific verb and resource ('creates … a TeamDrive') and immediately flags deprecation with the replacement tool, so an agent can distinguish it from drive.drives.create. The phrase 'creates or triggers a change' is a bit vague, but the closing sibling list (delete, get, list, update) makes the resource scope unambiguous.

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?

Gives an explicit alternative and exclusion: 'Deprecated: Use `drives.create` instead' plus 'refused under --readonly safety profiles.' An agent knows both the preferred tool and a hard condition under which this call fails, with no inference required.

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