Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARIA2_BINNoExplicit path to aria2c / aria2c.exe.
ARIA2_RPC_URLNoUse an external/remote aria2 JSON-RPC URL instead of spawning a local daemon.
ARIA2_DATA_DIRNoDirectory storing rpc.json, aria2.conf, and downloads.session. Point multiple tools at the same folder to share one queue.
ARIA2_RPC_SECRETNoRPC secret token for ARIA2_RPC_URL.
ARIA2_DEFAULT_DIRNoDefault destination directory for local downloads.
ARIA2_DEFAULT_PROXYNoDefault proxy mode: system, direct, or http://host:port.system
ARIA2_CLAUDE_CHANNELNoSet to 1 to emit notifications/claude/channel for clients that support the claude/channel experimental capability.
ARIA2_NOTIFY_POLL_MSNoPolling interval for background download completion notifications, in milliseconds. Defaults to every 5s.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
download_submitA

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.

download_statusA

Get download progress, speed and safe error code by GID. Confirm status=complete before claiming success or using the downloaded file; active, waiting and paused are not completion. Report errors honestly and avoid tight polling loops.

download_listA

List background downloads (active, waiting, recently stopped) in the aria2 daemon. Find an existing task before submitting a duplicate; use download_status for the selected GID.

download_controlA

Pause, resume or cancel a download by GID. Cancel retains partial files and does not delete them. Resume continues the same GID and partial data; query download_status afterward to verify the resulting state.

download_waitA

Wait up to timeout_seconds (default 30, max 120) for a download GID to reach complete, error, removed, or paused without tight polling. If timedOut=true, do not loop download_wait tightly: continue other work, check download_status later or run node "/app/server.mjs" --wait <gid> in a background shell.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 5 tools

Disambiguation5/5

Each tool targets a distinct action on the download lifecycle: submit (create), status (inspect one), list (enumerate), control (pause/resume/cancel), wait (blocking poll). Boundaries are explicit and the descriptions reinforce when to use each (e.g., submit returns a GID, wait/status confirm completion).

Naming Consistency5/5

All tools follow a single predictable pattern: download_<verb> in snake_case (submit, status, list, control, wait). No mixing of conventions or stray verbs.

Tool Count5/5

Five tools is well-scoped for a background download manager, and each maps to a genuine lifecycle operation with no redundant or filler tools.

Completeness4/5

Core lifecycle (submit, list, status, control, wait) is covered with no dead ends for typical workflows. Minor gaps remain: there is no tool to remove/purge completed or cancelled downloads (control cancel explicitly retains files), so cleanup requires out-of-band action.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues