Skip to main content
Glama
qbittorrent-mcp

qbittorrent-mcp

qbittorrent_auth

Invalidates the current qBittorrent WebUI session, ending authenticated access for the active session.

Instructions

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

  • qbittorrent_logout() — Invalidate the current WebUI session. With API-key auth this endpoint is not reachable (API keys cannot interact with /auth/*) and the API will return an error which is surfaced as-is.

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

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose two valuable traits: the call invalidates the session (a state-changing side effect) and fails under API-key auth with the raw API error returned. It says nothing about reversibility, whether other sessions are affected, or re-authentication requirements, which for a session-tearing operation is a meaningful remaining gap.

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 calling convention comes first and the single operation with its caveat follows, so the structure is front-loaded and the agent can stop reading early. Slightly redundant phrasing ('qbittorrent auth operations on qBittorrent') costs a point but nothing is padded.

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 no prose, and with one fixed operation and two parameters the surface is small. The description covers the operation's effect and its main failure mode. Residual gaps are the auth-method precondition and the fact that no other auth operations are offered, both of which an agent might otherwise assume.

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% across two parameters, so the description must compensate. It does explain the calling convention ('Pass `operation` and an `arguments` dict matching that operation's parameters'), and the empty-argument signature qbittorrent_logout() implies `arguments` can be null. It does not state the accepted null default explicitly or describe the arguments object's structure, so it only partially fills the coverage hole.

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 (qBittorrent WebUI auth) and the single concrete operation it exposes, qbittorrent_logout(), with a plain-English statement of what that does: 'Invalidate the current WebUI session.' An agent can tell this apart from the torrent/transfer/log siblings by domain. It loses a point only because the tool's own name promises plural 'auth operations' while only logout is documented, so the scope is defined by the argument list rather than the prose.

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 gives a genuinely decisive condition: with API-key auth this endpoint is not reachable and the API returns an error surfaced as-is, which tells an agent when NOT to call it. What's missing is any positive precondition (e.g. only meaningful when authenticated via cookie/session) and any pointer to an alternative for API-key users, so it stops short of the 5-level bar of explicit when/when-not plus alternatives.

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