Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

delete_torrent

Delete specified qBittorrent torrents by hash or remove all torrents, optionally deleting downloaded files.

Instructions

Delete torrents from qBittorrent

Args: hashes: Torrent hash values to delete, multiple hashes separated by |, or use 'all' to delete all torrents delete_files: If True, also delete downloaded files

Returns: Result message of delete 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": {
      "hashes": "<hashes>"
    },
    "name": "delete_torrent"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashesYes
delete_filesNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure: it does convey the key destructive detail that delete_files=True removes downloaded files, which is meaningful. However, it omits irreversibility, whether the removal is permanent in the client, any permission requirements, and what happens to unknown hashes.

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 with the action, then Args/Returns sections that are tight and readable. No filler sentences; slightly more boilerplate than necessary but well structured.

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?

An output schema exists, so return-format explanation is unnecessary. For a destructive mutation with zero annotations, the definition covers parameters well but leaves gaps around irreversibility and safety context that an agent would want before invoking a delete.

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 does: it explains the pipe-separated hash format, the special 'all' value, and the meaning of delete_files being True. It does not clarify edge cases like mixed valid/invalid hashes, but coverage is solid for two parameters.

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 ('Delete torrents from qBittorrent'), which clearly separates it from siblings like pause_torrent, resume_torrent, and add_torrent. It does not explicitly name a sibling alternative, but the action is unambiguous.

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 guidance on when to delete versus pausing or removing tags, and no prerequisites or cautions about when not to use it. Usage is only implied by the parameters themselves.

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