Skip to main content
Glama

download_model

Download a model file to your ComfyUI models directory from HuggingFace, direct HTTP, S3, or Azure Blob URLs.

Instructions

Download a model file to the ComfyUI models directory from a URL (HuggingFace, direct HTTP(S), s3://, or Azure Blob)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesDirect download URL for the model file
target_subfolderYesTarget subfolder under ComfyUI models/ (e.g. 'checkpoints', 'loras', 'vae')
filenameNoOverride filename (auto-detected from URL if omitted)
authNoOptional per-request authentication for private/gated model URLs. When provided it overrides built-in HuggingFace/CivitAI token handling.
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It only states the action and URL types, omitting details like overwrite behavior, disk space requirements, error handling for invalid URLs, or whether authentication is needed. The description is too brief for a file download operation.

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?

The description is a single concise sentence (25 words) that efficiently communicates the core functionality. While very brief, it avoids redundancy and is front-loaded. However, it could be slightly expanded to improve completeness without losing conciseness.

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

Completeness2/5

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

Given the complexity (4 parameters, nested `auth` object, no output schema), the description is incomplete. It lacks information on return values, error conditions, side effects (e.g., file overwrite), and integration with ComfyUI (e.g., whether a restart is needed). A more comprehensive description is needed for reliable agent usage.

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 coverage is 100%, so baseline is 3. The description adds minimal context ('... from a URL ...' implies the `url` parameter, and 'ComfyUI models directory' hints at `target_subfolder`). It does not elaborate on optional parameters like `filename` or the complex `auth` object beyond what the schema already provides.

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 clearly states the tool's action ('Download a model file to the ComfyUI models directory') and specifies supported URL sources (HuggingFace, HTTP(S), s3://, Azure Blob). It effectively distinguishes from sibling `download_civitai_model` by mentioning non-CivitAI sources.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives like `download_civitai_model`. The description does not mention typical use cases, prerequisites, or scenarios where this tool is preferred, leaving the agent to infer from sibling names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/artokun/comfyui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server