Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

delete_episode_files

DestructiveIdempotent

Remove multiple episode files from disk in one call by passing their episode file IDs.

Instructions

Delete several episode files from disk in one call.

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

Input Schema

NameRequiredDescriptionDefault
episode_file_idsYesEpisode file ids to delete

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

B3.2/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds only "from disk," and says nothing about what happens to the episode records themselves, whether deletion is reversible, or what permissions are required for a destructive bulk operation. Given annotations do most of the work, this is a marginal contribution.

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 with no filler, so nothing is wasted. It is arguably over-compressed for a destructive bulk operation, but conciseness itself is not the problem.

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 one-parameter destructive tool with full annotation coverage and no output schema, the definition is minimally sufficient. It omits partial-failure behavior (what happens if some ids are invalid) and any note on cascading effects, which matter for a bulk delete.

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?

With one parameter at 100% schema description coverage, the schema fully documents episode_file_ids. The description adds only that multiple ids are expected, restating what the array type already conveys; no format, limits, or validation behavior is added.

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 names a specific verb ("Delete") and resource ("episode files"), and the phrase "several ... in one call" signals bulk semantics that implicitly separate it from the singular sibling delete_episode_file. It never names that sibling explicitly, so the differentiation is left to inference rather than stated.

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?

Bulk-versus-single usage is only implied by "several ... in one call"; there is no explicit statement of when to prefer this over delete_episode_file or list_episode_files. An agent can guess the intent but gets no stated preconditions or exclusions.

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