Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

by akioruri

set_torrent_upload_limit

Sets the upload speed limit for a specific torrent by hash and limit in bytes per second, helping control bandwidth usage in qBittorrent.

Instructions

Set torrent upload speed limit

Args: hash: Torrent hash value limit: Speed limit value, in bytes/second

Returns: Result message of setting torrent upload speed limit

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>",
      "limit": "<limit>"
    },
    "name": "set_torrent_upload_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
hashYes
limitYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the entire burden for a mutating tool and does not disclose whether the limit is per-session or persistent, what a limit of 0 means (commonly 'unlimited' in torrent clients), or whether resetting is possible. Only the bare 'Returns: Result message' note is present, and the output schema already covers returns.

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?

Very short and front-loaded: the purpose sentence comes first, followed by parameter and return notes. The docstring boilerplate ('Args:', 'Returns:') is slightly noisy but nothing is redundant or padded.

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?

Because an output schema exists, the return values need not be explained, so the main gaps are behavioral: unit semantics are covered but edge cases (zero/unlimited, persistence, effect on active transfers) are missing for a two-parameter mutation tool without annotations.

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%, so compensation is needed. The description does add a genuinely useful unit ('in bytes/second') that the schema lacks, but 'hash: Torrent hash value' adds nothing about format (e.g., 40-char infohash) and the 0/unlimited sentinel for limit is unmentioned.

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: 'Set torrent upload speed limit'. The wording ('torrent upload') implicitly separates it from global and download-limit siblings, but the description never names them to make the contrast explicit.

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?

There is no when-to-use guidance, no mention of alternatives such as set_global_upload_limit or set_torrent_download_limit, and no preconditions (e.g., whether the torrent must exist or be running). Usage is only inferable from the tool name and one-line purpose.

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