Skip to main content
Glama

List downloadable files in a course

bb_list_files
Read-only

Walks a course to list every readable document, including attachments, embedded files, and linked Google Docs, Slides, or Sheets. Returns name, type, size, and contentId for retrieval.

Instructions

Walks a course and lists every readable document: attached files, attachments, files embedded in page bodies, and content items that link to Google Slides, Docs or Sheets. Returns name, type, size and the contentId needed to fetch each one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deepNoAlso probe every item for attachments and embedded files. Slower but complete. Default false.
courseIdYesCourse id, e.g. "_12345_1".
maxNodesNoTree walk cap. Default 600.
extensionNoFilter by extension, e.g. "pdf" or ".pptx".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior4/5

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

The annotations already provide readOnly and openWorld hints, and the description adds useful behavioral detail: it walks the course, includes embedded and linked documents, and returns metadata rather than file bytes. It does not discuss pagination or rate limits, but given the annotations this is sufficient.

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?

The description is two short sentences with a clear action verb and concrete enumerations. It avoids boilerplate and every clause adds useful detail about scope or return value.

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?

With no output schema provided, the description names the returned fields meaningfully (name, type, size, contentId). It could mention pagination/limits or clarify that only readable items are returned, but the core behavior is sufficiently complete for a simple list operation.

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?

The JSON schema already describes the parameters, including the meaning of deep and maxNodes. The description adds no parameter-specific instructions, but full schema coverage makes that acceptable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the action: it walks a course and lists every readable document. It enumerates the exact item types covered (attached files, embedded files, and Google Docs/Slides links) and states the returned fields, making the tool's role unmistakable and distinct from generic list-content or course-structure tools.

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 description implies when to use the tool by saying it lists files and returns contentId for fetching, but it does not explicitly contrast it with sibling tools or state when not to use it. This is adequate but not actively helpful for routing.

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