Skip to main content
Glama
mcp-synology

mcp-synology

create_download

Create download tasks on your Synology NAS from URIs (HTTP, FTP, magnet) or local .torrent/.nzb files, specifying an existing destination folder to queue each task.

Instructions

Create one or more download tasks, from URIs or from a local .torrent / .nzb file. The NAS fetches each URI, so one on the NAS or its local network (magnet trackers and wrapped links too) is refused unless the config sets allow_local_addresses. destination must be an existing folder, share-relative (DS doesn't create folders; make a new one first with File Station's create_folder when File Station write is enabled, or ask the user to create it in DSM). Omit it to use your default destination (a non-manager who has none must set it first with set_download_config, because DS won't start their tasks until then). Returns the new task IDs when DSM provides them (not for URLs with username / password); long magnet links and URI lists are supported.

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": "create_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
uriNoOne or more source URIs, comma-separated: HTTP, HTTPS, FTP, magnet and others. Give each its scheme: a comma starts another URI only when a scheme (`https://`, `magnet:`) follows it, so commas inside a URI are kept. Pass this or `torrent_file_path`, not both.
passwordNoPassword for a protected `uri`; not for torrent files.
usernameNoUser name for a protected `uri`; not for torrent files.
destinationNoExisting folder to download into, share-relative (`video/Torrents`). Omit it to use your default destination.
torrent_file_pathNoPath on this machine to a `.torrent` or `.nzb` file, inside one of the allowed local folders (/root/Downloads), or below it. Pass this or `uri`, not both.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.10.1
    • changedInput schema / properties / uri / description
      Previous value: -"One or more source URIs, comma-separated: HTTP, HTTPS, FTP, magnet and others. Pass this or `torrent_file_path`, not both."New value: +"One or more source URIs, comma-separated: HTTP, HTTPS, FTP, magnet and others. Give each its scheme: a comma starts another URI only when a scheme (`https://`, `magnet:`) follows it, so commas inside a URI are kept. Pass this or `torrent_file_path`, not both."
  2. Changed6 schema fields changedv0.9.1
    • addedInput schema / properties / destination / description
      Added value: +"Existing folder to download into, share-relative (`video/Torrents`). Omit it to use your default destination."
    • addedInput schema / properties / password / description
      Added value: +"Password for a protected `uri`; not for torrent files."
    • addedInput schema / properties / torrent_file_path / description
      Added value: +"Path on this machine to a `.torrent` or `.nzb` file, inside one of the allowed local folders (/root/Downloads), or below it. Pass this or `uri`, not both."
    • addedInput schema / properties / uri / description
      Added value: +"One or more source URIs, comma-separated: HTTP, HTTPS, FTP, magnet and others. Pass this or `torrent_file_path`, not both."
    • addedInput schema / properties / username / description
      Added value: +"User name for a protected `uri`; not for torrent files."
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "tool_create_downloadOutput",
      -  "type": "object"
      -}New value: +null
  3. Addedv0.7.1

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=true, and the description goes further by disclosing the local-address rejection rule, the folder-existence prerequisite, and the role-dependent default-destination behaviour. It also explains what is returned (new task IDs) and the caveat that IDs are absent for URLs with `username`/`password`, though it doesn't mention rate limits or what state a task lands in (paused vs. started).

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?

The core verb and resource are front-loaded in the first clause, and every subsequent sentence carries actionable constraints. It is dense with parenthetical asides (DS behaviour, role caveats) that make it harder to scan than it needs to be, but there is no filler.

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

Completeness5/5

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

No output schema exists, yet the description covers the return value and its exception case, the preconditions on destination, the network-address refusal rule, and the role-based setup path. For a 5-parameter creation tool with zero required parameters, this is complete enough for an agent to call it correctly.

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 100%, so the baseline is 3, but the description adds meaning beyond the schema: it ties omitting `destination` to a user default that non-managers may not have and must establish with `set_download_config` before tasks will start. The `uri`/`torrent_file_path` mutual exclusion and the credential caveat largely restate schema text, so it isn't a full 5.

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?

Opens with a specific verb and resource ('Create one or more download tasks') and immediately scopes the input forms (URIs or a local .torrent / .nzb file). It implicitly separates itself from siblings by naming `create_folder` for folder creation and `set_download_config` for setting a default destination, so an agent can tell it apart from `download_file` or `edit_download`.

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 when/when-not rules: destination must already exist and must be created via File Station's `create_folder` or by the user in DSM, omit it to use a default, and a non-manager with no default must call `set_download_config` first. It also states the refusal condition for local/private addresses unless `allow_local_addresses` is configured.

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