Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

get_rename_preview

Read-only

Preview how Sonarr would rename existing series files under the current naming settings, showing each old and new path before you apply changes.

Instructions

Preview which existing files would be renamed under the current naming configuration, showing the old and new paths. Run the RenameFiles command to apply.

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

Input Schema

NameRequiredDescriptionDefault
series_idYesSonarr series id
season_numberNoOnly this season number

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / series_id / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / series_id / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / series_id / type
      Previous value: -"number"New value: +"integer"
  2. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true is consistent with the preview framing, and the description usefully discloses that output is a before/after path mapping plus the path to actually apply changes. Beyond that it says nothing about scope or permissions -- notably it omits that the preview is scoped to a single series, and with annotations already covering the safety profile the added value is modest.

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 tight sentences with the purpose front-loaded and the apply instruction trailing as a natural next action; nothing is redundant. The only slight waste is not folding in the required series scoping.

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?

For a two-parameter read tool with a full-coverage schema and annotations, most of what an agent needs is present. The notable omission is that the required series_id makes this per-series rather than a global preview of all files, which could mislead an agent into expecting a library-wide result.

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%, so series_id and season_number are already documented in the schema. The description adds no semantics of its own -- it never mentions that the preview is series-scoped or that season_number narrows it -- 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?

Names a specific verb (preview) and resource (files renamed under the current naming configuration) and specifies what the output contains (old and new paths). It is distinguishable from get_naming_config/get_naming_examples because it operates on actual files, though it never names a sibling explicitly.

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?

The second sentence gives concrete next-step guidance: run the RenameFiles command to apply, which implicitly frames this as the dry-run step before mutating. It stops short of stating exclusions (e.g., when to prefer get_naming_examples for hypothetical samples).

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