Skip to main content
Glama

download

Download files from URLs to disk with secure defaults including ECH encryption and DoH. Supports proxies, custom headers, and file size limits up to 2GB.

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. 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. Default: false (DoH enabled)
no_echNoDisable Encrypted Client Hello. Default: false (ECH enabled)

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