Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

add_root_folder

Registers a root folder in Sonarr so it can store TV series, requiring an absolute path that exists and is writable by Sonarr.

Instructions

Add a root folder. The path must exist and be writable by Sonarr.

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": {
      "path": "<path>"
    },
    "name": "add_root_folder"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesAbsolute path as Sonarr sees it, e.g. '/tv'

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

A3.5/5.0
Behavior3/5

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

Annotations already indicate this is a non-read-only, non-destructive mutation. The description adds a useful precondition about the path existing and being writable, but does not explain duplicate handling, permissions beyond writability, or what happens on failure.

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?

The description is two short sentences, front-loads the operation, and immediately follows with the key precondition. There is no unnecessary wording.

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 simple one-parameter mutation tool with complete schema coverage, the description covers the essential action and path prerequisite. It does not address duplicate-path behavior or expected result, but the core call requirements are present.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds meaningful constraint beyond the schema: the path must exist and be writable by Sonarr, which clarifies validation requirements for the single parameter.

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 states a specific verb and resource: 'Add a root folder.' This clearly distinguishes it from delete/get/list root folder siblings by operation, though it does not explicitly name alternatives or differentiate from other add-style tools.

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 a prerequisite ('path must exist and be writable by Sonarr') but no explicit guidance on when to use this tool versus alternatives such as list_root_folders or get_root_folder. Usage is only implied by the tool name and operation.

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