Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Refresh and rescan series

sonarr_refresh_series
Idempotent

Refresh TV series metadata from TheTVDB and rescan files on disk for a single series or the entire library, keeping episode data and file status accurate.

Instructions

Refresh series metadata from TheTVDB and rescan files on disk, for one series or (if seriesId is omitted) the whole library.

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

Input Schema

NameRequiredDescriptionDefault
waitNoSeconds to wait for the command to finish (0 = return immediately once queued)
seriesIdNoSeries ID (omit for all series)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already cover the safety profile (idempotent, non-destructive, open-world). The description adds that disk files are rescanned and that the external TheTVDB source is contacted, but says nothing about cost, duration, or that the call queues a background command and returns rather than completing the work synchronously.

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?

A single front-loaded sentence covering action, data source, and scope with no filler. It is efficient, though it could have spent one more clause on the asynchronous behavior without becoming bloated.

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 two-parameter, non-destructive maintenance tool with full schema coverage and annotations, the description covers what it does and at what scope. The main remaining gap is that it never mentions the command/queue model implied by the wait parameter.

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 both parameters are already documented. The description restates the seriesId omission semantics already present in the schema and adds no information about the wait parameter or its interaction with the queued command.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb pair and resource ('Refresh series metadata from TheTVDB and rescan files on disk') plus the scope, which cleanly separates it from siblings like update_series, search_series, or lookup_series that do not touch on-disk files.

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 operative rule: pass seriesId for one series, omit it to act on the whole library. It does not explicitly say when to prefer this over refresh-adjacent siblings such as sonarr_update_series, but the context for calling it is unmistakable.

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