Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

rescan_series

Rescan a Sonarr series folder, or all series, to detect files added or removed outside Sonarr and update the library.

Instructions

Rescan the folder of one series (or all series) to pick up files added or removed outside Sonarr.

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

Input Schema

NameRequiredDescriptionDefault
series_idNoSonarr series id; all series when omitted

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

A3.8/5.0
Behavior3/5

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

The annotations mark this as non-read-only and non-destructive, and the description usefully explains the effect ('pick up files added or removed'), which implies missing episode records may change. It never states that the rescan is typically queued as an asynchronous command, nor what gets removed when files vanish, which matters for a write-flagged tool with no output schema.

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 sentence, front-loaded with the action and scope, with no filler. Every clause (folder of one series, or all series, plus the external-change rationale) carries information.

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 single optional-parameter tool with no output schema, the description covers action, scope, and purpose. The remaining gap is operational: no mention that the rescan may run asynchronously or be subject to rate/queuing constraints.

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?

The schema already documents series_id fully (100% coverage, including the 'all series when omitted' default). The description only restates that duality ('one series (or all series)') without adding format, id-or-slug ambiguity handling, or behaviour for an unknown id, so it lands at 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?

States a specific verb (rescan) plus the exact resource (a series folder) and its scope (one series or all), which is clearer than the bare name. It does not explicitly distinguish itself from near-neighbours like refresh_series or search_series, so an agent must infer the difference.

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 concrete trigger condition: use it to pick up files that were added or removed outside Sonarr. There are no explicit exclusions or named alternatives, so the agent still has to reason about refresh_series versus rescan_series on its own.

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