Skip to main content
Glama
qb-mcp

qb-mcp

qb_add

Add a torrent to a qBittorrent instance from a magnet link, URL, or local .torrent file, with optional category, save path, and paused review before download.

Instructions

Add a torrent from a URL, magnet link, or a local .torrent path.

Args: instance: instance key from .instances.json. source: magnet link, http(s) URL, or absolute path to a .torrent file. savepath: target directory; empty uses the instance default. category: category to assign. paused: add in paused state (default true) so it can be reviewed first. wait_seconds: how long to wait for the torrent to show up. Magnet links ingest metadata asynchronously, so the add request returning 200 does not prove anything; the torrent must appear in the list.

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": {
      "instance": "<instance>",
      "source": "<source>"
    },
    "name": "qb_add"
  }
}

Input Schema

NameRequiredDescriptionDefault
pausedNo
sourceYes
categoryNo
instanceYes
savepathNo
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4.2/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: it discloses that paused defaults to true for pre-review, and explains that a 200 response does not prove success because magnet metadata ingests asynchronously. It stops short of covering duplicate-torrent behavior, failure modes, or auth expectations.

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 purpose sentence is front-loaded and the args block is scannable, which is appropriate given zero schema documentation. A few lines are low-value restatements, notably 'category: category to assign', but overall there is little waste.

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?

An output schema exists so return values need not be described, and the parameter and async-behavior gaps are covered. What remains missing for a mutation tool with no annotations is error behavior (duplicate torrents, unreachable instance, bad path) and any note on idempotency.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate fully and it does: all six parameters are explained, including where the instance key comes from, the accepted source formats, the empty-string default semantics for savepath and category, and what wait_seconds actually measures.

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 concrete verb and resource ('Add a torrent') plus the three accepted source forms (URL, magnet link, local .torrent path), which immediately separates it from siblings such as qb_remove, qb_list, and qb_detail.

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?

Usage is only implied: the description makes clear this is the ingestion entry point, and the paused default hints at a review-then-start workflow, but it never states when to prefer this over alternatives or what preconditions (instance must exist, valid path) are required.

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