Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

batch_rename

Rename multiple files and folders inside a torrent in one ordered batch, returning per-item results so a failed rename does not stop the remaining operations.

Instructions

Rename multiple files and folders inside a torrent in one batch

Args: hash: Torrent hash value renames: JSON array of rename operations, executed sequentially in the given order. Each item: {"old_path": "current/path", "new_path": "new/path", "type": "file" or "folder"} "type" is optional and defaults to "file". Note: renaming a folder changes the paths of everything inside it, so order the operations accordingly.

Returns: Summary with per-item results; a failed item does not stop the rest

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>",
      "renames": "<renames>"
    },
    "name": "batch_rename"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
renamesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description still discloses real behavioral traits: operations execute sequentially in the given order, renaming a folder shifts the paths of everything inside it, a failed item does not abort the rest, and per-item results are returned. It stops short of stating permission/auth needs or whether the torrent must be paused.

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 purpose sentence followed by compact Args/Returns sections; each line carries information. Minor waste in restating the return summary given an output schema exists, but no bloat.

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 2-parameter mutation tool with no annotations, the description covers ordering hazards, partial-failure semantics, and the nested item structure well; an output schema exists so return details need not be expanded. Gaps remain around path base (torrent-relative vs absolute) and any preconditions, which matter for a destructive rename.

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%, so the description must compensate, and it mostly does: it defines the per-item object shape (old_path, new_path, optional type defaulting to 'file') and the ordering semantics. The 'hash' parameter gets only a bare restatement ('Torrent hash value'), and the fact that renames is a JSON-encoded string per the schema is not reconciled with the 'JSON array' phrasing.

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 with explicit scope: 'Rename multiple files and folders inside a torrent in one batch'. The batch framing distinguishes it from the singular rename_torrent_file and rename_torrent_folder siblings without needing their schemas.

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 implied by the batch scope rather than stated: there is no explicit 'use this when renaming multiple items, use rename_torrent_file for a single file' routing. It does give intra-call ordering guidance (folder renames cascade), but no when-not-to-use or prerequisites such as torrent state.

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