Skip to main content
Glama
arr-mcps
by arr-mcps

sonarr_system_commands

Manage Sonarr system operations: list and run commands, check health, view routes, tasks, logs, and backups, and control the service with restart, shutdown, or restore.

Instructions

sonarr system commands operations on Sonarr. Pass operation and an arguments dict matching that operation's parameters.

  • sonarr_delete_command(id) — Delete queued/running commands. DESTRUCTIVE: this deletes data.

  • sonarr_delete_system_backup(id) — Delete system backups. DESTRUCTIVE: this deletes data.

  • sonarr_get_command(id) — Fetch a single queued/running commands by id.

  • sonarr_get_health() — List health.

  • sonarr_get_system_routes() — List registered API routes.

  • sonarr_get_system_routes_duplicate() — List duplicate registered API routes.

  • sonarr_get_system_status() — List system status.

  • sonarr_get_system_task() — List scheduled tasks.

  • sonarr_get_system_task_by_id(id) — Fetch a single scheduled tasks by id.

  • sonarr_list_command() — List queued/running commands.

  • sonarr_list_log(page=1, page_size=10, sort_key='', sort_direction='', level='') — List server logs. Query params: sort_key, sort_direction, level.

  • sonarr_list_log_file() — List log files.

  • sonarr_list_log_file_update() — List update log files.

  • sonarr_list_system_backup() — List system backups.

  • sonarr_ping() — Ping the server to verify it is reachable and authenticated.

  • sonarr_restart_sonarr() — Restart the Sonarr service. WRITE: this modifies your Sonarr instance.

  • sonarr_restore_backup(id) — Restore Sonarr from a backup. WRITE: this modifies your Sonarr instance.

  • sonarr_restore_backup_upload() — Restore Sonarr from an uploaded backup file (multipart upload - limited support). WRITE: this modifies your Sonarr instance.

  • sonarr_run_command(body={}) — Run a Sonarr command (body is a CommandResource with a name, e.g. RefreshSeries, SeriesSearch, DownloadedEpisodesScan). WRITE: this modifies your Sonarr instance.

  • sonarr_shutdown_sonarr() — Shut down the Sonarr service. WRITE: this modifies your Sonarr instance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations provided, the description takes full responsibility for behavioral disclosure. It explicitly flags destructive operations with 'DESTRUCTIVE: this deletes data' and write operations with 'WRITE: this modifies your Sonarr instance.' It also notes 'limited support' for multipart upload and states that ping verifies reachability and authentication.

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 front-loaded with an overview and usage instruction, followed by a well-structured bullet list of all operations. Each line is concise and informative, covering 20 operations without unnecessary verbosity. Every sentence earns its place by adding needed operation semantics or safety warnings.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Despite having 20 operations, the description is comprehensive. It covers all operation types, provides safety annotations, explains the arguments dict, and gives specific parameter details for complex operations. The presence of an output schema means return values need not be described. The description is sufficient for an agent to select and invoke operations correctly.

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

Parameters5/5

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

The schema provides only an operation enum and a generic arguments object with no descriptions. The description compensates by explaining each operation's purpose and providing parameter hints, e.g., 'sonarr_list_log(page=1, page_size=10, sort_key='', sort_direction='', level='')' lists query params, and run_command specifies that body is a CommandResource with a `name`. This adds meaning well beyond the bare schema.

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?

The description clearly identifies the tool as handling 'sonarr system commands operations on Sonarr' and then enumerates 20 specific operations. Each operation has a verb and resource (e.g., 'sonarr_get_health() — List health'), distinguishing this dispatcher tool from sibling tools like sonarr_config or sonarr_history_blocklist.

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?

The description provides a clear usage pattern: 'Pass `operation` and an `arguments` dict matching that operation's parameters.' It also gives operation-specific details (e.g., query params for list_log, body example for run_command). However, it does not explicitly state when to use this tool over alternatives, nor does it mention any exclusions or when-not-to-use scenarios.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/arr-mcps/sonarr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server