Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

delete_series

DestructiveIdempotent

Remove a TV series from the Sonarr library, optionally deleting its files from disk and adding an import list exclusion to stop lists from re-adding it.

Instructions

Remove a series from the library. Optionally delete its files from disk and add an import list exclusion so lists do not re-add it.

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

Input Schema

NameRequiredDescriptionDefault
idYesSonarr series id
delete_filesNoAlso delete the series folder and files from disk (default false)
add_import_list_exclusionNoAdd an import list exclusion for this series (default false)

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, and idempotentHint=true, so the safety profile is covered. The description adds real value beyond that by specifying exactly what can be destroyed (the series folder and files on disk) and disclosing the side effect of an import list exclusion that affects future list behavior.

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?

Two short sentences with no filler, and the core action is front-loaded ahead of the optional behaviors. Every clause carries information an agent would otherwise have to infer.

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 three-parameter destructive mutation with no output schema and full schema coverage, the description covers the essential unknowns: what is removed, what is destroyed on disk, and what lingering side effect occurs. It stops short of stating whether the removal is reversible or requires confirmation, which would be valuable for a destructive operation.

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 coverage is 100%, so all three parameters are already documented, including their default-false behavior; the baseline is 3. The description adds only marginal meaning beyond the schema, chiefly the purpose of the exclusion flag (preventing re-adding), and says nothing about the 'id' parameter beyond what the schema states.

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 gives a specific verb+resource ("Remove a series from the library") that is immediately distinguishable from add_series, get_series, and update_series. It does not explicitly distinguish itself from the sibling delete_series_bulk, leaving that differentiation to the name alone.

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 guidance is implied through the two optional flags: the description explains what each option does and even gives a rationale ("so lists do not re-add it"). However, it never states when to prefer this over delete_series_bulk or mentions any prerequisite such as confirmation or permissions.

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