Skip to main content
Glama

Drive Search

drive_search

Find files in the connected Google Drive (shared drives included), newest first: id, name, type, modified time and link. query matches names and file contents; leave it empty for the recently modified files. Pass an id to drive_read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many files, 1–50 (default 20).
queryNoWords to find in file names and contents; empty = recently modified files.
accountNoGoogle account e-mail to read as, when you have several; an agent reads as the account connected to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations the description must carry the behavioral load, and it does reasonably well: it is implicitly a read/list operation, discloses the result shape (id, name, type, modified time, link), the sort order, that shared drives are included, and the default behavior for an empty query. It omits auth/permission needs and pagination/volume behavior beyond the limit parameter.

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 tight sentences, zero filler, with the result shape and the query default front-loaded before the routing hint. Every clause earns its place.

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

Completeness5/5

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

Although there is no output schema, the description enumerates the returned fields, the ordering, the empty-query default, and the natural next step to drive_read — enough for an agent to select and invoke it correctly without further 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 coverage is 100%, so baseline is 3. The description restates the query semantics and the empty-query default that the schema already documents, and says nothing about `limit` or `account`, so it adds no meaning beyond the structured fields.

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?

Specific verb (find) plus resource (files in the connected Google Drive), with scope (shared drives included), ordering (newest first) and the returned fields spelled out. It also distinguishes itself from the sibling drive_read by naming it as the follow-up for a chosen id.

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?

Gives clear operating context: leave `query` empty to get recently modified files, and pass an id to drive_read for the full file. It never states when this search is the wrong choice (e.g. vs. other search-style siblings), so the routing guidance is helpful but not exhaustive.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources