Skip to main content
Glama

Search Google Drive

google_drive_search
Read-onlyIdempotent

Files in a mailbox user's Drive (shared drives included) whose words match: name, size, kind, when changed and its link. Free. Free.

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": "google_drive_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
mailboxNoOne of the mailboxes the agent may act as; optional when only one is connected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so the safety profile is covered. The description adds the enumeration of returned fields (name, size, kind, when changed, link), which is genuinely useful, but it says nothing about pagination, the 20-item default cap interacting with limit, or query matching semantics. The trailing 'Free. Free.' is unintelligible and adds no behavioral information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very short, but structurally broken: a verbless fragment followed by 'Free. Free.', a duplicated token that reads as a truncation artifact and cannot be parsed. Brevity here reflects under-specification rather than efficiency, and the repetition wastes what little space exists.

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?

Placeholder — see below.

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

Parameters2/5

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

Schema coverage is 33% — only 'mailbox' is documented, while 'query' (a 1-200 char free string) and 'limit' (1-50, default 20) have no schema descriptions. The description's only contribution is 'whose words match', which weakly implies free-text matching, but it does not document query syntax, whether operators/phrases are supported, or what limit does. With low coverage, the description needed to compensate and does not.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

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

The description is a noun-phrase fragment rather than a sentence: it names the resource ('Files in a mailbox user's Drive, shared drives included') but never states the action — the word 'search' appears only in the tool title, not the description. It does enumerate the result fields, which hints at a listing/search operation, but an agent must infer the verb and cannot distinguish this from siblings like google_drive_read or files_list on the text alone.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives, despite obvious siblings (google_drive_read for content, google_drive_upload, m365_files_search, files_list). The only usable scoping cue is 'shared drives included', which tells the agent the search surface spans shared drives but nothing about when this tool is the right choice.

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