Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

update_indexer

Idempotent

Update an existing Sonarr indexer by fetching it first, changing the fields you need, and sending the full object back; keep [redacted] values untouched to preserve stored secrets.

Instructions

Update an existing indexer. Fetch it with get_indexer first, change what you need and send the whole object back. Leave '[redacted]' values untouched to keep the stored secret; they are replaced with the stored value before saving.

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

Input Schema

NameRequiredDescriptionDefault
idYesindexer id
configYesFull indexer resource object including id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / config / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / id / exclusiveMinimum
      Added value: +0
    • addedInput schema / properties / id / maximum
      Added value: +9007199254740991
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare the safety profile (not read-only, idempotent, non-destructive). The description adds genuinely new behavior: the endpoint accepts a full resource object and treats '[redacted]' placeholders as sentinels replaced by the stored secret before saving. That secret-handling rule is information an agent could not obtain from annotations or schema. It doesn't describe the response or what happens to fields omitted from config.

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 verb-and-resource, followed by the fetch-then-send workflow and the secret sentinel caveat. No filler and no repetition of what the schema already states.

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 mutation tool with a nested free-form payload and no output schema, the description covers the crucial parts: the round-trip workflow and the redacted-secret rule. It leaves the return value and the fate of fields omitted from config unaddressed, which is a minor gap given there is no output schema to lean on.

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 coverage is 100% and both parameters are documented, but config is an untyped free-form object with additionalProperties {}, so the schema alone gives no clue what belongs in it. The description compensates by saying it is the full indexer resource obtained from get_indexer and that redacted values must be preserved verbatim. That is meaningful guidance 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?

The description opens with a specific verb and resource ('Update an existing indexer') and immediately qualifies the semantics: the whole object must be sent back, which distinguishes it from partial-config siblings like update_indexer_config. It does not name that sibling explicitly, so the differentiation is implied 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 Guidelines4/5

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

It gives a concrete workflow prerequisite ('Fetch it with get_indexer first, change what you need and send the whole object back'), which tells an agent exactly how to sequence calls. It stops short of naming when to prefer update_indexer_config over this tool, so the read-modify-write alternative is left to inference.

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