Skip to main content
Glama

drive_get_file

Get detailed metadata for a Google Drive file, folder, or shortcut from its ID or URL, with optional Google account selection.

Instructions

Get detailed metadata for a Google Drive file, folder, or shortcut.

Input Schema

NameRequiredDescriptionDefault
emailNoGoogle account email. May be omitted when exactly one account is configured; required when multiple accounts are configured.
file_id_or_urlYesA Google Drive file/folder ID or a Google Drive/Workspace URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it delivers essentially none. "Get" implies a safe read, but there is no statement about permissions/auth requirements, what happens with invalid IDs, or the shape of the returned metadata. One sentence of pure intent is thin for a tool with zero annotation coverage.

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?

A single front-loaded sentence with no filler, restatement of the name, or hedging. Every word earns its place, though brevity here partly reflects under-specification rather than disciplined editing.

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?

There is no output schema or annotation set, so the description bears the responsibility for behavioral and return context, and it does not specify what metadata is returned (size, mimeType, permissions, parents). For a simple two-parameter read tool with a fully documented schema, it is adequate but not complete.

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 both parameters are already documented, and the baseline is 3. The description adds only marginal value by naming the resource types (file, folder, shortcut), while the schema's own text also covers file/folder ID vs URL, so it does not meaningfully extend parameter meaning.

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?

Specific verb ("Get") plus resource ("detailed metadata for a Google Drive file, folder, or shortcut"), and "metadata" implicitly separates it from content-oriented siblings like drive_read_file and drive_download_file. It does not name those siblings explicitly, so the differentiation is inferred rather than stated.

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?

The description states what the tool returns but gives no when-to-use guidance, no conditions selecting it over drive_read_file, drive_search_files, or drive_list_folder, and no exclusions. The agent must infer the routing decision from the tool names alone.

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