Skip to main content
Glama

getFolderInfo

Retrieve Google Drive folder metadata—including name, owner, sharing status, and parent folder—by folder ID to understand folder context before acting.

Instructions

Gets metadata about a Drive folder including its name, owner, sharing status, and parent folder.

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": {
      "folderId": "<folderId>"
    },
    "name": "getFolderInfo"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderIdYesID of the folder to get information about.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0-rc.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does signal a read-only metadata operation and enumerates the returned fields (name, owner, sharing status, parent), which is useful, but says nothing about permissions, error behavior for missing/inaccessible folders, or whether sharing status reflects inherited vs direct sharing.

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?

One sentence, front-loaded with the verb and resource, with the returned fields following. No filler or redundancy.

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?

For a one-parameter read tool with a fully documented schema this is nearly sufficient, and listing return fields compensates for the absent output schema. However, with no annotations and no output schema, an agent still lacks any statement of permissions, failure modes, or whether the call is safe/idempotent.

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?

The single folderId parameter is fully described in the schema (100% coverage), so the description adds nothing beyond it. Acceptable baseline territory, but slightly below a 3 because the description does not clarify the ID format or where it comes from.

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 ('Gets') and resource ('metadata about a Drive folder'), plus the fields returned. A reader can distinguish it from getFileInfo by the resource alone, though it never explicitly contrasts the two.

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 by the name and the word 'folder' — no statement of when to call this versus listFolderContents or getFileInfo, and no preconditions such as needing an ID obtained elsewhere.

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

Deploy Server

Other Tools