Skip to main content
Glama

Search my Drive

search_my_drive
Read-onlyIdempotent

Searches the signed-in person's Google Drive, including files shared with them. Returns file ids, names, types, modified times and owners — not contents. Read-only. Sign-in required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_my_drive"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesDrive search, e.g. "retainer" or "name contains 'retainer'" or "mimeType = 'application/pdf'".
max_resultsNoMax files, newest modified first, 1-25. Defaults to 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / max_results
      Added value: +{
      +  "description": "Max files, newest modified first, 1-25. Defaults to 10.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / query
      Added value: +{
      +  "description": "Drive search, e.g. \"retainer\" or \"name contains 'retainer'\" or \"mimeType = 'application/pdf'\".",
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "query"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuinely useful context beyond them: the auth requirement and the fact that results include files shared with the user. It says nothing about pagination or result limits beyond what the schema's max_results implies.

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?

Front-loaded with the core action and scope, then the return contents, then read-only and auth constraints. Four short clauses with no wasted wording, though the return-value sentence could be trimmed given the schema covers parameters.

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

Completeness4/5

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

For a two-parameter read tool with full annotations and complete schema descriptions, this covers action, scope, auth, and return shape. Only minor details like result ordering beyond the schema note or pagination behavior are absent, and the tool is simple enough that they are not critical.

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%, with query examples and max_results bounds documented directly in the schema. The description adds no further meaning about the query syntax or the max_results cap, so the baseline 3 applies.

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 ("Searches the signed-in person's Google Drive") and scopes it to include files shared with the user. It does not explicitly name or rule out sibling tools like search_dropbox or search_onedrive, so differentiation relies on the product name alone.

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 context: read-only, sign-in required, and notably that it returns metadata rather than contents, which signals the boundary with a file-reading tool. It never names an explicit alternative, so there is no full when/when-not routing guidance.

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