Skip to main content
Glama

List class Drive folder

list_class_drive_folder
Read-only

List files in a class's Drive folder or any Drive folder by course or folder identifier to review submitted work and folder contents.

Instructions

List the files in your Drive folder for a class (where Classroom stores your submitted work), or any Drive folder.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_class_drive_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
courseNoCourse: numeric id, a classroom.google.com/c/... link, or (part of) the class name
folderNoDrive folder id/link instead of a class

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/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 valuable domain context (this is where Classroom stores submitted work), but says nothing about result ordering or whether the listing is paginated for large folders.

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?

A single well-formed sentence with the primary purpose front-loaded and a useful parenthetical clarifying what the class folder contains. No filler, though the sentence is slightly tangled by the two-mode phrasing.

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 simple read-only two-parameter tool this is close to sufficient, especially with annotations covering safety. Since there is no output schema, though, the description does not characterize what the returned file entries look like or how many are returned.

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 coverage is 100%, and the schema already states that 'folder' is a Drive folder id/link instead of a class. The description's 'or any Drive folder' echoes that rather than adding syntax, format, or precedence rules for the two optional parameters.

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?

Uses a specific verb (list) and resource (files in a Drive folder) and covers both modes: a class folder where Classroom stores submitted work, or an arbitrary Drive folder. It is clearly distinguishable from write-oriented siblings like upload_to_drive or add_drive_file_attachment, though it never names an alternative tool.

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 two modes are implied by 'for a class ... or any Drive folder', which gives an agent enough to pick a parameter. However, there is no explicit when-to-use/when-not guidance and no mention of when to prefer a sibling such as get_file_info or download_file instead.

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