Skip to main content
Glama

download_file

Retrieve a specific file from Canvas using its file ID. Optionally set a local destination for the download.

Instructions

Download a single file from Canvas by file ID.

Args: file_id: The Canvas file ID. destination: Optional local path. Defaults to ~/Downloads/.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes
destinationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the default destination behavior, which is helpful. However, it does not mention possible failures (e.g., file not found), authentication requirements, or any side effects. The description is adequate but could benefit from adding more behavioral context.

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?

The description is very concise: a single sentence for the main purpose followed by a clear bulleted list for parameters. No redundant information. Every sentence earns its place.

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?

Given the low parameter count (2), the presence of an output schema (so return values need not be explained), and the clear purpose, the description is nearly complete. It could optionally mention that the file is downloaded to the local filesystem, but the default destination already implies that. Overall, covers the key points well.

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?

The input schema provides parameter names and types but minimal descriptions (0% coverage). The description compensates by explaining that file_id is a Canvas file ID and destination is an optional local path with a default. This adds meaningful context beyond the schema.

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 description clearly states the action ('Download'), the resource ('a single file'), the source ('from Canvas'), and the identifier ('by file ID'). This is specific and distinguishes it from sibling tools like download_selected_files (multiple files) and sync_course_files (sync operation).

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

Usage Guidelines4/5

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

The description implies usage for downloading a single file by ID, which indirectly distinguishes it from alternatives. However, it does not explicitly state when not to use it or provide direct references to sibling tools. The sibling names give context, but the description could be more explicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomtranjr/canvas-control'

If you have feedback or need assistance with the MCP directory API, please join our Discord server