Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

update_quality_definitions

Idempotent

Update size limits of one or more Sonarr quality definitions by sending full definition objects with changed minSize, maxSize, or preferredSize values.

Instructions

Update the size limits of one or more quality definitions. Send the full definition objects from list_quality_definitions with minSize, maxSize or preferredSize changed.

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": {
      "definitions": "<definitions>"
    },
    "name": "update_quality_definitions"
  }
}

Input Schema

NameRequiredDescriptionDefault
definitionsYesFull quality definition objects including id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / definitions / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  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 already declare non-readonly, idempotent, non-destructive, so the safety profile is covered. The description adds the important read-modify-write contract — you must send full objects rather than a patch — which is behavior an agent would otherwise get wrong. It stops short of saying what happens to fields left unchanged.

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?

Two sentences, zero waste. The action and scope come first, and the input-acquisition instruction follows immediately.

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 mutation tool with annotation coverage and no output schema, this is nearly complete: it explains where the input comes from and what must be modified. The remaining gap is whether omitted fields are preserved or reset.

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?

The schema declares only a free-form object array, so the description carries real weight by naming the fields that matter (minSize, maxSize, preferredSize) and requiring the id. It still omits types, units, and valid ranges for those size fields.

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?

States a specific verb and resource ('Update the size limits of one or more quality definitions'), narrowed to the size-limit fields rather than generic definition editing. The resource name separates it from the update_quality_profile siblings, though differentiation rests largely on the name itself.

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?

Gives a concrete workflow prerequisite: obtain the objects from list_quality_definitions and send them with minSize/maxSize/preferredSize changed. It does not state when NOT to use it (e.g., creating or deleting definitions), so it falls short of a full 5.

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