Skip to main content
Glama

download_model

Download a Hugging Face model via the hf CLI for llama.cpp/TabbyAPI/vLLM servers when pull_model doesn't apply; runs as a background job, so poll with get_job.

Instructions

Download a model from Hugging Face via the hf CLI (for llama.cpp/TabbyAPI/vLLM-style servers where pull_model doesn't apply). Runs as a background job — poll with get_job. e.g. repo 'bartowski/Qwen2.5-Coder-7B-Instruct-GGUF' with include 'Q4_K_M'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesHF repo id, e.g. 'bartowski/Qwen2.5-Coder-7B-Instruct-GGUF'
includeNoFilename glob filter, e.g. '*Q4_K_M*.gguf'
revisionNoBranch/tag/commit (default: main)
local_dirNoDestination dir (must be inside allowed roots; default: HF cache)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the most important trait: this is an asynchronous background job whose completion must be checked via get_job. It does not mention auth needs (HF token), disk-space/allowed-root constraints for local_dir, or failure behavior, which are relevant for a large download.

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?

One dense paragraph that front-loads the verb, source, and execution model, then supplies a concrete example. Every sentence carries information, though the parenthetical about serving stacks is slightly wordy.

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 no output schema, the description supplies the essential operational facts: source CLI, async execution, polling tool, and a concrete example. It omits what happens to the artifact on completion and any auth preconditions, which leaves a small gap but not a blocking one.

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 description coverage is 100%, so all four parameters are already documented, and the description adds only a usage example pairing repo with include. That is a small increment over structured data, so the baseline 3 is appropriate.

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 (download) and resource (a model from Hugging Face) and explicitly differentiates itself from the sibling pull_model ('where pull_model doesn't apply'). An agent can route between the two download paths without opening either schema.

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?

Names the alternative tool (pull_model) and the class of servers where this tool is the right choice, plus the follow-up action (poll with get_job). The selection condition is a bit loose ('llama.cpp/TabbyAPI/vLLM-style servers'), so it stops short of an explicit decision rule but still gives clear context.

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