Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Interactive release search

sonarr_search_releases
Read-onlyIdempotent

Search all indexers for releases of an episode or season, return each result with Sonarr's approval or rejection reasons, and identify the guid and indexerId needed to grab it.

Instructions

Search all indexers for releases of an episode (episodeId) or a full season (seriesId + seasonNumber), and show Sonarr's verdict for each (approved or rejection reasons). Can take a minute. Grab a result with sonarr_grab_release using its guid and indexerId.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax releases to return
seriesIdNoSeries to search (with seasonNumber)
episodeIdNoEpisode to search for
onlyApprovedNoOnly return releases Sonarr would accept
seasonNumberNoSeason to search (with seriesId)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, open-world, idempotent and non-destructive, so the safety profile is covered. The description adds real value beyond that: an open-world fan-out across all indexers, a latency warning ('Can take a minute'), and the shape of the verdict returned per release.

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?

Three tight sentences with the search scope front-loaded, followed by the timing caveat and the grab handoff. Every sentence carries information an agent needs; nothing is repeated from the schema.

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 supplies the return shape (per-release verdict and rejection reasons) and the identifiers needed by sonarr_grab_release, which is the critical missing piece. A brief note on the default limit or onlyApproved filter would have made it fully self-contained.

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 the baseline is 3, but the description adds the coupling semantics the schema only hints at: episodeId alone versus seriesId plus seasonNumber as mutually exclusive search modes. It does not mention limit or onlyApproved, though the schema documents both adequately.

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 and resource: 'Search all indexers for releases of an episode ... or a full season', and adds what the result contains ('Sonarr's verdict ... approved or rejection reasons'). It is clearly a release search, distinct from library lookups like sonarr_search_episodes, though it does not name a sibling to contrast against.

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 a clear forward path: use the result's guid and indexerId with sonarr_grab_release, which routes the agent to the follow-up tool. It sets no explicit exclusions or prerequisites (e.g. when to prefer sonarr_search_wanted instead), so selection guidance is implied rather than spelled out.

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