Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

list_episodes

Read-only

Fetch episode summaries filtered by series, season, episode file, monitored status, or missing files, making it easy to locate specific TV episodes in a Sonarr library.

Instructions

List episodes as compact summaries (id, season/episode number, title, air date, hasFile, monitored). Filter by series, season or episode file. Use get_episode for the full object.

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

Input Schema

NameRequiredDescriptionDefault
detailedNoReturn full episode objects instead of summaries
monitoredNoOnly monitored (true) or unmonitored (false)
series_idNoOnly episodes of this Sonarr series id
episode_idsNoFetch these specific episode ids
missing_onlyNoOnly episodes without a file (hasFile false)
season_numberNoOnly this season number (0 is specials); requires series_id
include_seriesNoInclude the parent series object
episode_file_idNoOnly episodes linked to this episode file id
include_episode_fileNoInclude the episode file object

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint=true already conveys the safety profile, yet the description still adds useful behavior: results are summaries rather than full objects, and it enumerates exactly which fields come back. It doesn't discuss result volume, pagination, or default limits for an unbounded list operation.

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?

Two sentences, both load-bearing: the first front-loads the output contract and the second handles routing. No filler or restatement of the tool name.

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?

For a nine-parameter, zero-required list tool with no output schema, the description covers the essential contract (what comes back, how to filter, where to go for full objects). It could add a note about result size/defaults or that no filters returns all episodes, but nothing critical is missing.

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%, so the schema already documents all nine parameters; the description only echoes the series/season/episode-file filters and the monitored/default summary shape. Its main added value is naming the summary fields, but the detailed, include_series, include_episode_file, missing_only, episode_ids, and monitored parameters are left entirely to the schema.

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?

States a specific verb and resource ('List episodes') and immediately defines the return shape: compact summaries containing id, season/episode number, title, air date, hasFile, monitored. It also distinguishes itself from the sibling get_episode by naming the full-object alternative.

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?

Gives concrete usage context ('Filter by series, season or episode file') and an explicit alternative for the heavy case with the phrase 'Use get_episode for the full object.' It lacks an explicit when-not clause (e.g. prefer search_episodes for cross-series release searching), but the routing guidance is clear.

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

Deploy Server

Other Tools