Skip to main content
Glama

download

Save files from any URL to a specified path on disk. Customize timeouts, headers, proxy settings, and size limits; automatic ECH/DoH encryption protects privacy.

Instructions

Download a file from a URL and save it to disk. Supports binary and text files. For reading web page content as text, use the webfetch tool. Features: ECH (Encrypted Client Hello) and DoH (DNS over HTTPS) enabled by default. Supports HTTP and SOCKS5 proxies. SSRF protection blocks private/internal IPs. Max download size: 100 MB (adjustable via max_size_mb, hard limit 2 GB).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesURL of the file to download,required
output_pathYesAbsolute path to save the downloaded file,required
headersNoCustom HTTP headers (e.g. User-Agent, Referer, Authorization)
overwriteNoOverwrite existing file: true or false. Default: false
timeout_secNoRequest timeout in seconds. Default: 60, Max: 600
max_size_mbNoMaximum download size in MB. Default: 100, Max: 2048
proxy_urlNoHTTP or SOCKS5 proxy URL (e.g. http://proxy:8080, socks5://proxy:1080)
no_dohNoDisable DNS over HTTPS: true or false. Default: false (DoH enabled)
no_echNoDisable Encrypted Client Hello: true or false. Default: false (ECH enabled)
Behavior5/5

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

No annotations provided, so description carries full burden. It comprehensively discloses support for binary/text files, enabled ECH/DoH, proxy support, SSRF protection blocking private IPs, and configurable max download size with hard limit. This ensures the agent understands all key behavioral traits.

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 6 sentences with no redundant text. It starts with the core purpose, then provides differentiation, features, and limitations in a logical order. Every sentence adds value.

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?

Given the complexity (9 parameters, no output schema), the description covers purpose, usage, safety (SSRF), size limits, and networking features. It could mention return behavior (e.g., file saved or error), but overall it is complete enough for an agent to use correctly.

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 the schema already documents each parameter. The description adds minimal extra context (e.g., 'adjustable via max_size_mb, hard limit 2 GB') but does not significantly enhance understanding beyond what the schema provides. 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?

Description clearly states 'Download a file from a URL and save it to disk.' and distinguishes from webfetch for reading web page content. The verb 'download' and resource 'file from URL' are specific and unambiguous.

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?

Explicitly mentions alternative tool webfetch for reading web page content as text. Also describes features (ECH, DoH, proxies, SSRF protection, size limits) that inform usage context.

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/knewstimek/agent-tool'

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