Skip to main content
Glama

drive_list_files

Read-onlyIdempotent

List files from a connected Google Drive to find documents, folders, and metadata; filter by name, folder, or limit results. Read-only access requires a linked Google account.

Instructions

List files on the user's Google Drive: {count, files: [{id, name, mime_type, size, modified, link, is_folder}], nota}. Read-only. Requires a connected Google account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax files to return.
queryNoFree text matched against the file name. Empty = most recently modified files.
folder_idNoRestrict to one folder, by id from a previous result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.3

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover readOnlyHint=true, destructiveHint=false, and idempotentHint=true, so the safety profile is declarative. The description repeats 'Read-only' (redundant with annotations) but adds the useful context that a connected Google account is required. No pagination, rate limit, or ordering behavior is disclosed beyond what schema describes.

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 core action and resource, then the response shape, then two short constraints. The inline response-shape notation is unusual but compact. Slightly awkward mixing of prose and shape notation, but no wasted sentences.

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 read-only listing tool with full schema coverage and clear annotations, the description is nearly complete: it names the resource, includes the response shape, and mentions the auth prerequisite. It only lacks explicit discrimination from sibling listing/read tools, which is minor given the distinct verb and resource.

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 schema already documents limit, query, and folder_id fully. The description does not add syntax or format hints beyond what is in the schema. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (List) and resource (files on the user's Google Drive), and distinguishes itself from siblings like drive_read_file, drive_upload_file, drive_delete_file by making clear this is a listing operation. The inline shape of the response further concretizes what 'files' means.

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?

The description implies usage ('List files on the user's Google Drive', with query/folder_id filtering described in the schema), but it never says when to use this vs drive_read_file or list_folders. No explicit when/when-not guidance is present.

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