Skip to main content
Glama
rollecode

Sonarr MCP server

by rollecode

delete_rootfolder_by_id

DestructiveIdempotent

Delete a configured root folder from Sonarr by its ID to stop managing that media library path.

Instructions

Delete RootFolder.

DELETE /api/v3/rootfolder/{id}

Args: id: Path parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare the tool destructive and non-read-only, and idempotent. The description does not contradict these and adds no additional behavioral context such as irreversibility or cascading effects, but with the annotations covering the safety profile this is adequate rather than deficient.

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?

The description is compact and front-loaded: purpose, HTTP method, and parameter list appear in a few lines with no filler. It earns its place by specifying the endpoint and path parameter, though it could be slightly richer without becoming verbose.

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-parameter delete operation with a destructive annotation and an output schema present, the description is largely complete. The endpoint and path parameter are provided, and the minimal scope means an agent has enough to call the tool correctly, though more context about side effects would be beneficial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has no descriptions for the required 'id' parameter, and schema coverage is 0%. The description only notes that 'id' is a path parameter, without explaining that it represents the root folder ID or how to obtain the value. This is minimal compensation for the lack of schema documentation.

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 clearly states the action ('Delete RootFolder') and the REST endpoint, so the tool's purpose is immediately recognizable. It does not explicitly contrast with sibling tools like get_rootfolder_by_id or create_rootfolder, but the verb and resource make the distinction unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no caveats. An agent is left to infer that this is for deleting a root folder by its id, with no indication of conditions that should be checked first.

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