Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

rename_torrent_file

Rename a file inside a torrent by specifying its hash and the current and new relative paths. Use it to correct or reorganize torrent file names without changing the torrent's directory structure.

Instructions

Rename a file inside a torrent

Args: hash: Torrent hash value old_path: Current file path inside the torrent (relative to the torrent root, get it from the file list) new_path: New file path inside the torrent (relative to the torrent root, keep the same directory structure)

Returns: Result message of renaming the file

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_file"
  }
}

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

B3.2/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 disclosure burden, and it does not say whether this mutates on-disk state, affects seeding/resume state, requires the torrent to be stopped, or is reversible. It also omits any error or failure behavior (e.g., invalid path, name collision), offering only a vague "result message" note.

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?

Front-loaded one-line purpose followed by compact Args/Returns sections, with no filler sentences. The docstring scaffolding is mildly redundant given the schema already names the parameters, but it stays short and scannable.

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 3-parameter mutation tool with no annotations, the description covers parameters and says an output schema exists so return details needn't be explained. It still leaves out the operational context an agent needs to call it safely – state prerequisites, path format, and failure behavior.

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?

The description lists all three parameters, which matters given 0% schema coverage, and adds a real constraint for new_path ("keep the same directory structure") and a source hint for old_path ("get it from the file list"). However, it never specifies format or examples for the hash, nor what happens if the directory is changed, leaving the 0%-coverage schema only partially compensated.

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+resource: "Rename a file inside a torrent." The word "file" distinguishes it from the sibling rename_torrent and rename_torrent_folder, though no sibling is explicitly named for contrast.

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 old_path arg note tells the agent to get the path "from the file list" (i.e., get_torrent_files) and to keep the same directory structure. There is no explicit statement of when to use this versus rename_torrent/rename_torrent_folder, and no prerequisites such as whether the torrent must be paused or stopped.

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