Skip to main content
Glama

install_file

Download a user-confirmed .safetensors link from Hugging Face or Civitai into the matching ComfyUI library folder without overwriting existing files.

Instructions

Download a model file by link into ComfyUI's folder for one library kind.

Only after the user has confirmed this exact link. A LoRA works only with the image model it was trained for: check that it was made for the active model in get_guide. For the model kind (another version or fine-tune of the active image model), the download must have the default model's weight layout, or it is discarded; a model of another family is refused. Accepts https links to a .safetensors file on huggingface.co or civitai.com; never replaces an existing file. Access tokens come from easel's environment, never from chat. Afterwards list_library shows the file.

Args: url: The file's download link (huggingface.co .../resolve/... or civitai.com). kind: A library kind from get_guide, such as lora or model. name: File name to save as, ending in .safetensors. Omit to use the link's name.

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": {
      "url": "<url>"
    },
    "name": "install_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
kindNolora
nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description does the heavy lifting: no-overwrite guarantee, refusal/discard semantics, and that access tokens come from easel's environment rather than chat (an auth/safety disclosure). It stops short of describing failure modes, error signaling, or download size/timeout behavior, which leaves a small gap for a network-and-disk mutation.

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 core action, then preconditions, then per-kind rules, then args. The Args block partly restates the prose (url/kind/name) but adds concrete format constraints, so it earns most of its space. Slightly long, though nothing is clearly redundant.

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?

Given a 3-parameter write tool with no annotations but an output schema, the description covers preconditions, validation rules, auth, overwrite policy, and where the result appears. Return values are covered by the output schema, so nothing critical for correct invocation is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate and it does: url is constrained to huggingface.co `.../resolve/...` or civitai.com links, kind is tied to get_guide with example values and a default of lora, and name must end in .safetensors with a documented omit-behavior (use the link's name). All three parameters gain meaning beyond the bare 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?

Opens with a specific verb+resource+target: download a model file by link into ComfyUI's folder, scoped to one library kind. The post-condition ('list_library shows the file') and the sibling call ('get_guide') make it distinguishable from list_library and use_file without opening schemas.

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?

Explicit precondition ('Only after the user has confirmed this exact link'), explicit kind-dependent rules (LoRA must match the active model from get_guide; model kind must have the default weight layout or be discarded; other families are refused), and an explicit acceptance domain (https .safetensors on huggingface.co or civitai.com). It also names get_guide and list_library as companion calls.

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