Skip to main content
Glama

download_submission_file

Download a specific Canvas submission file using its file URL or file ID to retrieve assignment attachments for review or processing.

Instructions

Download a specific file from a Canvas submission using Canvas file URL or file ID.

Input Schema

NameRequiredDescriptionDefault
fileIdNoDirect Canvas file ID (alternative to submissionUrl)
courseIdNoCourse ID (helpful for authentication context)
assignmentIdNoAssignment ID (helpful for authentication context)
submissionIdNoSubmission ID (helpful for authentication context)
submissionUrlNoFull Canvas submission file URL (e.g., https://psu.instructure.com/courses/.../submissions/...?download=...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It says 'Download' but never states what the caller gets back (file bytes, a local path, a signed URL), whether anything is written to disk, or what authentication is required — despite the schema including three 'authentication context' parameters.

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?

A single front-loaded sentence with no filler. The trailing 'using Canvas file URL or file ID' is slightly redundant with the schema but does usefully signal both input modes up front.

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?

With no annotations and no output schema, the definition should say more about the download result and the roles of courseId/assignmentId/submissionId as optional context. The schema covers parameters, so the gap is primarily in behavioral and return-value framing.

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 each of the five parameters is already documented at the field level. The description only restates the fileId/submissionUrl alternatives without adding format or precedence detail beyond the schema, so the baseline 3 applies.

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 states a specific verb ('Download') and resource ('a specific file from a Canvas submission'), which is enough to distinguish it from generic readers like read_file or find_files. It does not explicitly name or contrast with those siblings, keeping it short of a 5.

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?

It explains the in-tool input alternatives (URL vs. file ID) but gives no guidance on when to choose this over read_file_by_id, read_file, or process_file. An agent has to infer that this is the submission-attachment path from the name alone.

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