Skip to main content
Glama

Download a file

download_file

Download a file from a URL and save it to the computer. Max 500 MB. Creates any missing parent folders.

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

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to download from (http:// or https://).
pathYesWhere to save the file on the computer.
deviceNoDevice name. Optional when the account has only one online device.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare write (readOnlyHint=false), network access (openWorldHint=true), and non-destructive intent. The description adds real value beyond that with the 500 MB cap and the side effect of creating missing parent folders. However, it is silent on the most consequential behavior for a download: whether an existing file at 'path' is overwritten, fails, or is versioned.

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?

Three short sentences, action first, then the size limit, then the side effect. No filler and nothing buried.

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?

There is no output schema, but a download tool's return (saved path, size, success/failure) is left unstated, and overwrite behavior is undefined. For a network-writing tool that can silently replace data, the description should say more; the essentials for invocation are present, but not for safe use.

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 url, path, and device are already documented in the schema. The description adds no meaning beyond that — notably it never mentions the 'device' parameter, whose single-device fallback is the one non-obvious semantic. 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?

States a specific verb and resource ('Download a file from a URL and save it to the computer'), which is unambiguous against the file-manipulation siblings such as write_file or move_file. It does not explicitly differentiate itself from open_file, but the fetch-and-save semantics are distinct enough to identify the right tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: fetch remote content and persist it locally. There is no statement of when to prefer this over write_file/open_file, nor any prerequisite about which device must be online (which the optional 'device' parameter hints at).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources