Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

rename_torrent_folder

Rename a folder inside a torrent by providing the torrent hash plus old and new relative paths, keeping the same parent directory. Correct folder names in qBittorrent without changing torrent structure.

Instructions

Rename a folder inside a torrent (requires qBittorrent v4.4.0 or later)

Args: hash: Torrent hash value old_path: Current folder path inside the torrent (relative to the torrent root) new_path: New folder path inside the torrent (relative to the torrent root, keep the same parent directory)

Returns: Result message of renaming the folder

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>",
      "old_path": "<old_path>",
      "new_path": "<new_path>"
    },
    "name": "rename_torrent_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
new_pathYes
old_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the burden alone. It usefully discloses the version requirement and that the operation renames rather than moves (same parent directory), plus that it returns a result message. It omits permission requirements, reversibility/error behavior, and whether paths must exist, which matters for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded purpose sentence followed by clearly labeled Args and Returns sections; no filler. The repeated '(relative to the torrent root)' phrasing is mild redundancy but reinforces a critical constraint.

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 the Returns note is supplementary, and all three required parameters are explained. Combined with the version gate and rename-not-move constraint, an agent has enough to invoke it correctly; only error and permission semantics are absent.

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 description coverage is 0%, so the description must compensate, and it largely does: hash is identified as the torrent hash, old_path and new_path as paths relative to the torrent root, with the added rule that the parent directory must stay the same. The exact path syntax (leading slash, separator) is still unstated.

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?

States a specific verb and resource: 'Rename a folder inside a torrent.' The word 'folder' distinguishes it from sibling tools like rename_torrent and rename_torrent_file, though no sibling is named explicitly.

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?

Provides a prerequisite (requires qBittorrent v4.4.0 or later) and an in-parameter constraint ('keep the same parent directory'), which are useful usage signals. However, it never says when to use this instead of rename_torrent_file or rename_torrent, nor what happens on failure.

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