Skip to main content
Glama

Drive List

drive_list
Read-only

List the files and subfolders inside a Google Drive folder using its folder ID, returning each item's ID, name, and MIME type.

Instructions

List children of a Drive folder by folder ID.

Returns a list of dicts, each with keys: id, name, mime_type.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-100)
folder_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered. The description adds the return shape (a list of dicts with id, name, mime_type), but says nothing about pagination, whether the listing is recursive or direct-children-only, ordering, or what happens when the folder is empty or inaccessible – relevant for a listing tool capped at 100 results.

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 short sentences, purpose front-loaded, return shape second. No filler, no restatement of the title, and no redundancy with structured fields.

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?

An output schema exists, so the description did not need to enumerate return keys, yet for a simple two-parameter read tool the essentials are covered. The remaining gap is listing behavior – pagination and whether results are direct children only – which matters since limit caps at 100.

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 50%: limit is documented in the schema ('Max results (1-100)') but folder_id has no schema description. The description compensates partially by stating the operation is keyed on a folder ID and enumerates its children, which clarifies folder_id's role. It adds little on limit beyond the schema, so baseline 3 applies.

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?

States a specific verb and resource: 'List children of a Drive folder by folder ID.' That is far more precise than the name alone and implicitly separates it from single-item reads like drive_get and query-based drive_search. It stops short of explicitly naming a sibling to contrast with, so a 4 rather than 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?

Usage is only implied by the phrase 'children of a Drive folder' – an agent can infer this is the browse-by-parent tool rather than search or get. There is no explicit statement of when to prefer drive_search over this, nor any prerequisite or exclusion noted.

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