Skip to main content
Glama

listSharedDrives

Retrieve all Google Shared Drives available to the authenticated user, then use a returned drive ID to browse its folders and files.

Instructions

Lists all Shared Drives (Team Drives) the user has access to. Use the returned drive ID with listFolderContents to browse its contents.

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": "listSharedDrives"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageTokenNoToken for fetching the next page of results.
maxResultsNoMaximum number of shared drives to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It states the access-scope behavior ('the user has access to') and that a drive ID is returned, but it says nothing about pagination for large drive sets, ordering, or authorization requirements; 'Lists all' is slightly at odds with the paginated 100-item cap that only the schema reveals.

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?

Two sentences, zero waste, with the core action stated first and the actionable follow-up second. Every sentence contributes distinct information.

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 simple, parameterless-required read tool with a fully documented schema and no output schema, the description covers purpose, scope, and the next step in a workflow. The only omission is any hint about handling multiple pages of results, which the schema partly covers.

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 description coverage is 100%, with pageToken and maxResults fully documented in the schema, so the baseline is 3. The description adds no extra meaning about paging behavior or sensible maxResults values beyond what the schema already provides.

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 gives a specific verb and resource ('Lists all Shared Drives (Team Drives)') plus a scope qualifier ('the user has access to'), and it also resolves the Team Drives alias. It does not distinguish itself from near-siblings like listSharedWithMe or listDriveFiles, which is the only reason it falls 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 Guidelines3/5

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

It supplies a concrete follow-up workflow ('Use the returned drive ID with listFolderContents to browse its contents'), which implies when to use it. However, it gives no explicit when-not guidance and does not explain why an agent should pick this over listDriveFiles or listSharedWithMe for discovering drives.

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