Skip to main content
Glama

download_file

Download an iSpace file from a course content or assignment URL to a chosen destination folder (default ~/Downloads/ispace); returns the saved file path. Only iSpace URLs are accepted.

Instructions

Download an iSpace file (fileurl from course_contents / list_assignments) to dest_dir (default ~/Downloads/ispace). Returns the saved path. Only iSpace URLs are allowed.

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

Input Schema

NameRequiredDescriptionDefault
fileurlYes
dest_dirNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full disclosure burden. It does reveal useful behavior: the file is written to dest_dir (default ~/Downloads/ispace), the return value is the saved path, and inputs are restricted to iSpace URLs. It is silent on overwrite behavior, directory creation, authentication needs, and file size limits, all of which matter for a filesystem write.

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 short sentences, zero filler, with the core action and the value source front-loaded before the destination and return details.

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 two parameters, no output schema, and no annotations, the description covers the essentials: provenance of the required input, destination default, return value, and URL restriction. Overwrite and auth behavior remain unaddressed but are secondary for a simple downloader.

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 must compensate, and it largely does: fileurl is defined by its provenance and allowed domain, and dest_dir is given an explicit default path. It stops short of describing path syntax or whether dest_dir is created if absent.

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 states a specific verb (Download) and resource (an iSpace file), and names the sibling tools (course_contents / list_assignments) that produce the fileurl. An agent can distinguish this tool from the listing siblings without opening the schema.

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?

It indicates where the fileurl value comes from (course_contents / list_assignments) and adds an exclusion: 'Only iSpace URLs are allowed.' That exclusion tells the agent when not to use the tool. It does not name an alternative downloader for non-iSpace URLs, which is the only missing piece.

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