Skip to main content
Glama

list_drives

Read-only

Retrieve shared Team Drives available to the authenticated account, with optional name filtering and a configurable result limit.

Instructions

List shared (Team) Drives accessible to the authenticated account.

Args: query: Optional filter string. Supports Drive query syntax, e.g. 'name contains "Marketing"'. If omitted, all accessible shared drives are returned. max_results: Maximum number of drives to return (default 100, max 200).

Returns: List of shared drives, each with id, name, createdTime, and a capabilities summary (canAddChildren, canManageMembers, etc.).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_drives"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNo
max_resultsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.6

TDQS

A3.7/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes this is a non-mutating read, so the description's main added value is the filter syntax and the 200-item ceiling. It does not say what happens when more than 200 drives match (no pagination or truncation note) or what permissions/scopes are needed. Useful but not deep beyond the annotations.

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?

The lead sentence states the purpose up front, followed by compact Args/Returns blocks that are easy to scan. The Returns section partially restates what the output schema likely covers, which is minor waste but not harmful.

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 optional parameters and an output schema present, the definition is close to sufficient, and it correctly avoids over-explaining return values. However, the absence of any note on result truncation/pagination when the 200 cap is hit leaves a real operational gap for an enumeration tool.

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 carries the full burden and largely does: it documents 'query' with Drive query syntax and a concrete example ('name contains "Marketing"'), and states the max_results ceiling of 200 on top of the schema default of 100. It does not clarify which fields the query can target, leaving a modest gap.

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 opens with a specific verb plus resource and scope: 'List shared (Team) Drives accessible to the authenticated account.' That distinguishes it from a plain file/folder listing by narrowing to shared drives. It does not name a sibling or explicitly contrast itself with adjacent list tools, so it stops short of a 5.

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 clear context for when the tool applies (enumerating shared drives for the authenticated account) and explains that omitting the filter returns everything. It never names an alternative for case-by-case file lookup or 'shared with me' items, so there are no explicit exclusions.

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