Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Run a Sonarr command

sonarr_run_command

Queue any named Sonarr command with optional parameters—RSS sync, series refresh, searches, backups—and optionally wait for it to finish.

Instructions

Queue any Sonarr command by name with optional parameters. Common commands: RssSync, RefreshSeries {seriesIds}, RescanSeries {seriesId}, RenameSeries {seriesIds}, RenameFiles {seriesId, files}, DownloadedEpisodesScan {path}, RefreshMonitoredDownloads, EpisodeSearch {episodeIds}, SeasonSearch {seriesId, seasonNumber}, SeriesSearch {seriesId}, MissingEpisodeSearch, CutoffUnmetEpisodeSearch, CheckHealth, Backup, ClearBlocklist, CleanUpRecycleBin, ApplicationUpdate.

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

Input Schema

NameRequiredDescriptionDefault
nameYesCommand name, e.g. 'RssSync'
waitNoSeconds to wait for the command to finish (0 = return immediately once queued)
parametersNoCommand-specific parameters, e.g. {"seriesId": 12}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The description adds real context beyond annotations by making the queue/async nature explicit and cataloguing commands, but it omits what a queued command returns (presumably a command resource with an id) and how to poll it via sonarr_get_commands. It also does not flag that entries like ApplicationUpdate, ClearBlocklist, CleanUpRecycleBin, and RenameFiles mutate state, which sits uneasily with destructiveHint=false.

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?

Two sentences, front-loaded with the core action, followed by a dense but purposeful command catalog. The list is long yet every entry carries parameter information an agent could not get from the schema, so little is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With three parameters, a nested free-form object, and no output schema, the definition should explain the return shape and the wait/polling pattern. It covers the input side well but leaves the response and follow-up workflow (checking status via sonarr_get_commands) undocumented.

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 earns more by documenting per-command parameter shapes (seriesIds, seriesId+files, path, seriesId+seasonNumber) for a free-form 'parameters' object that the schema leaves entirely open. This is the only place that meaning is conveyed.

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?

The description states a specific verb and resource: queue a Sonarr command by name with optional parameters. It is clear what the tool does, but it never distinguishes itself from dedicated siblings such as sonarr_refresh_series, sonarr_search_series, or sonarr_search_episodes, which perform several of the listed commands directly.

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 rather than stated: the catalog of common command names shows what can be invoked, but there is no guidance on when to prefer this generic tool over the specialized siblings or when to use wait versus returning immediately. The agent must infer the routing decision.

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