Skip to main content
Glama

Download an F2H file

download_file

Gives a curl command that downloads a file, or a folder as a ZIP, to the machine where you run it: the person's own files, files sent to their inbox, or someone else's shared link. Needs a paid F2H plan; on other plans it gives the file's page, where the person downloads it. Run the command at once, where the file is needed. With inline true, a file of up to 1 MB comes in the answer itself instead: use it from the start when your machine reaches only listed sites or you cannot run commands. Docs: https://f2h.io/en/agents

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "download_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNoAn F2H link (or give file_id or folder_id)
pathNoWhere to save it; the file's own name by default
inlineNoThe file itself in the answer, up to 1 MB, instead of a command
file_idNo
passwordNoA file's password, when it has one and the person gave it
folder_idNoA folder, downloaded as one ZIP

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses paid-plan gating, the fallback behavior on other plans, the 1 MB inline limit, and when to prefer inline mode. It also tells the agent to run the command immediately where the file is needed, which is meaningful operational context.

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 front-loaded with the core behavior and then layers in plan constraints, execution guidance, and inline mode. Every sentence carries relevant information, and the docs link is compact.

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 six-parameter tool with no output schema, it explains both possible return forms: a curl command or an inline file. It covers the important plan and execution constraints, though it does not describe the exact shape of the curl command or response payload.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already high at 83%, so the baseline is 3. The description adds useful meaning for inline mode, link sources, and folder-as-ZIP behavior, though it adds little beyond the schema for path and password.

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 gives a specific verb and resource: it provides a curl command that downloads a file or folder ZIP to the machine where it runs. It also clarifies supported sources, but it does not explicitly name or distinguish itself from sibling tools such as get_file.

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?

It states clear conditions: use inline when the machine reaches only listed sites or cannot run commands, and expect the file page on non-paid plans. It lacks explicit guidance comparing this tool with sibling retrieval tools, but the internal alternatives are well explained.

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