Skip to main content
Glama
software-engineer-mj

google-drive-mcp

search_file_content

Find files by searching their text content. Specify the text to search and optionally filter by file type or drive location.

Instructions

Search for files by their text content. Finds files containing the specified text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe text to search for within file contents.
corporaNoSource of files: 'user' (default), 'drive', or 'allDrives'.
drive_idNoID of the shared drive when corpora='drive'.
file_typeNoOptional MIME type filter (e.g., 'text/plain', 'application/pdf').
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?

With no annotations provided, the description carries the full burden of behavioral disclosure. It only states the basic purpose and does not mention pagination, scope (e.g., corpora), performance considerations, or any side effects. The schema provides some details but the description adds minimal transparency.

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?

The description is short with two sentences, front-loading the purpose. It is efficient with no wasted words, though a slightly more structured format could improve scannability.

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 the tool has 6 parameters and an output schema, the description is too brief. It does not explain nuances like the difference between corpora options, pagination behavior, or how to interpret results. An output schema exists but the description lacks complementary context.

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 parameter descriptions are already comprehensive. The tool description does not add any extra meaning beyond what is in the schema, 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.

Purpose5/5

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

The description clearly states the tool searches files by text content, distinguishing it from sibling tools like search_files which likely search by name or metadata. 'Search for files by their text content' is a specific verb+resource combination.

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

Usage Guidelines4/5

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

The description implies usage for text content search, and the sibling list includes search_files which serves a different purpose. However, no explicit when-to-use or when-not-to-use guidance is given, though the context is clear enough.

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