Skip to main content
Glama

list_course_files

Read-only

List files in a Canvas course. Optionally filter by name and sort by date, size, or type.

Instructions

List files in a Canvas course with optional search.

    Args:
        course_identifier: Course code or Canvas ID
        search_term: Filter files by name
        sort: Sort field: name, size, created_at, updated_at, content_type (default: updated_at)
        order: "asc" or "desc" (default: desc)
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
course_identifierYes
search_termNo
sortNoupdated_at
orderNodesc

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds behavioral details (optional search, sorting options) without contradiction, providing useful context beyond the annotation.

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 succinct, uses a clear parameter list format, and front-loads the core purpose with no redundant information.

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?

Given the tool's complexity (4 parameters, no schema descriptions, output schema exists), the description covers all necessary usage aspects but omits details like pagination or limits, which is acceptable for a list tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, the description fully explains each parameter: course_identifier, search_term, sort (with allowed values), and order (asc/desc), adding critical meaning beyond the schema.

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 states the action ('list files') and the resource ('in a Canvas course'), distinguishing it from sibling tools like download_course_file or read_course_file.

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 usage for listing files with optional search but does not explicitly state when to use this tool versus alternatives such as download_course_file or read_course_file.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishalsachdev/canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server