Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

get_torrent_files

List the files inside a torrent by hash, returning each file's index, name, size, progress, and priority so you can inspect contents or select file IDs for priority changes.

Instructions

List files inside a torrent

Args: hash: Torrent hash value

Returns: Formatted list of files with index (used as id for set_file_priority), name (used as old_path for rename_torrent_file), size, progress and priority

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": {
      "hash": "<hash>"
    },
    "name": "get_torrent_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. "List" implies a read-only, non-mutating call, and the field-level output notes add useful context, but the description never states error behavior for an invalid hash, whether results are cached, or that no state is changed — gaps that matter when nothing else declares safety.

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 is front-loaded in one line, followed by compact Args/Returns blocks with zero filler. The Args line mostly restates the schema, which is the only minor inefficiency.

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 simple one-parameter read tool with an output schema present, the description covers purpose, the input, and the meaning of the returned fields well enough to call it correctly. Only the absence of error/permission behavior keeps it from being fully complete.

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

Parameters3/5

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

Schema description coverage is 0% and the single parameter is only typed as a bare string. The description does clarify that it is a torrent hash value, but adds no format, length, or source guidance (e.g., where to obtain the hash), so compensation for the coverage gap is minimal.

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 ("List files inside a torrent") that an agent can immediately distinguish from siblings like get_torrent_list, get_torrent_trackers, or rename_torrent_file. No ambiguity about what the tool returns.

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

Usage Guidelines4/5

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

The Returns section implicitly routes the agent: the returned index is the id for set_file_priority and the name is the old_path for rename_torrent_file, which tells an agent when this tool is the necessary precursor. It does not explicitly state exclusions or prerequisites (e.g., torrent must exist), so it falls short of a 5.

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