Skip to main content
Glama

download_submit

Submit HTTP(S) files for background disk downloads via local aria2c; get a GID to check status or wait for completion instead of blocking.

Instructions

Download an HTTP(S) file to disk in the background via local aria2c; returns a GID, not proof of completion. Call download_wait for short/medium files, or check download_status later or run node "/app/server.mjs" --wait <gid> in a background shell before reporting success or consuming the file. Defaults to the OS system proxy and Downloads; use direct or an explicit HTTP proxy when requested. Keep global and system proxy settings unchanged, report a proxy failure instead of silently switching to direct, and keep URLs and proxy credentials out of chat. Existing files stay untouched. For webpage reading, API calls, Git or package managers, use the dedicated tool. If a requested download feature is unsupported, explain the limitation before choosing another method.

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

Input Schema

NameRequiredDescriptionDefault
urlYes
proxyNosystem (default), direct, or explicit http://host:port. PAC is unsupported.
filenameNo
directoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: async execution, GID-not-completion semantics, default proxy and destination directory, existing files left untouched, and a no-silent-proxy-fallback policy. It stops short of stating auth requirements, rate limits, or failure return shapes, but the critical behavioral traits are covered.

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?

Front-loads the one fact that changes agent behavior (background + GID) and keeps the ordering logical: contract, then follow-up options, then defaults, then safety policy. The proxy-credential and "explain the limitation" sentences are useful but add density to an already packed single paragraph.

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 4-param async tool with no annotations and no output schema, the description supplies the return value, polling strategy, defaults, and safety constraints. Only the filename parameter's exact behavior is left to inference.

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 only 25% (only proxy is annotated), so the description must compensate; it does for proxy ("system (default), direct, or explicit http://host:port", PAC unsupported) and directory ("Defaults to ... Downloads"), and the untouched-files rule implicitly answers filename collision behavior. Filename's exact semantics (extension handling, sanitization) remain unstated.

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?

States a specific verb and resource ("Download an HTTP(S) file to disk in the background via local aria2c") plus the return contract ("returns a GID, not proof of completion"), which cleanly separates it from download_wait and download_status.

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?

Gives explicit follow-up routing (download_wait for short/medium files, download_status later, or the --wait CLI), explicit exclusions (webpage reading, API calls, Git/package managers → dedicated tools), and a fallback rule when a feature is unsupported.

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