Skip to main content
Glama

list_course_files

Read-only

Retrieve files from any Canvas course using its code or ID, filter by name, and sort results by size, date, or type.

Instructions

List files in a Canvas course with optional search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort field: name, size, created_at, updated_at, content_type (default: updated_at)updated_at
orderNo"asc" or "desc" (default: desc)desc
search_termNoFilter files by name
course_identifierYesCourse code or Canvas ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.10.0
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. Changed13 schema fields changedv1.8.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / course_identifier / description
      Added value: +"Course code or Canvas ID"
    • removedInput schema / properties / course_identifier / title
      Removed value: -"Course Identifier"
    • addedInput schema / properties / order / description
      Added value: +"\"asc\" or \"desc\" (default: desc)"
    • removedInput schema / properties / order / title
      Removed value: -"Order"
    • addedInput schema / properties / search_term / description
      Added value: +"Filter files by name"
    • removedInput schema / properties / search_term / title
      Removed value: -"Search Term"
    • addedInput schema / properties / sort / description
      Added value: +"Sort field: name, size, created_at, updated_at, content_type (default: updated_at)"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / title
      Removed value: -"list_course_filesArguments"
    • removedOutput schema / properties / result / title
      Removed value: -"Result"
    • removedOutput schema / title
      Removed value: -"list_course_filesOutput"
    • addedOutput schema / x-fastmcp-wrap-result
      Added value: +true
  3. Addedv1.3.0

TDQS

A3.7/5.0
Behavior3/5

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

readOnlyHint correctly signals a safe read, and the description does not contradict it, but it adds little behavioral detail beyond 'optional search'. There is no disclosure of pagination, result scope, or file metadata vs content.

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 front-loaded sentence states the resource and key capability without repetition or filler.

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 listing tool with fully documented schema and a readOnly annotation, the description is adequate. However, without an output schema, it could usefully mention what the returned file list contains or any size limits.

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 the schema already documents all four parameters. The description's 'optional search' only echoes search_term and contributes no additional semantic detail.

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?

Description clearly identifies the action ('List'), the resource ('files in a Canvas course'), and an optional behavior (search). This distinguishes it from file-content siblings like download_course_file, read_course_file, and upload_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 operation is implied by the verb 'List' but there is no explicit when-to-use/when-not-to-use guidance or mention of alternatives for retrieving or uploading files. The 'optional search' hints at the search_term parameter but does not define use cases or exclusions.

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