Skip to main content
Glama

canvas_list_files

List all files in a Canvas course, optionally within a specific folder, with search and sorting by name, size, or dates to locate course materials.

Instructions

List all files in a course, optionally within a specific 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": {
      "course_id": "<course_id>"
    },
    "name": "canvas_list_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort files by field
course_idYesThe Canvas course ID
folder_idNoOptional folder ID to list files from a specific folder
search_termNoSearch for files by name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden but says nothing about permissions, pagination, result limits, whether subfolders are traversed, or what a file record contains. For a list operation on a course resource, the absence of any pagination or scope-depth disclosure is a meaningful gap.

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?

A single short sentence with the resource and scope front-loaded and zero redundant wording. Nothing could be removed without losing information.

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?

There is no output schema and no annotations, so the description is the only source for behavioral context, yet it omits return shape, pagination, and subfolder semantics. Given the parameters are fully described in the schema, this is minimally adequate but not complete for a tool an agent must call blind.

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 100%, so all four parameters (course_id, folder_id, sort, search_term) are already documented with enums for sort. The description only restates the folder_id behavior, adding no syntax, format, or interaction details (e.g., search_term combined with folder_id) beyond the schema.

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?

The description gives a specific verb and resource ('List all files in a course') and states the optional folder scoping, which is enough to distinguish it from siblings like canvas_list_folders or canvas_download_file. It stops short of explicitly naming a sibling or stating what makes this different from a folder-listing call.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of when to prefer canvas_list_folders versus this tool, and no note about following up with canvas_download_file to retrieve content. The only usage hint is the optional folder scope, which is about a parameter rather than tool selection.

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