Skip to main content
Glama

Download queue

get_queue
Read-only

Lists and filters downloads across all *arr queues, download clients, and Bookdrop, exposing stalled items, import blocks, and seeding status to diagnose stuck media.

Instructions

Everything downloading or stalled, merged across every *arr queue and download client, plus files waiting in Grimmory's Bookdrop. Sizes are bytes, ETAs seconds; release names are fenced as untrusted data. An *arr row carries downloadId and statusMessages: a finished download stuck at importBlocked, or importPending with messages, comes back as an import_download step in next_steps; a title mismatch or unknown episode fails on every retry until fixed in the service. At detail: "full" a torrent carries seeding (ratio, time seeded, the limit that applies, overLimit) and, with Cleanuparr, the rule that governs it, its strikes and dueAt; cleanuparrDue totals what falls due within 7 days. Filter on the server rather than reading the whole queue. Remove a row with remove_queue_item. Field reference: arr://docs/get_queue.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly one service's queue. `movie`: Radarr. `series`: Sonarr and Whisparr. `artist`: Lidarr. `book`: Shelfmark and Grimmory's Bookdrop. Pass it when the request names one of those services. Download clients are left out, since their rows are the same downloads. Omit for everything.
limitNoMaximum items to return.
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.
statusNoOnly rows whose status starts with this, e.g. `seeding`, `stalled`.
struckNoOnly rows with (true) or without (false) Cleanuparr strikes.
categoryNoOnly torrents in these client categories.
unmatchedNoOnly rows no Cleanuparr rule covers (true), or that one does (false).
by_trackerNoAdd `byTracker`: seed time per tracker hostname over the matching seeding torrents.
over_limitNoOnly rows past (true) or within (false) their seed limit.
min_seed_daysNoWith by_tracker: count per tracker what Cleanuparr removes before this seed time.
due_within_daysNoOnly rows Cleanuparr acts on within this many days.

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.2.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return; defaults to standard."New value: +"How much per-item detail to return."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return; defaults to 50, hard maximum 500."New value: +"Maximum items to return."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`."
  2. Changed4 schema fields changedv1.84.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return. Defaults to standard."New value: +"How much per-item detail to return; defaults to standard."
    • changedInput schema / properties / kind / description
      Previous value: -"Only one service's queue: `movie` (Radarr), `series` (Sonarr, Whisparr), `artist` (Lidarr), `book` (Shelfmark, Grimmory's Bookdrop). Pass it when the request names one of those services. Download clients are left out, since their rows are the same downloads. Omit for everything."New value: +"Only one service's queue. `movie`: Radarr. `series`: Sonarr and Whisparr. `artist`: Lidarr. `book`: Shelfmark and Grimmory's Bookdrop. Pass it when the request names one of those services. Download clients are left out, since their rows are the same downloads. Omit for everything."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return. Defaults to 50, hard maximum 500."New value: +"Maximum items to return; defaults to 50, hard maximum 500."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."
  3. Changed9 schema fields changedv1.74.1
    • addedInput schema / properties / by_tracker
      Added value: +{
      +  "description": "Add `byTracker`: seed time per tracker hostname over the matching seeding torrents.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / category
      Added value: +{
      +  "description": "Only torrents in these client categories.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "minItems": 1,
      +  "type": "array"
      +}
    • addedInput schema / properties / due_within_days
      Added value: +{
      +  "description": "Only rows Cleanuparr acts on within this many days.",
      +  "maximum": 365,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Only one service's queue: `movie` (Radarr), `series` (Sonarr, Whisparr), `artist` (Lidarr), `book` (Shelfmark, Grimmory's Bookdrop). Pass it when the request names one of those services. Download clients are left out, since their rows are the same downloads. Omit for everything.",
      +  "enum": [
      +    "movie",
      +    "series",
      +    "artist",
      +    "book"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / min_seed_days
      Added value: +{
      +  "description": "With by_tracker: count per tracker what Cleanuparr removes before this seed time.",
      +  "maximum": 365,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / over_limit
      Added value: +{
      +  "description": "Only rows past (true) or within (false) their seed limit.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / status
      Added value: +{
      +  "description": "Only rows whose status starts with this, e.g. `seeding`, `stalled`.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / struck
      Added value: +{
      +  "description": "Only rows with (true) or without (false) Cleanuparr strikes.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / unmatched
      Added value: +{
      +  "description": "Only rows no Cleanuparr rule covers (true), or that one does (false).",
      +  "type": "boolean"
      +}
  4. Changed17 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / offset / description
      Previous value: -"How many items to skip before the window `limit` returns — page two of 50 is `offset: 50`. `total` always counts the whole list, so `offset + returned < total` is how you know there is another page. Pair it with `sort` for a stable walk: without one the order is whatever the services returned, and an item can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / counts / description
      Removed value: -"How many results each service contributed."
    • removedOutput schema / properties / degraded / description
      Removed value: -"Services that could not be reached. Their contribution is missing from `items`, so a short list may be an outage rather than an answer."
    • removedOutput schema / properties / items / description
      Removed value: -"The window of results. What an item carries depends on the tool and on `detail`."
    • removedOutput schema / properties / offset / description
      Removed value: -"How many were skipped. `offset + returned < total` means there is another page."
    • removedOutput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / offset / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / returned / description
      Removed value: -"How many are in `items`."
    • removedOutput schema / properties / returned / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / returned / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / total / description
      Removed value: -"How many matched in total — the whole list, never the window. Compare against `returned` before reporting a count to anyone."
    • removedOutput schema / properties / total / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / total / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / truncated / description
      Removed value: -"True when this is not the whole list — including on the last page of a paged walk, where the rest is behind you rather than ahead."
  5. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

readOnlyHint=true already covers the safety profile, and the description layers on genuine behavioral context: units ('Sizes are bytes, ETAs seconds'), a trust boundary ('release names are fenced as untrusted data'), the next_steps/importBlocked semantics, and the warning that a title mismatch 'fails on every retry until fixed in the service'. These are non-obvious traits an agent could not infer from annotations or schema.

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?

Purpose is front-loaded in the first clause, and each subsequent sentence carries distinct semantics (units, trust fencing, next_steps, detail:full, filtering, removal routing). It is dense and long, verging on a reference dump with several clauses chained by semicolons, but nothing is redundant.

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 12-parameter read tool with an output schema, the description covers the scope, the trust handling, the import-failure path, the full-detail payload, server-side filtering, and the mutation escape hatch, plus a doc URI for the field reference. An agent has everything needed to choose and call it correctly.

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 100%, so baseline is 3, but the description adds real meaning the schema lacks: what detail:"full" actually returns (seeding ratio, time seeded, applicable limit, overLimit, Cleanuparr strikes/dueAt) and what cleanuparrDue aggregates. It also implies the by_tracker/min_seed_days coupling that the schema only states one-sidedly.

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?

The opening sentence names a specific verb-scoped resource and its full scope: 'Everything downloading or stalled, merged across every *arr queue and download client, plus files waiting in Grimmory's Bookdrop.' That distinguishes it from siblings like get_history (past downloads) and remove_queue_item (mutation), which is explicitly named later.

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 concrete operational rule — 'Filter on the server rather than reading the whole queue' — and routes the removal case to remove_queue_item. It also explains the lifecycle case where a stuck import belongs in next_steps rather than a retry. It does not explicitly say when not to use it (e.g. versus get_history or pause_downloads), so it stops short of full when/when-not coverage.

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