Skip to main content
Glama

Change what a library item is set to

update_media
Destructive

Change quality profile, root folder, monitoring, tags, or availability on an existing Radarr, Sonarr, or Lidarr item. Preview the changes first, then confirm to apply them.

Instructions

Changes settings on an item already in Radarr, Sonarr or Lidarr: quality profile, root folder, monitoring, tags, Radarr's minimum availability, Sonarr's series type and rule for new seasons, Lidarr's metadata profile. The only way to change a Radarr item's monitoring. A Grimmory book is update_book. On Lidarr, id is an artist; omit it with monitored or monitor_new_items to set every artist (none stops the wanted list growing by itself). The artist flag is not the album flag: albums keep their own, so stop wanting one with set_monitoring level: "album". A new metadata profile applies at the artist's next refresh, which can remove albums. Takes service and id. Changing root_folder moves the files on disk unless move_files: false. tags replaces the whole set and an unknown tag is refused; get_instance_options lists profiles, folders and tags. Previews first; confirm to apply. Field reference: arr://docs/update_media.

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": {
      "service": "<service>"
    },
    "name": "update_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe item's id within that service: `acquisition.id` on a get_library or get_media_details record. Omit it with `monitored` or `monitor_new_items` alone to reach every artist.
tagsNoTag labels or ids that already exist. Replaces the whole set: pass [] to clear it.
confirmNoThe token from this tool's preview; pass it back to apply.
dry_runNoPreview only, no token issued: for "what if" questions, not the first step of a change.
serviceYesradarr for a film, sonarr for a series or lidarr for an artist.
instanceNoWhich instance (e.g. "4k") when several of this service exist. Omit it when there is one.
monitoredNoMonitor it, or stop. On Lidarr it is the artist’s own flag and the albums keep theirs.
move_filesNoWith root_folder: whether the service moves the files to the new folder. Defaults to true. False only when you have already moved them yourself.
root_folderNoRoot folder path, or any distinctive part of it. Moves the files there unless move_files is false.
series_typeNoSonarr only: the numbering scheme.
quality_profileNoProfile name or id to switch to.
metadata_profileNoLidarr only: metadata profile name or id to switch to, which decides the album types and release statuses the artist gets. It applies at the artist’s next refresh, which this does not start. A name that matches none is refused, listing the ones the instance has.
monitor_new_itemsNoLidarr: the standing rule for albums Lidarr discovers later. `none` is what a finished, stable library wants. Alone or with `monitored`, no other setting. Sonarr: `all` or `none`, whether seasons it finds later are monitored.
minimum_availabilityNoRadarr only: how early it may grab.

Output Schema

NameRequiredDescriptionDefault
noopYes
tierYes
toolYes
targetYes
appliedYes
dry_runYes
effectsYes
serviceYes
summaryYes
operationYes
permissionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changedv2.2.0
    • changedInput schema / properties / confirm / description
      Previous value: -"The token from this tool's preview, passed back verbatim to apply it. Single-use and bound to the previewed arguments."New value: +"The token from this tool's preview; pass it back to apply."
    • changedInput schema / properties / dry_run / description
      Previous value: -"Preview without a confirm token, for \"what would happen if\" questions; not the first step of a real change."New value: +"Preview only, no token issued: for \"what if\" questions, not the first step of a change."
    • addedInput schema / properties / metadata_profile / minLength
      Added value: +1
    • addedInput schema / properties / quality_profile / minLength
      Added value: +1
    • addedInput schema / properties / root_folder / minLength
      Added value: +1
    • changedInput schema / properties / service / description
      Previous value: -"radarr for a film, sonarr for a series, lidarr for an artist."New value: +"radarr for a film, sonarr for a series or lidarr for an artist."
    • addedInput schema / properties / tags / items / minLength
      Added value: +1
    • removedOutput schema / properties / audit_id
      Removed value: -{
      -  "type": "number"
      -}
    • removedOutput schema / properties / confirm_error
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / confirm_token
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / next_steps
      Removed value: -{
      -  "items": {
      -    "additionalProperties": {},
      -    "properties": {
      -      "arguments": {
      -        "additionalProperties": {},
      -        "properties": {},
      -        "type": "object"
      -      },
      -      "tool": {
      -        "type": "string"
      -      },
      -      "why": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "tool",
      -      "arguments",
      -      "why"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / permission / properties / reason
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / permission / properties / remedy
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / result
      Removed value: -{}
    • removedOutput schema / properties / unchecked
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / warnings
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
  2. Changed13 schema fields changedv1.84.0
    • removedInput schema / properties / authors
      Removed value: -{
      -  "description": "Grimmory books only. The authors; replaces the list.",
      -  "items": {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / properties / id / description
      Previous value: -"The item's id within that service — `acquisition.id` on a get_library or get_media_details record."New value: +"The item's id within that service: `acquisition.id` on a get_library or get_media_details record. Omit it with `monitored` or `monitor_new_items` alone to reach every artist."
    • removedInput schema / properties / lock_fields
      Removed value: -{
      -  "description": "Grimmory books only. Fields to lock after writing, so a metadata refresh leaves them alone.",
      -  "items": {
      -    "enum": [
      -      "title",
      -      "authors",
      -      "series",
      -      "series_number",
      -      "tags"
      -    ],
      -    "type": "string"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • addedInput schema / properties / monitor_new_items
      Added value: +{
      +  "description": "Lidarr: the standing rule for albums Lidarr discovers later. `none` is what a finished, stable library wants. Alone or with `monitored`, no other setting. Sonarr: `all` or `none`, whether seasons it finds later are monitored.",
      +  "enum": [
      +    "all",
      +    "none",
      +    "new"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / monitored / description
      Previous value: -"Monitor it, or stop. Works on Radarr, Sonarr and Lidarr, where it is the artist’s own flag and the albums keep theirs."New value: +"Monitor it, or stop. On Lidarr it is the artist’s own flag and the albums keep theirs."
    • removedInput schema / properties / series
      Removed value: -{
      -  "description": "Grimmory books only. The series name. \"\" clears it.",
      -  "type": "string"
      -}
    • removedInput schema / properties / series_number
      Removed value: -{
      -  "description": "Grimmory books only. The book's number in its series.",
      -  "exclusiveMinimum": 0,
      -  "type": "number"
      -}
    • changedInput schema / properties / service / description
      Previous value: -"radarr for a film, sonarr for a series, lidarr for an artist, grimmory for a book."New value: +"radarr for a film, sonarr for a series, lidarr for an artist."
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "lidarr",
      -  "grimmory"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "lidarr"
      +]
    • changedInput schema / properties / tags / description
      Previous value: -"Tag labels or ids that already exist. Replaces the whole set — pass [] to clear it. On a Grimmory book these are its categories: free text that need not exist yet, replacing the set."New value: +"Tag labels or ids that already exist. Replaces the whole set: pass [] to clear it."
    • removedInput schema / properties / title
      Removed value: -{
      -  "description": "Grimmory books only. The new title.",
      -  "minLength": 1,
      -  "type": "string"
      -}
    • removedInput schema / properties / unlock_fields
      Removed value: -{
      -  "description": "Grimmory books only. Fields to unlock before writing. A locked field is refused unless this call unlocks it.",
      -  "items": {
      -    "enum": [
      -      "title",
      -      "authors",
      -      "series",
      -      "series_number",
      -      "tags"
      -    ],
      -    "type": "string"
      -  },
      -  "minItems": 1,
      -  "type": "array"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "service",
      -  "id"
      -]New value: +[
      +  "service"
      +]
  3. Changed22 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / confirm / description
      Previous value: -"The confirmation token from this same tool's preview of this same operation. Omit it to get a preview and a token; pass the token back verbatim to apply the change. Tokens are single-use, expire, and are bound to the exact operation and arguments previewed."New value: +"The token from this tool's preview, passed back verbatim to apply it. Single-use and bound to the previewed arguments."
    • changedInput schema / properties / dry_run / description
      Previous value: -"Preview only: resolve the target and describe exactly what would happen, then stop. Never mutates anything and never returns a confirmation token. Use this to answer \"what would happen if…\" — not as the first step of actually doing it."New value: +"Preview without a confirm token, for \"what would happen if\" questions; not the first step of a real change."
    • changedInput schema / properties / instance / description
      Previous value: -"Which instance, when several of this service are configured — for example \"4k\" or \"hd\". Omit it when there is only one. If several are configured and you omit it, the call is refused and the names are listed."New value: +"Which instance (e.g. \"4k\") when several of this service exist. Omit it when there is one."
    • addedInput schema / properties / metadata_profile
      Added value: +{
      +  "description": "Lidarr only: metadata profile name or id to switch to, which decides the album types and release statuses the artist gets. It applies at the artist’s next refresh, which this does not start. A name that matches none is refused, listing the ones the instance has.",
      +  "type": "string"
      +}
    • changedInput schema / properties / monitored / description
      Previous value: -"Monitor it, or stop. Works on Radarr as well as Sonarr."New value: +"Monitor it, or stop. Works on Radarr, Sonarr and Lidarr, where it is the artist’s own flag and the albums keep theirs."
    • changedInput schema / properties / service / description
      Previous value: -"radarr for a film, sonarr for a series, grimmory for a book."New value: +"radarr for a film, sonarr for a series, lidarr for an artist, grimmory for a book."
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "whisparr",
      -  "lidarr",
      -  "prowlarr",
      -  "bazarr",
      -  "jellyfin",
      -  "seerr",
      -  "sabnzbd",
      -  "nzbget",
      -  "transmission",
      -  "qbittorrent",
      -  "plex",
      -  "profilarr",
      -  "cleanuparr",
      -  "reclaimerr",
      -  "dispatcharr",
      -  "shelfmark",
      -  "grimmory"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "lidarr",
      +  "grimmory"
      +]
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / applied / description
      Removed value: -"Whether the change actually happened. False on every preview, refusal and no-op."
    • removedOutput schema / properties / audit_id / description
      Removed value: -"The audit row this call wrote. Every branch writes one, including previews and refusals."
    • removedOutput schema / properties / confirm_error / description
      Removed value: -"Why a presented token was rejected. Present only when one was presented."
    • removedOutput schema / properties / confirm_token / description
      Removed value: -"Present when a preview is awaiting confirmation. Single-use, expiring, bound to this exact operation and arguments."
    • removedOutput schema / properties / dry_run / description
      Removed value: -"Whether this was an explicit preview."
    • removedOutput schema / properties / effects / description
      Removed value: -"Itemised consequences, most severe first. Empty is legitimate for a no-op."
    • removedOutput schema / properties / next_steps / description
      Removed value: -"Present on an applied write when another call is worth offering. Offer it to the person; do not run it."
    • removedOutput schema / properties / noop / description
      Removed value: -"True when the request resolved but there was nothing to do — already monitored, already approved."
    • removedOutput schema / properties / result / description
      Removed value: -"Whatever the service returned, on a write that landed."
    • removedOutput schema / properties / summary / description
      Removed value: -"One sentence, safe to show a human."
    • removedOutput schema / properties / target / description
      Removed value: -"The resolved id the write acts on — what the confirmation token is bound to."
    • removedOutput schema / properties / unchecked / description
      Removed value: -"Present when a service could not be asked, so its absence from `warnings` means nothing."
    • removedOutput schema / properties / warnings / description
      Removed value: -"Present on a preview when another service has something to say about this change. Tell the user before confirming."
  4. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds substantial context beyond them: root_folder physically moves files unless move_files is false, tags replaces the whole set and rejects unknown tags, a new metadata profile applies at the next refresh and can remove albums, and changes are previewed before confirming. It does not mention auth/permission requirements or rate limits, which keeps it just below the top.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and the most dangerous behavior (file moves) early; nearly every sentence carries distinct information. It is dense and run-on in places, packing multiple warnings into single sentences, but the size is defensible for a 14-parameter mutation tool.

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?

Given 14 parameters, a full schema, and an output schema (so return values need no explanation), the description covers the risky paths, the preview/confirm protocol, and cross-service differences. The main gap is permission or failure behavior for instances, but nothing needed to call it correctly is missing.

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%, so the schema already documents all 14 parameters, yet the description adds real meaning: `id` is an artist on Lidarr and may be omitted with monitored/monitor_new_items to reach all artists, and the artist flag is explicitly distinguished from album flags. Those are non-obvious cross-parameter semantics the schema alone does not convey.

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?

Opens with a specific verb and resource ('Changes settings on an item already in Radarr, Sonarr or Lidarr') and enumerates the exact settings it can change per service. It explicitly distinguishes itself from update_book (Grimmory books) and set_monitoring (album-level), so an agent can route correctly without opening siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

States when to use it ('the only way to change a Radarr item's monitoring'), names alternatives for the cases it does not cover, points to get_instance_options for profile/folder/tag discovery, and prescribes the preview-then-confirm flow versus dry_run for hypotheticals. Exclusions and prerequisites are spelled out rather than implied.

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