Skip to main content
Glama

List files

canvas_list_files
Read-only

List all uploaded files in a Canvas course Files area, newest first, with optional name search; includes unlinked files.

Instructions

The course's Files area, newest first, with optional name search: every uploaded file, including ones nothing links to. Usually only TAs/teachers may see it; for students it falls back to the files linked from the course. To find course material (slides, lab instructions) as a student, use canvas_list_linked_files instead, which also says where each file is linked from.

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
searchNo
course_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already establish readOnlyHint=true, destructiveHint=false, openWorldHint=true, so the safety profile is covered. The description adds behavior the annotations cannot express: role-dependent permissions (usually TAs/teachers only) and the student fallback to linked files only. That permission-variance disclosure is the most valuable thing an agent can know before trusting the result set.

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?

Three sentences, each doing distinct work: what it returns, who can see it, and where to go instead. The scope/ordering fact is front-loaded and the sibling hand-off comes last where it belongs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description still covers the result set (all files, including unlinked), the ordering, the permission-dependent variability, and the alternative route. For a two-parameter read tool, nothing an agent needs to select and trust the call is missing.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the burden for both parameters. It clarifies that the string parameter is a name search (not full-text or body content) and that the operation is scoped to a single course, which is real added meaning. It stops short of stating match semantics (substring, case sensitivity) or that course_id accepts an ID.

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 first sentence names a specific resource (the course's Files area), the ordering (newest first), and the search capability, plus the crucial scope fact that it returns every uploaded file including unlinked ones. That scope clause is exactly what separates it from canvas_list_linked_files, which is also named.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use-other condition: students looking for course material (slides, lab instructions) should call canvas_list_linked_files instead, and it explains why (that tool also reports where each file is linked from). This is unambiguous routing rather than implied usage.

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