Skip to main content
Glama

Add a film, series, site, artist or book

add_media

Add a film, series, site, artist, or book to Radarr, Sonarr, Whisparr, Lidarr, or Shelfmark and start a search by default.

Instructions

Adds a film to Radarr, a series to Sonarr, a site to Whisparr, an artist to Lidarr or a book to Shelfmark, and by default starts a search. A book (the search row id) queues its most-downloaded file; none on offer fails. For a Seerr request that goes through approval, use request_media. Ids come from search_media source: "discover", under ids: TMDB for Radarr, TVDB for Sonarr, TVDB for Whisparr (its own scene id in that field) and MusicBrainz for Lidarr. With more than one quality profile or root folder, name one: call without them and the preview refuses with the list. Lidarr takes monitor (which albums), monitor_new_items and metadata_profile; monitor: "none" needs monitored: false with it, and its search on add covers only monitored, released albums. An option sent to the wrong service is refused, not dropped. Previews first; confirm to add. Field reference: arr://docs/add_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>",
      "external_id": "<external_id>"
    },
    "name": "add_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoAn existing folder under a root folder to adopt as it is, files and all. Not on Lidarr.
tagsNoTag labels or ids the service already has. An unknown label is refused, listing the ones that exist; nothing here ever creates a tag.
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.
monitorNoSonarr or Whisparr: which seasons to monitor. `future` is "only what has not aired yet", `all` is everything, `none` monitors the series but no season. `pilot` is Sonarr only: a site has no pilot scene. Lidarr: which albums, `first` or `latest` album, or `all`, `future`, `missing`, `existing` or `none`; `firstSeason`, `lastSeason` and `pilot` are refused there, and `first` and `latest` everywhere else. Omit for the service's own default. Radarr has no seasons: use `monitored` there.
serviceYesradarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist or shelfmark for a book.
instanceNoWhich instance (e.g. "4k") when several of this service exist. Omit it when there is one.
monitoredNoMonitor it for downloads. Defaults to true.
search_nowNoStart searching immediately. Defaults to true, or false with `path`.
external_idYesThe TMDB id for radarr or TVDB id for sonarr or whisparr, as an integer string. The MusicBrainz artist id, a GUID, for lidarr. For a book, the `id` of its search row. From search_media `source: "discover"`.
root_folderNoRoot folder path, or any distinctive part of it. Optional only when the service has exactly one.
series_typeNoSonarr only: the numbering scheme. `anime` for absolute numbering, `daily` for date-based.
quality_profileNoProfile name or id. Optional only when the service has exactly one.
metadata_profileNoLidarr only: metadata profile name or id, which decides the album types and release statuses the artist gets. Optional when the root folder names a default, or when Lidarr has only one besides its reserved `None`, which gives an artist no albums and is used only when named or set as the root folder's default.
monitor_new_itemsNoLidarr only: the rule for albums Lidarr discovers later: `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on update_media. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import. Sonarr: `all` (the default) or `none`, whether seasons it finds later are monitored.
minimum_availabilityNoRadarr only: how early it may grab. Defaults to `released`, which is what stops a brand-new film grabbing a cinema recording the day it is announced.

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 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."
    • changedInput schema / properties / monitor_new_items / description
      Previous value: -"Lidarr only: the rule for albums Lidarr discovers later: `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on set_monitoring. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import. Sonarr: `all` (the default) or `none`, whether seasons it finds later are monitored."New value: +"Lidarr only: the rule for albums Lidarr discovers later: `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on update_media. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import. Sonarr: `all` (the default) or `none`, whether seasons it finds later are monitored."
    • changedInput schema / properties / service / description
      Previous value: -"radarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist, shelfmark for a book."New value: +"radarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist or shelfmark for a book."
    • 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. Changed7 schema fields changedv1.84.0
    • changedInput schema / properties / external_id / description
      Previous value: -"TMDB id for radarr, TVDB id for sonarr or whisparr, as an integer string; the MusicBrainz artist id, a GUID, for lidarr. From lookup_media."New value: +"The TMDB id for radarr or TVDB id for sonarr or whisparr, as an integer string. The MusicBrainz artist id, a GUID, for lidarr. For a book, the `id` of its search row. From search_media `source: \"discover\"`."
    • changedInput schema / properties / monitor / description
      Previous value: -"Sonarr or Whisparr: which seasons to monitor. `future` is \"only what has not aired yet\", `all` is everything, `none` monitors the series but no season. `pilot` is Sonarr only — a site has no pilot scene. Lidarr: which albums — `first` or `latest` album, or `all`, `future`, `missing`, `existing` or `none`; `firstSeason`, `lastSeason` and `pilot` are refused there, and `first` and `latest` everywhere else. Omit for the service's own default. Radarr has no seasons — use `monitored` there."New value: +"Sonarr or Whisparr: which seasons to monitor. `future` is \"only what has not aired yet\", `all` is everything, `none` monitors the series but no season. `pilot` is Sonarr only: a site has no pilot scene. Lidarr: which albums, `first` or `latest` album, or `all`, `future`, `missing`, `existing` or `none`; `firstSeason`, `lastSeason` and `pilot` are refused there, and `first` and `latest` everywhere else. Omit for the service's own default. Radarr has no seasons: use `monitored` there."
    • changedInput schema / properties / monitor_new_items / description
      Previous value: -"Lidarr only: the rule for albums Lidarr discovers later — `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on set_monitoring. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import."New value: +"Lidarr only: the rule for albums Lidarr discovers later: `all`, `new` (only ones released on or after the newest album it already has) or `none`, as on set_monitoring. With no `monitor`, it also sets the albums the artist is added with. Omitted, the artist gets `all`: the root folder's own default applies only to an artist Lidarr adds on import. Sonarr: `all` (the default) or `none`, whether seasons it finds later are monitored."
    • changedInput schema / properties / path / description
      Previous value: -"Not Lidarr: an existing folder under a root folder to adopt as it is, files and all."New value: +"An existing folder under a root folder to adopt as it is, files and all. Not on Lidarr."
    • changedInput schema / properties / service / description
      Previous value: -"radarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist."New value: +"radarr for a film, sonarr for a series, whisparr for a site, lidarr for an artist, shelfmark for a book."
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "whisparr",
      -  "lidarr"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "whisparr",
      +  "lidarr",
      +  "shelfmark"
      +]
    • changedInput schema / properties / tags / description
      Previous value: -"Tag labels or ids the service already has. An unknown label is refused, listing the ones that exist — nothing here ever creates a tag."New value: +"Tag labels or ids the service already has. An unknown label is refused, listing the ones that exist; nothing here ever creates a tag."
  3. Changed3 schema fields changedv1.74.1
    • addedInput schema / properties / path
      Added value: +{
      +  "description": "Not Lidarr: an existing folder under a root folder to adopt as it is, files and all.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / search_now / default
      Removed value: -true
    • changedInput schema / properties / search_now / description
      Previous value: -"Start searching immediately. Defaults to true — set false to add without downloading yet."New value: +"Start searching immediately. Defaults to true, or false with `path`."
  4. Changed19 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."
    • 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",
      +  "whisparr",
      +  "lidarr"
      +]
    • 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."
  5. First observedv0.1.0

TDQS

A5/5.0
Behavior5/5

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

Beyond the annotations (write, non-destructive), it discloses default search-on-add behavior, book download selection and failure, preview/confirm semantics, refusal of wrong-service options, and Lidarr monitoring constraints. These details materially improve invocation safety and do not contradict the annotations.

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 the purpose, then moves into dense service-specific rules. Its length is justified by 16 parameters and five services, and the field-reference pointer is an efficient closing detail.

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?

It covers the full add workflow, service mapping, ID sources, preview/confirm behavior, failure modes, and service-specific parameter constraints. Because an output schema exists, return-value details need not be repeated.

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?

Schema coverage is 100%, but the description adds service-specific ID semantics, monitor interactions such as monitor: "none" requiring monitored: false, Lidarr-only fields, and conditions on quality_profile and root_folder. This goes well beyond what the schema alone provides.

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 first sentence names the verb (Adds) and maps each service to its resource: film/Radarr, series/Sonarr, site/Whisparr, artist/Lidarr, book/Shelfmark. It explicitly distinguishes request_media for Seerr approval and search_media for IDs, so an agent can choose correctly without opening schemas.

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?

It states when to use request_media instead, where IDs come from, and the preview-then-confirm workflow. It also tells the agent to name a quality profile or root folder when multiple exist and that dry_run is for what-if questions, not the first step of a change.

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