Skip to main content
Glama

cms_download

Idempotent

Download course files from the GIU CMS into a local folder organized by course, week, and title. Filter by week, content type, or IDs, and set overwrite or video options.

Instructions

Save course files to the local download folder (default ~/Downloads/GIU), organised as //<number - title>. Files already there are skipped unless overwrite.

Pick files with content_ids, or filter by week (e.g. "2026-11-21"), content_type (e.g. "Lecture slides"); with no filter, every file of the course is downloaded. Videos are skipped unless include_videos=True.

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": "<course>"
    },
    "name": "cms_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
weekNo
courseYes
overwriteNo
season_idNo
content_idsNo
content_typeNo
include_videosNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false, idempotentHint=true, openWorldHint=true and readOnlyHint=false, so the write-to-disk nature is partly covered. The description adds useful detail — the concrete destination path, skip-existing semantics that explain the idempotent hint, and the default exclusion of videos. No permission, error, or return-summary information is given, so this is a modest addition rather than rich behavioral disclosure.

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?

Two tight paragraphs, front-loaded with the action and destination, then the selection logic. Every sentence carries information — path layout, filter precedence, skip behavior, and video default — with no filler.

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?

For a seven-parameter mutation tool with no schema descriptions and no output schema, the description covers most operational behavior well. However, season_id is left entirely unexplained (including how it interacts with course or week), and nothing indicates what the tool returns — e.g., counts of downloaded versus skipped files — which matters given there is no output schema.

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?

With 0% schema description coverage, the description carries the full burden and mostly succeeds: it explains course, week (with a date example), content_type (with an example), content_ids, overwrite, and include_videos. The notable gap is season_id, which is one of the seven parameters and is never mentioned or related to course/week.

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?

States a concrete verb and resource — saving course files to a local download folder — and even specifies the on-disk layout (<course>/<week>/<number - title>). It does not explicitly contrast with siblings like cms_read_file or cms_course_content, so an agent must infer that this is the bulk-download counterpart, but the purpose itself is unambiguous.

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?

Gives clear operational context: files can be selected via content_ids, or filtered by week or content_type, and with no filter the entire course is downloaded. It also flags that existing files are skipped unless overwrite is set and videos are excluded by default, which tells the agent when the default behavior may not be what's wanted. It stops short of naming alternative tools or stating prerequisites such as enrollment.

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