Skip to main content
Glama
thrix

gcloud-workspace-mcp

by thrix

drive_get_metadata

Read-only

Retrieve metadata for a single Google Drive file by ID using user credentials. Returns common file details as JSON.

Instructions

Return metadata for a single Drive file.

Uses user credentials.

Args: file_id: The Drive file id.

Returns: A JSON object with common metadata fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds a genuinely useful behavioral detail beyond the annotations: it authenticates with *user* credentials, which matters for permission scoping on Drive files.

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 one-line purpose followed by a short auth note and the arg. The 'Returns:' block is redundant given an output schema exists, which is minor padding but not harmful.

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 single-parameter read tool with annotations and an output schema, the description covers purpose and auth context adequately; return values need not be explained. Only the absence of guidance on behavior for missing/inaccessible file ids is a gap.

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 0%, so the description carries the burden, but it only restates the schema title ('The Drive file id'). It confirms the identifier's domain but adds no format, examples, or constraints (e.g., accepts a bare id vs. a URL).

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+resource: 'Return metadata for a single Drive file.' The word 'single' implicitly separates it from the list-returning drive_search, though no sibling is named explicitly.

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?

Usage is only implied: the agent infers it should call this when it already has a file_id and wants metadata rather than content (drive_download) or a search (drive_search). No when-to-use or when-not-to-use statement is given.

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