Skip to main content
Glama

ai_download

Downloads a URL, such as a build link, to a local file at an absolute destination path. Use it to save compiled APK links or other remote files for local access and testing.

Instructions

Download a URL (for example a build link) to a local file.

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>",
      "file": "<file>"
    },
    "name": "ai_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesURL
fileYesAbsolute destination path

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing beyond the basic action. It does not say whether an existing destination file is overwritten, whether parent directories are created, whether network auth or redirects are handled, whether large downloads are limited, or what the tool returns on success or failure — all material for an operation that writes to disk.

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 short sentence that front-loads the verb and resource with no filler or redundancy. It is efficient, though the lone parenthetical is the only detail and the brevity borders on under-specification rather than tightness.

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

Completeness2/5

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

The tool is simple (two required params, no nesting, no output schema), but for a filesystem-writing operation with zero annotations there is no disclosure of overwrite behavior, directory creation, error conditions, or return value. An agent can invoke it, but cannot predict the side effects on the destination path.

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%, with both parameters documented ('url' and 'file' as an absolute destination path), so the baseline is 3. The description mirrors those two fields ('URL' to 'local file') but adds no format hints, constraint notes, or path/overwrite semantics beyond what the schema already states.

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 (download) and both the source (a URL) and destination (a local file), with a concrete example ('a build link') that grounds the resource type. It is clear about what it does, though it does not explicitly contrast itself with siblings such as ai_build or ai_asset, so the agent must infer that those do not fetch remote content.

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?

The parenthetical example ('for example a build link') implies when the tool is useful, giving a situational cue rather than an explicit rule. There is no statement of when not to use it, no mention of alternatives, and no prerequisites such as whether the URL needs authentication.

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