Skip to main content
Glama
qb-mcp

qb-mcp

qb_set_limit

Set upload and download speed limits in bytes per second for a qBittorrent instance, globally or per torrent; use 0 for unlimited.

Instructions

Set upload/download speed limits in bytes per second (0 = unlimited).

Args: instance: instance key from .instances.json. up: upload limit in bytes/s; 0 means unlimited. dl: download limit in bytes/s; 0 means unlimited. hashes: torrent hashes; empty means the global limit. mode: "normal" for the normal global limit, "alternative" for the alternative (scheduled) limit. qBittorrent keeps them separate and the active one depends on whether alternative mode is switched on.

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": {
      "instance": "<instance>"
    },
    "name": "qb_set_limit"
  }
}

Input Schema

NameRequiredDescriptionDefault
dlNo
upNo
modeNonormal
hashesNo
instanceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A4.1/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It discloses that 0 means unlimited and how the two limit sets interact, but says nothing about permissions/auth needs, whether limits persist across restarts, or what happens when both global and per-torrent limits apply.

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?

The purpose line is front-loaded with units and the sentinel value, followed by a compact per-argument list. Every line adds information the schema lacks; nothing is redundant.

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 return values need not be described, and all parameters are covered. The remaining gap is operational context — auth requirements, persistence of limits, and precedence between global and per-torrent limits — for a mutation tool with no annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description compensates fully: it defines all five parameters, including that 'hashes' empty means the global limit, that 0 means unlimited for up/dl, and — critically — the allowed 'mode' values 'normal' and 'alternative' that the schema's bare string type does not enumerate.

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 definition names a specific verb and resource ('Set upload/download speed limits') and states the unit (bytes per second) plus the sentinel value (0 = unlimited). It does not explicitly contrast itself with siblings such as qb_set_share, but the resource is distinct enough that an agent can identify it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explains the scoping condition ('hashes: torrent hashes; empty means the global limit') and which limit set applies under 'mode', including that the active one depends on whether alternative mode is switched on. That is clear context for choosing arguments, though there is no explicit when-not-to-use guidance.

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