Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

create_indexer

Add a new Sonarr indexer using a schema-based configuration with required fields and real secret values instead of placeholders.

Instructions

Add a new indexer. Build the body from get_indexer_schema: it needs name, implementation, configContract and the fields array, plus enableRss, enableAutomaticSearch, enableInteractiveSearch, priority, protocol. Secrets must be real values — '[redacted]' placeholders are rejected.

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": {
      "config": "<config>"
    },
    "name": "create_indexer"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesFull indexer resource object, based on the schema

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / config / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false. The description adds a non-obvious validation rule — secrets must be real values and '[redacted]' placeholders are rejected — which is exactly the kind of behavior an agent cannot infer from the schema or annotations. It does not say what happens on duplicate names or whether the indexer is validated/tested on creation.

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?

Three short sentences, front-loaded with the action, then the construction recipe, then the critical validation caveat. No filler or redundant restatement of the tool name.

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 nested, free-form create operation with no output schema, the description covers the required shape and the biggest failure mode (redacted secrets). It leaves return value and post-creation behavior (auto-test, error on duplicate) unstated, which keeps it short of fully complete.

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 describes the single `config` parameter only as a generic "Full indexer resource object" with additionalProperties, so the description carries the real burden. It enumerates the required members (name, implementation, configContract, fields array) and the additional settings (enableRss, enableAutomaticSearch, enableInteractiveSearch, priority, protocol), which is substantial meaning beyond the schema.

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?

"Add a new indexer" gives a specific verb and resource, and the word "new" implicitly separates it from update_indexer. It never explicitly contrasts with the update path, so an agent must infer that distinction from the sibling 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 Guidelines4/5

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

It gives an explicit prerequisite workflow: build the body from get_indexer_schema before calling this tool. That is clear when-to-use guidance, but it offers no exclusion guidance (e.g., use update_indexer when the indexer already exists, or test_indexer before/after creation).

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