Skip to main content
Glama

drive_search

Search Google Drive file names and content, then filter matches by type, owner, starred status, or modification date to locate specific files.

Instructions

Search Drive (file names and content) and return the matching items, optionally filtered by type, owner and modification date.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoOnly items of this type: folder, document, spreadsheet, presentation, pdf, image, video, audio, drawing, form, archive, site, shortcut.
limitNoMax items to return.
ownerNoOnly items owned by "me" or by this e-mail address.
queryNoSearch text (any Unicode, e.g. accented letters); may be empty when a filter is given.
starredNoTrue = only starred items.
locationsNoAlso read each result's folder ("location", from its details; ~3 s per item).
modified_afterNoOnly items modified after this day (YYYY-MM-DD).
modified_beforeNoOnly items modified before this day (YYYY-MM-DD).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does convey that this is a non-mutating retrieval operation with optional filters. It stays silent on result ordering, pagination/truncation behavior under the default limit of 30, and the notable cost implication of the locations parameter — that cost is only in the schema, not the description.

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?

A single front-loaded sentence that leads with the search scope and then qualifies the filters — no filler. It is arguably a touch thin for an 8-parameter tool, but nothing is wasted.

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

Completeness3/5

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

For a tool with 8 optional parameters, no annotations, and no output schema, the description covers purpose and filter intent but not what a result item looks like or how empty queries behave. The rich schema compensates on parameters, but the absence of annotations means more behavioral disclosure would have been warranted.

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 each of the 8 parameters is already documented in structured data; baseline 3 applies. The description echoes three of them (type, owner, modification date) but adds no syntax, defaults, or interaction guidance (e.g., empty query combined with a filter) beyond the schema.

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?

States a specific verb and resource ("Search Drive (file names and content)") plus the return shape and the filter axes. An agent can distinguish it from drive_list or drive_location on intent, though the description never names those siblings explicitly.

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?

Usage is implied by the verb "search" and the note that results may be "optionally filtered" — so an agent infers this is the query-by-text tool rather than the browse tool. But there is no explicit when-to-use/when-not statement and no pointer to drive_list or drive_location for enumeration versus search.

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

Deploy Server

Other Tools