Skip to main content
Glama
qb-mcp

qb-mcp

qb_diagnose

Explains why a qBittorrent instance is or isn't uploading by checking login, tracker health, listening port, peer counts, speed limits and torrent states, then states a conclusion.

Instructions

Explain why a qBittorrent instance is (or is not) uploading.

Checks login, tracker health, listening port, peer counts, speed limits and torrent states, then states a conclusion.

Args: instance: instance key from .instances.json. hash: optional torrent hash to inspect trackers for a single torrent.

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

Input Schema

NameRequiredDescriptionDefault
hashNo
instanceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

TDQS

A3.9/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 burden. It does disclose the internal checks performed and that it returns a stated conclusion, which is meaningful behavioral detail. However, it never says whether the tool is read-only, whether checks like tracker inspection trigger re-announces or other side effects, or what credentials/config it needs.

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 purpose and the check list, followed by a compact Args block. The Args section slightly overlaps the schema but adds the .instances.json provenance, so little is wasted.

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?

With an output schema present, return format need not be explained, and both parameters are documented. The remaining gap is behavioral safety: with no annotations, an agent cannot tell whether invoking this performs only reads or also touches the client's state.

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 does: 'instance' is identified as a key from .instances.json (telling the agent where the value comes from) and 'hash' is described as optional and scoped to inspecting trackers for a single torrent. Only the origin/format of the hash value itself is left unexplained.

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 ('Explain why a qBittorrent instance is (or is not) uploading') and enumerates exactly what it inspects (login, tracker health, listening port, peer counts, speed limits, torrent states). This clearly separates it from read-only data siblings like qb_detail or qb_overview, which return data rather than a diagnosis.

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?

The framing 'why is it (or is not) uploading' implicitly tells an agent when to reach for it, but there is no explicit when-not, no mention of alternatives (e.g., fetch details with qb_detail first), and no warning about cost or latency despite the tool performing many checks.

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