Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

add_torrent

Adds one or more .torrent files to qBittorrent from a single path, JSON list, or structured query, returning the operation status and message.

Instructions

Add torrent files to qBittorrent

Args: query: Query string containing torrent file path, supports the following formats: 1. JSON string: "{"file_paths": ["path/to/file1.torrent", "path/to/file2.torrent"]}" 2. JSON string: "["path/to/file1.torrent", "path/to/file2.torrent"]" 3. Single file path: "path/to/file.torrent"

Returns: Status and message of the add operation

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": {
      "query": "<query>"
    },
    "name": "add_torrent"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states only that it adds torrents and returns a status/message, without disclosing whether the torrent starts paused or active, how duplicates are handled, whether paths must be absolute or local to the server, or what permissions are required. The 'Returns' line is also redundant since an output schema exists.

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 statement is front-loaded and the Args block is easy to scan with three numbered formats. The 'Returns' section is wasted space given an output schema already exists, but overall the text is tight and well organized.

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

Completeness3/5

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

For a single-parameter mutation tool with no annotations, the format documentation is strong and the output schema covers the return value. However, key behavioral facts an agent needs — duplicate handling, start state, path resolution — are absent, leaving the definition adequate but incomplete for a write operation.

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 0% — the input schema only declares an untyped 'query' string. The description compensates well by enumerating three accepted formats (JSON object with file_paths, JSON array, or single path string) with examples. It stops short of specifying whether paths are absolute or relative and whether multiple files are added atomically.

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?

The description opens with a specific verb and resource: 'Add torrent files to qBittorrent.' This is clear enough to distinguish it from siblings like delete_torrent or pause_torrent, though the nearby add_torrent_tags and add_trackers_to_torrent are not explicitly excluded.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No when-to-use guidance is given: nothing about prerequisites (qBittorrent reachable, torrent file existing on disk), when to prefer this over search_torrents or add_torrent_tags, or what happens with duplicate torrents. The only implied usage is 'when you have a torrent file path.'

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