Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Get download queue

sonarr_get_queue
Read-onlyIdempotent

Retrieve current Sonarr download and import queue items with progress, time left, status, warnings, and errors so you can monitor blocked imports and get item IDs for removal.

Instructions

Items currently downloading or waiting to import, with progress, time left, status and any warnings/errors (e.g. import blocked). Queue item ids are used by sonarr_remove_queue_items.

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": "sonarr_get_queue"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
statusNoOnly items with these statuses
sortKeyNoField to sort by, e.g. 'airDateUtc', 'date', 'timeleft'
pageSizeNoResults per page (max 250)
seriesIdsNoOnly these series
sortDirectionNoSort direction
includeUnknownSeriesItemsNoInclude downloads Sonarr couldn't match to a series

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: it discloses that failed/blocked imports surface as warnings/errors and that the returned ids are the handles consumed by sonarr_remove_queue_items. It stops short of noting pagination or default ordering behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence that describes contents first and the downstream id usage second, with no filler. Every clause earns its place.

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 no output schema, the description compensates by naming the fields an agent will receive, and the zero-required-parameter filter surface is fully covered by the schema. Slightly short on paging expectations for a queue that can exceed 250 items per page.

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 coverage is 100% with 7 well-described parameters (page, pageSize, status enum, sortKey, sortDirection, seriesIds, includeUnknownSeriesItems), so the schema carries parameter meaning. The description adds no filtering or sorting semantics of its own, making 3 the baseline.

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?

Names the resource precisely ('Items currently downloading or waiting to import') and enumerates the payload fields (progress, time left, status, warnings/errors), so an agent knows exactly what it returns. It does not explicitly contrast with other read tools like sonarr_get_history, which keeps it from a 5.

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 only implied: check what is downloading or awaiting import. The one explicit routing cue points forward to sonarr_remove_queue_items, telling the agent these `id`s feed that tool, but there is no when-to-use vs. alternatives guidance such as queue vs. history for diagnosing failures.

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