Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

List episode files of a series

sonarr_list_episode_files
Read-onlyIdempotent

List media files Sonarr has for a series, including path, size, quality, languages, codec, and whether the quality cutoff is met.

Instructions

List the media files Sonarr has for a series: path, size, quality, languages, codec and whether the quality cutoff is met.

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": {
      "seriesId": "<seriesId>"
    },
    "name": "sonarr_list_episode_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
seriesIdYesSeries ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful value by disclosing what the response contains (path, size, quality, languages, codec, cutoff status), but says nothing about permissions, pagination, or volume of results for a series with many episodes.

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?

One tightly written sentence that front-loads the verb and resource and then enumerates return fields; no filler or redundancy.

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 simple single-parameter read tool with full annotation coverage and a clear return-field listing, this is essentially complete. The only minor gap is the absence of output schema combined with no note on result volume or ordering, but nothing critical is missing for correct invocation.

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 100% and the single seriesId parameter is documented in the schema as 'Series ID'. The description adds no meaning about the identifier (where to obtain it, format) beyond the schema, so the baseline 3 applies.

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?

States a specific verb (list) and resource (media files Sonarr has for a series) and enumerates the returned fields, so an agent knows exactly what it retrieves. It does not explicitly contrast with siblings like sonarr_list_episodes or sonarr_delete_episode_files, which keeps it just short of 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 implied by the phrase 'media files Sonarr has for a series' — an agent can infer it's for inspecting on-disk file details for a given series. There is no explicit when-to-use/when-not statement and no named alternative (e.g., list_episodes for metadata-only queries), so guidance is only implicit.

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