Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

qbittorrent_log

Read-only

Retrieve qBittorrent application or peer-block logs as JSON, filtering by message class or fetching only entries newer than a known ID to inspect warnings, errors, and blocked peers.

Instructions

qbittorrent log operations on qBittorrent. Pass operation and an arguments dict matching that operation's parameters.

  • qbittorrent_log_main(normal=None, info=None, warning=None, critical=None, last_known_id=-1) — The application log as a JSON array of {id, message, timestamp, type}. Filter message classes with normal/info/warning/critical (default true for all). Pass last_known_id to fetch only messages newer than a given id.

  • qbittorrent_log_peers(last_known_id=-1) — Peer-block log entries as a JSON array of {id, ip, timestamp, blocked, reason}. Pass last_known_id to fetch only entries newer than a given id.

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": {
      "operation": "<operation>"
    },
    "name": "qbittorrent_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, and the description adds real context beyond that: read-only filtering semantics, the fact that filters default to true for all message classes, that last_known_id=-1 means everything, and per-operation return shapes. It does not disclose pagination, ordering, or any result-size limits, which is the main remaining gap for a log tool.

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 dispatch pattern is explained up front in one short sentence, then each operation gets a single dense bullet containing signature, return shape, and filtering semantics. Nearly every clause earns its place, with only mild redundancy in restating 'as a JSON array of {...}' for both operations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter dispatcher wrapping two operations, the description covers the routing key, both operations' full signatures, defaults, filter semantics, and incremental-fetch behavior. An output schema exists, so return values did not need spelling out, yet the description supplies them anyway.

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 carry the parameter burden, and it largely does: it maps the `operation` enum to two documented alternatives and spells out every nested argument (normal/info/warning/critical filters, last_known_id) with defaults. The top-level `arguments` wrapper is described only as 'a dict matching that operation's parameters', which is adequate but slightly informal.

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 names the resource precisely ('qbittorrent log operations') and enumerates the two concrete operations: the application log and the peer-block log. An agent can distinguish it from siblings like qbittorrent_application or qbittorrent_transfer without opening any schema, though it never explicitly states the contrast.

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?

Usage is implied rather than stated: the agent can infer that qbittorrent_log_main is for the application log and qbittorrent_log_peers for blocked-peer events, since each bullet describes its data. There is no explicit when-to-use, when-not-to-use, or comparison to sibling tools that might also surface log-like data.

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