Skip to main content
Glama

aula_download_file

Download exact file bytes from the UTN virtual classroom, including assignment attachments, templates, notes, or datasets, and save them to a local folder; pass multiple URLs in one call.

Instructions

Baja archivos del aula tal cual son (los bytes exactos, cualquier formato: ipynb, docx, zip, datasets...) para que el usuario trabaje con ellos: los adjuntos de la consigna de un TP, una plantilla, un apunte. Las url salen de aula_open; conviene pasar todas las de una consigna en una sola llamada. Los bytes no pasan por esta respuesta: si hay que subirlos a otro lado (un repo, Drive), hacelo desde donde quedaron. Para leer el contenido usá aula_read_file.

Lo que no se pudo bajar queda en omitidos con el motivo; el resto se baja igual.

Los guarda en la compu del usuario: en carpeta si la pasás (por ejemplo, la carpeta del proyecto donde va a hacer el TP) o en la de exports. No pisa nada: si el nombre ya existe, agrega -2, -3... La respuesta trae, por archivo, ruta, tamanio y sha256.

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": {
      "urls": "<urls>"
    },
    "name": "aula_download_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlsYesLas `url` de los archivos tal como las devuelve aula_open (los adjuntos de una consigna, un apunte, una plantilla). Ej: ["https://frt.cvg.utn.edu.ar/webservice/pluginfile.php/123/mod_assign/introattachment/0/TP5.ipynb"].
carpetaNoRuta absoluta de la carpeta donde guardarlos; se crea si no existe. Ej: "C:\\Users\\ana\\tps\\TP5". Por defecto, la carpeta de exports de utn-mcp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.5

TDQS

A4.8/5.0
Behavior5/5

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

Goes well past the annotations: bytes are written to the user's disk rather than returned, partial failures land in `omitidos` while the rest still download, and existing filenames are never overwritten (suffixes -2, -3). The default destination (carpeta de exports) and folder auto-creation are also disclosed, none of which the annotations convey.

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 the verb and resource, then scope, then side effects and return shape — a sensible order. It runs a bit long with a couple of sentences that restate the same idea (bytes not passing through the response), but every paragraph carries an actionable fact.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates by naming the return fields per file (`ruta`, `tamanio`, `sha256`) and the failure channel (`omitidos` with motivo). For a two-parameter download tool with partial-failure semantics, nothing an agent needs to call it correctly is missing.

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 both parameters are already documented, but the description adds the provenance constraint for `urls` (they come from aula_open) and the batch semantics of passing all attachments in one call. The `carpeta` behavior (project folder for the TP, fallback to exports) is restated but with practical framing rather than new syntax.

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 and resource ('Baja archivos del aula tal cual son, los bytes exactos, cualquier formato') and enumerates the concrete use cases (adjuntos de la consigna, plantilla, apunte). It explicitly distinguishes itself from aula_read_file ('Para leer el contenido usá aula_read_file') and points to aula_open as the source of `url`, so an agent can pick it out of the sibling set.

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?

Gives explicit when-to-use (trabajar con el archivo tal cual), a batching rule ('conviene pasar todas las de una consigna en una sola llamada'), and a named alternative for the read-content case (aula_read_file). It also tells the agent what to do downstream when re-uploading elsewhere.

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