Skip to main content
Glama

drive_search

Read-only

Search Google Drive files by filename with optional MIME type filter. Returns file IDs, names, and types.

Instructions

Search Drive files visible to Hermes by filename.

Optionally filter by MIME type (e.g., 'application/pdf', 'application/vnd.google-apps.spreadsheet').

Returns a list of dicts, each with keys: id, name, mime_type.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
mime_typeNo
limitNoMax results (1-100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description need not restate safety. It adds value by specifying the search criteria (by filename) and the return format (list of dicts with id, name, mime_type). However, it does not disclose search behavior details like case sensitivity, partial matching, or pagination, which would be useful.

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 two sentences plus a return type note, with no wasted words. It is front-loaded and includes examples, making it easy to parse quickly.

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?

Given the existence of an output schema and annotations, the description covers the basics but leaves ambiguity about search semantics (e.g., exact match vs substring, case sensitivity) and the meaning of 'visible to Hermes'. For a search tool, more detail on behavior would enhance completeness.

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

Parameters4/5

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

With only 33% schema description coverage (only limit has a description), the description compensates by clarifying that the query parameter is for filename search, and gives examples for mime_type. The limit parameter is already described in the schema, so no extra credit. The description adds meaningful context beyond the raw schema.

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 Drive files by filename, with optional MIME type filter. This distinguishes it from sibling tools like drive_list (which likely lists all files) and drive_get (retrieves a specific file). The verb 'search' and resource 'Drive files' are specific, and the return structure is provided.

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?

The description implies usage for finding files by name, but does not explicitly state when to use this tool over alternatives like drive_list or drive_get. No exclusions or when-not-to-use guidance is provided, leaving the agent to infer from the tool name and description.

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/jimmy-larsson/hermes-google'

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