Skip to main content
Glama
qb-mcp

qb-mcp

qb_category

Update torrents by assigning a category or adding tags across a chosen qBittorrent instance; leave the category unchanged when no category is provided.

Instructions

Assign a category and/or tags to torrents.

Args: instance: instance key from .instances.json. hashes: torrent hashes to update. category: category name; empty leaves it unchanged. tags: tags to add.

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>",
      "hashes": "<hashes>"
    },
    "name": "qb_category"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
hashesYes
categoryNo
instanceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.4

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 full behavioral burden. It does state one valuable trait – an empty category leaves existing values unchanged – but it never clarifies whether tags are merged with existing tags or replace them ('tags to add' is ambiguous), and it says nothing about permissions, failure modes for unknown instances or hashes, or whether the mutation is reversible.

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?

The purpose sentence is front-loaded and the Args block is terse and scannable with no filler. Every line maps to a parameter, so nothing is wasted.

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 values need not be explained. For a 4-parameter mutation tool with no annotations, however, the definition omits merge semantics for tags, prerequisite state for categories, and error behavior – gaps an agent would want before calling it.

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 the description must compensate. It does document all four parameters to some degree, adding real meaning for instance ('instance key from .instances.json') and the empty-string behavior for category. However, the tags semantics ('to add') remain ambiguous about replace-vs-merge, and hashes gets no explanation beyond its name.

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 description opens with a specific verb and resource: 'Assign a category and/or tags to torrents.' That clearly separates it from siblings like qb_add, qb_remove, and qb_set_limit, which govern different operations. It stops short of naming an alternative, but the resource plus operation 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 is given on when to choose this tool over alternatives, nor any prerequisites (e.g. whether the category must already exist, or what happens to hashes that aren't in the client). Usage is only inferable from the verb 'Assign'.

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