Skip to main content
Glama

minerva_download_attachment

Downloads a Minerva content attachment or embedded item to the local Downloads/minerva folder and returns the saved file path for further use.

Instructions

Download a file from a content item (an attachment id, or an "embedded-N" id from minerva_get_content) into the local Downloads/minerva folder and return its path.

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>",
      "contentId": "<contentId>",
      "attachmentId": "<attachmentId>"
    },
    "name": "minerva_download_attachment"
  }
}

Input Schema

NameRequiredDescriptionDefault
accountNoSaved account to use (see minerva_list_accounts). Only needed when several accounts are saved and the user has not chosen one yet.
courseIdYesCourse primary id like "_123456_1" (from minerva_list_courses), or the course code
contentIdYes
attachmentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this writes and reaches the network; the description correctly aligns by disclosing the concrete side effect (files land in Downloads/minerva). It adds the return value (the file path), which matters since there is no output schema, but omits overwrite behavior, filename collision handling, size/type limits, and auth/account requirements.

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: action, source, destination, and return value in order of importance. Slight nesting from the parenthetical id explanation, but nothing is redundant.

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 4-parameter, no-output-schema tool, the description covers destination and return value, which is the most important missing structured information. It still leaves contentId undefined and says nothing about failure modes or overwrite behavior, so an agent could call it correctly but not predict edge cases.

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 only 50%, so the description must carry weight, and it does for attachmentId by explaining the "embedded-N" format and its source tool. However, contentId has no schema description and no explanation in the text, and the account parameter's guidance lives entirely in the schema, leaving a real gap.

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 gives a specific verb and resource ("Download a file from a content item") and clarifies that attachmentId may be a raw id or an "embedded-N" id produced by minerva_get_content. That linkage to minerva_get_content is what separates it from the sibling that merely lists content, though it never explicitly states "do not use this for X".

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the parenthetical tells the agent where attachment ids come from (minerva_get_content), and the schema mentions minerva_list_courses for courseId. There is no explicit when-to-use, no precondition checks, and no exclusions against other download/read paths.

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