Skip to main content
Glama
software-engineer-mj

google-drive-mcp

search_files

Find files in Google Drive by name, type, or other criteria using search queries.

Instructions

Search for files in Google Drive using query syntax.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesGoogle Drive search query. Examples: "name contains 'report'", "mimeType = 'application/pdf'".
corporaNoSource of files: 'user' (default), 'drive', or 'allDrives'.
drive_idNoID of the shared drive when corpora='drive'.
page_sizeNoMaximum number of results to return (1-100).
page_tokenNoToken for the next page of results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

Without annotations, the description should disclose behavioral traits like read-only nature, pagination behavior, or rate limits. It only says 'Search for files,' omitting any context about side effects, quotas, or output structure beyond what the schema shows.

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?

The description is a single, front-loaded sentence of 9 words. It efficiently conveys the core purpose without unnecessary detail, earning its place.

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?

Given 5 parameters and an output schema, the description is too minimal. It lacks information about pagination, query syntax examples (though schema has some), and when to use this tool among many file-related siblings.

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%, so the schema already defines all parameters well. The description adds no additional parameter context or usage tips, resulting in a baseline score of 3.

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 'Search for files in Google Drive using query syntax,' which clearly identifies the action and resource. It vaguely distinguishes from siblings like list_files by mentioning query syntax, but doesn't explicitly contrast with related tools like search_file_content.

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?

No guidance is provided on when to use this tool versus alternatives. For example, it doesn't explain differences from list_files or search_file_content, nor does it mention prerequisites or typical use cases.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/software-engineer-mj/google-drive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server