Skip to main content
Glama
amanharshx
by amanharshx

model_download

Download trained model weight files to a local path by specifying model reference (owner/project/model, ul:// URI, or slug) and destination.

Instructions

Download a trained model's weight file to an explicit local path by owner/project/model, ul://owner/project/model, or slug with a project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYesModel ref by owner/project/model, ul:// URI, or slug (requires project).
projectNoProject ref required when model is given by slug.
filenameNoSelect which of the model's remote weight files to download by name; does not set the local output filename (use output_path for that). Omit to prefer best.pt, then the first available file.
overwriteNoOverwrite an existing file at output_path.
output_pathYesLocal destination path for downloaded model weights.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.13
    • addedInput schema / properties / filename / description
      Added value: +"Select which of the model's remote weight files to download by name; does not set the local output filename (use output_path for that). Omit to prefer best.pt, then the first available file."
    • addedInput schema / properties / overwrite / description
      Added value: +"Overwrite an existing file at output_path."
    • addedInput schema / properties / project / description
      Added value: +"Project ref required when model is given by slug."
  2. Changed1 schema field changedv0.1.12
    • changedInput schema / properties / model / description
      Previous value: -"Model id, or slug when project is also provided."New value: +"Model ref by owner/project/model, ul:// URI, or slug (requires project)."
  3. Changed2 schema fields changedv0.1.6
    • addedInput schema / properties / model / description
      Added value: +"Model id, or slug when project is also provided."
    • addedInput schema / properties / output_path / description
      Added value: +"Local destination path for downloaded model weights."
  4. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the description carries some burden. The description adds useful behavioral context: it downloads a file to a local path, and the filename parameter description explains the selection behavior ('Omit to prefer best.pt, then the first available file'). However, it doesn't disclose what happens if the file already exists without overwrite=true, or whether the download is resumable. The overwrite parameter is documented in the schema, so the description doesn't need to repeat it. The description adds value beyond annotations by clarifying the file selection behavior.

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?

The description is a single sentence that front-loads the core action (download weight file to local path) and then lists the accepted reference formats. Every word earns its place. The filename parameter description is also concise and informative. No fluff or repetition.

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?

For a download tool with 5 parameters, 100% schema coverage, and no output schema, the description is fairly complete. It explains the reference formats, the filename selection behavior, and the local destination. The main gap is that it doesn't state what happens on overwrite=false when the file exists, but that's a minor edge case. The tool is a straightforward file download, and the description covers the essential decision points.

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 100%, so the schema already documents all 5 parameters. The description adds value by clarifying the relationship between model, project, and filename: it explains that slug requires project, and that filename does not set the local output filename. This goes beyond the schema descriptions. However, the description doesn't add much beyond what the schema already provides for output_path and overwrite. Baseline 3 for high coverage, plus the added clarification about slug/project and filename behavior, justifies a 4.

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'), a specific resource ('a trained model's weight file'), and the destination ('to an explicit local path'). It also enumerates the three accepted reference formats (owner/project/model, ul:// URI, or slug with a project), which distinguishes it from sibling tools like models_get or model_predict. This is a clear, specific statement of what the tool does.

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?

The description implies when to use this tool: when you need to download a model's weight file to a local path. It does not explicitly name alternatives or state when not to use it, but the context of sibling tools (models_get, model_predict, model_plots) makes the use case fairly clear. The description could be improved by explicitly saying 'use models_get to inspect model metadata instead' or similar, but the core usage context is present.

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