Skip to main content
Glama

List linked files

canvas_list_linked_files
Read-only

Find course files like slides, lab instructions, and exercise sheets by scanning pages, modules, syllabus, assignments, and announcements—even when the Files tab is hidden.

Instructions

Find the course's files (slides, lab instructions, exercise sheets) by scanning the front page, pages reachable from it and from modules, the syllabus, assignment descriptions, announcements and module items. Works even when the Files tab is hidden, so it's the default way to find course material; canvas_list_files is for the full Files area (mostly TAs/teachers). Returns file_id, display_name, size, linked_from — pass file_id to canvas_read_file.

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_linked_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
course_idYes
max_pagesNoMax wiki pages to scan, default 60

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/openWorld annotations, the description discloses the scan surface, the hidden-Files-tab fallback behavior, the returned fields, and the chaining step (pass file_id to canvas_read_file). It does not discuss cost/latency of scanning up to 200 pages, which would complete the picture for a potentially broad crawl.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the verb and the scan scope, then the sibling disambiguation, then the return contract. Dense but every clause carries information; the long first sentence slightly hurts scannability.

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?

No output schema exists, yet the description enumerates the returned fields and the follow-up tool, and it covers the main operational caveat (hidden Files tab). Only the cost implication of large page scans and guidance on tuning max_pages are left implicit.

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 coverage is 50%: max_pages is fully documented in the schema with default and bounds, while course_id is undocumented but self-evident. The description adds no meaning to either parameter — the file_id reference concerns the return value, not inputs — so this sits at the baseline.

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?

States a specific verb and resource ('Find the course's files') and immediately enumerates the sources scanned (front page, linked pages, syllabus, assignments, announcements, module items), so an agent knows exactly what this returns and how it differs from canvas_list_files.

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?

Explicitly names the alternative ('canvas_list_files is for the full Files area (mostly TAs/teachers)') and declares this tool the default path for finding course material, including the edge case where the Files tab is hidden. Both the when-to-use and the when-to-use-the-other are stated.

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