Skip to main content
Glama
mcp-file-downloader

mcp-file-downloader

by QianJue-CN

download_file

Downloads files over HTTP to a specified path using multi-threaded chunked transfers, resumable downloads, retries, and session cookies for login-protected sites.

Instructions

开始下载文件,支持多线程下载、断点续传和实时进度监控

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>",
      "outputPath": "<outputPath>"
    },
    "name": "download_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes要下载的文件 URL
headersNo自定义 HTTP 请求头
timeoutNo请求超时时间(毫秒,默认30秒)
filenameNo自定义文件名(可选)
workModeNo工作模式:blocking(阻塞)、non_blocking(非阻塞)、persistent(持久化)、temporary(临时)
chunkSizeNo分块大小(字节,默认1MB)
sessionIdNo会话ID,用于使用预建立的会话状态(如cookies)
outputPathYes文件保存路径
retryCountNo重试次数(0-10,默认3)
enableResumeNo是否启用断点续传(默认true)
maxConcurrencyNo最大并发下载线程数(1-16,默认4)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/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 add real behavior: multi-threaded transfer, resumable support, and live progress monitoring. However it omits the obvious side effect (writes a file to outputPath), whether blocking mode returns a completion result, and how progress is actually observed, which are the details an agent needs before committing.

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?

A single compact sentence with the action front-loaded and the capability list trailing, with no wasted words. It is concise to a fault, since brevity is achieved by omitting usage and return semantics rather than by tight editing.

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

Completeness3/5

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

For an 11-parameter tool with no annotations and no output schema, the description covers capability but not outcome: it never says what a blocking call returns, what non_blocking/persistent workMode mean for the caller, or that the file lands at outputPath. The rich schema offsets some of this, keeping it at a middling score.

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 11 parameters are already documented with defaults and bounds. The description only loosely echoes a few of them (multi-threading→maxConcurrency, resume→enableResume) and adds no syntax or interaction guidance, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb+resource in "开始下载文件" (start downloading a file), which separates it from pause/resume/cancel siblings. It stops short of explicitly naming a sibling boundary, so an agent must infer when to call this versus resume_download.

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?

There is no when-to-use or when-not-to-use guidance: nothing says to prefer resume_download for interrupted transfers, or how the blocking/non_blocking modes relate to later get_download_status polling. The agent is left to infer invocation timing from the schema enum alone.

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