Skip to main content
Glama

miel_descargar

Idempotent

Downloads a MIeL course file to the user's local folder and returns its path, using a content ID or message attachment URL; external links are not downloaded.

Instructions

Descarga un archivo de MIeL a la compu del usuario (MIEL_CARPETA) y devuelve la ruta. Pasá contenido_id (de miel_contenidos) o url (adjunto de miel_mensaje). Los enlaces externos no se descargan: pasale el link al usuario. Para leer el contenido de un apunte, usá miel_leer.

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": {
      "materia": "<materia>"
    },
    "name": "miel_descargar"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoO la `url` de un adjunto de miel_mensaje.
materiaYesId de comisión, código o parte del nombre. Ej: 'prog avanzada'.
contenido_idNo`id` de miel_contenidos. Ej: '300089'.

Output Schema

NameRequiredDescriptionDefault
rutaYesRuta local del archivo descargado.
bytesYes
nombreYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, but the description adds the key side effect — the file is written to the user's machine in MIEL_CARPETA and the path is returned — plus the important limitation that external links are never fetched. Remaining gaps are minor (overwrite behavior for repeated downloads of the same name), so it is strong but not exhaustive.

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?

Four short sentences, front-loaded with the action and return value, then parameter routing, then the exclusion, then the alternative tool. No filler and nothing repeated from the schema verbatim.

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?

Output schema exists, so return shape need not be detailed, yet the description still notes the returned path. For a 3-parameter download tool with full schema coverage and annotations, the description covers destination, selection of source parameters, and the one failure mode that would otherwise mislead an agent.

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 the baseline is 3, but the description adds real meaning by framing `contenido_id` and `url` as alternatives selected by source tool, a mutual exclusivity hint the schema does not spell out. `materia` is left entirely to 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?

States a specific verb and resource ("Descarga un archivo de MIeL"), names the destination (MIEL_CARPETA), and states what it returns (la ruta). It also explicitly contrasts with miel_leer, so an agent can distinguish it from the sibling that reads content.

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 routing: use `contenido_id` when the item comes from miel_contenidos, `url` when it is an attachment from miel_mensaje. It also states a when-not case (external links are not downloaded — hand the link to the user) and names an alternative tool for reading rather than downloading (miel_leer).

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