Skip to main content
Glama

driveListFiles

List Google Drive files using Drive query syntax to locate documents by name or folder, with configurable result limits.

Instructions

List Google Drive files. Query uses Drive syntax, e.g. "name contains 'report'".

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

Input Schema

NameRequiredDescriptionDefault
queryNo
folder_idNo
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations provided, the description carries the full disclosure burden, and it omits key behavior: whether results are paginated, that max_results defaults to 20 (a silent truncation risk), what scope of Drive is searched, and what fields each file record contains. The mention of Drive query syntax is the only substantive behavioral detail.

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?

Two short sentences, front-loaded with the purpose and followed by the parameter hint. Nothing is padded, but it is arguably too terse given the disclosure gaps, so it is efficient rather than exemplary.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter listing tool with no output schema and no annotations, the description should explain result shape, truncation behavior, and how folder_id interacts with query. None of that is present, so an agent cannot predict what it will get back or whether it needs to paginate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it only partly does: it clarifies the query parameter's syntax with a concrete example ("name contains 'report'"), which is genuinely beyond the bare schema. However, folder_id and max_results receive no explanation at all, leaving two of three parameters semantically opaque.

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 states a specific verb and resource ("List Google Drive files"), making it immediately distinguishable from mutation siblings like driveDeleteFile or driveMoveFile. It stops short of naming how it differs from a single-file fetch such as driveGetFile, but the read/list intent is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing says when to use this versus driveGetFile, or when to combine a query with folder_id. The only usage hint is a syntax example for the query string, which addresses how to fill a parameter rather than when to call the tool.

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