Skip to main content
Glama

driveGetFile

Retrieves metadata for a Google Drive file using its file ID, enabling you to inspect file details without downloading the file.

Instructions

Get Google Drive file metadata.

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": {
      "file_id": "<file_id>"
    },
    "name": "driveGetFile"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not state whether the call is read-only, whether it fails for files the user cannot access, or which metadata fields come back, leaving an agent to infer all of this from the single word "Get".

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?

One short sentence with the verb and resource front-loaded and no filler. It is efficient, though its brevity is achieved partly by omitting information rather than by tight editing.

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

Completeness2/5

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

For a simple one-parameter tool the description could reasonably cover the identifier format and the shape of the returned metadata, but it does neither, and there is no output schema to compensate. An agent knows the broad intent but not what to pass or what it will receive.

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 description coverage is 0% and the single parameter file_id is documented nowhere. The description does not say whether file_id is a Drive file ID, a path, or a URL, which is exactly the kind of detail a caller needs. With one undocumented parameter this falls below the no-parameter baseline of 4.

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?

"Get Google Drive file metadata" names a specific verb and resource, which cleanly separates it from mutating siblings such as driveDeleteFile, driveMoveFile and driveShareFile. It does not explicitly mention driveListFiles, but the singular-file scope is clear from the name and text.

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 read-only retrieval intent is implied by "Get ... metadata", and the sibling set makes the listing/creating alternatives fairly obvious. However, there is no explicit statement of when to call this versus driveListFiles, nor any mention of prerequisites such as the file being accessible to the authenticated user.

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