Skip to main content
Glama
D2L BrightSpace MCP

D2L BrightSpace MCP

Download File

download_file

Retrieve course materials and assignment submissions from Brightspace. Quickly save specific files to any local directory for offline access or archiving.

Instructions

Download a file from course content or assignment submissions to a local directory. Use this when the user wants to download, save, or get a file from Brightspace course content or dropbox submissions. Example: "Save the week 4 problem set PDF to my homework folder." IMPORTANT: You MUST ask the user where they want to save the file before calling this tool. Never guess or assume a download directory. After identifying the file to download, suggest a clean readable filename to the user (e.g., 'Lecture 7 - Memory Management.pdf' instead of 'L07_CS251_2026SP_v2.pdf') and ask if they'd like to rename it. Pass their preferred name as customFilename, or omit it to keep the original.

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": {
      "courseId": "<courseId>",
      "downloadPath": "<downloadPath>"
    },
    "name": "download_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdNoSpecific file ID within a dropbox submission.
topicIdNoContent topic ID to download (for course content files).
courseIdYesCourse ID the file belongs to.
folderIdNoDropbox folder ID (for submission/feedback file downloads).
downloadPathYesAbsolute path to the directory where the file should be saved.
customFilenameNoCustom filename for the downloaded file (include extension). If not provided, uses the original filename from Brightspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose key behavior: this writes to the local filesystem, the save location must never be guessed, and the filename can be overridden. It omits what happens on name collision (overwrite vs. fail), permission requirements, and what the call returns on success.

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?

Front-loaded with purpose, then usage trigger, then the mandatory workflow, so the most important constraint (ask for download path) lands before the caller acts. The illustrative example is useful rather than filler, though the naming-guidance sentence is slightly verbose.

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?

Covers the full calling workflow for a 6-parameter mutation with no annotations and no output schema. The remaining gap is post-call behavior — no statement of what the tool returns (e.g., saved path or confirmation) or how errors like an invalid path are surfaced.

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 coverage is 100%, so baseline is 3; the description earns an extra point by explaining the decision process for customFilename (suggest a clean name, pass user's preference, omit to keep original). It does not clarify when to use fileId+folderId versus topicId, which is the main ambiguity among the six parameters.

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 (download) plus the resource (a file from course content or assignment submissions) and the destination (a local directory). This inherently separates it from sibling listing tools such as get_assignment_files and get_course_content, so an agent can pick correctly without opening a schema.

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 triggering user intents ("download, save, or get a file") and gives a concrete example. It also imposes a hard prerequisite workflow: ask the user for the destination directory first, and offer a readable filename rename before calling.

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