Skip to main content
Glama

Interactive search results

get_releases
Read-only

Runs the same indexer search an *arr UI does and returns every candidate, including rejected ones, with the guid and indexerId that grab_release needs.

Instructions

Runs the interactive search an *arr's own UI runs and returns every candidate, rejected ones included with their rejections (often because the library already holds an equal or better file). trigger_search cannot show what was found; this can, and its guid and indexerId (at detail: "full") are what grab_release takes. Slow: every indexer is polled synchronously, 15 seconds or more is normal and the timeout is 120s. A long wait is not a hang: do not retry. Needs season or episode; episode is a single search. On Lidarr id is the artist, so pass album, since a whole artist can return over a thousand rows. season is refused on Radarr. seeders is absent, not zero, on usenet. For a book, service: "shelfmark" with a book id from search_media source: "discover". Field reference: arr://docs/get_releases.

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": "get_releases"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe movie, series or artist id: `acquisition.id` on a get_library or get_media_details record. On shelfmark, the id of a search_media `source: "discover"` row whose kind is book.
albumNoLidarr only: one album id of the artist `id`, as an integer string (from get_media_details at `detail: "full"`). Searches that album alone. Refused elsewhere.
limitNoMaximum items to return.
titleNoA film or series title in place of `id`. A title two items match equally is refused with both ids.
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.
seasonNoSonarr and Whisparr only: one season. On Whisparr a season is a release year. Refused against Radarr.
episodeNoSonarr and Whisparr only: one episode or scene id from get_media_details with episodes, as an integer string. Searches it alone, far faster than a season. Not with `season`.
serviceYes
instanceNoWhich instance (e.g. "4k") when several of this service exist. Omit it when there is one.

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.2.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return; defaults to standard."New value: +"How much per-item detail to return."
    • changedInput schema / properties / episode / description
      Previous value: -"Sonarr only: one episode id, as an integer string (from get_media_details with episodes). Searches that episode alone, far faster than a season. Mutually exclusive with `season`."New value: +"Sonarr and Whisparr only: one episode or scene id from get_media_details with episodes, as an integer string. Searches it alone, far faster than a season. Not with `season`."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return; defaults to 50, hard maximum 500."New value: +"Maximum items to return."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`."
    • changedInput schema / properties / season / description
      Previous value: -"Sonarr and Whisparr only: search one season rather than the whole series. On Whisparr a season is a release year. Refused against Radarr."New value: +"Sonarr and Whisparr only: one season. On Whisparr a season is a release year. Refused against Radarr."
  2. Changed7 schema fields changedv1.84.0
    • changedInput schema / properties / album / description
      Previous value: -"Lidarr only — one album id of the artist `id`, as an integer string (from get_media_details at `detail: \"full\"`). Searches that album alone. Refused elsewhere."New value: +"Lidarr only: one album id of the artist `id`, as an integer string (from get_media_details at `detail: \"full\"`). Searches that album alone. Refused elsewhere."
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return. Defaults to standard."New value: +"How much per-item detail to return; defaults to standard."
    • changedInput schema / properties / episode / description
      Previous value: -"Sonarr only — one episode id, as an integer string (from get_media_details with episodes). Searches that episode alone, far faster than a season. Mutually exclusive with `season`; refused against Radarr."New value: +"Sonarr only: one episode id, as an integer string (from get_media_details with episodes). Searches that episode alone, far faster than a season. Mutually exclusive with `season`."
    • changedInput schema / properties / id / description
      Previous value: -"The movie, series or artist id — `acquisition.id` on a get_library or get_media_details record. On shelfmark, the id of a lookup_media row whose kind is book."New value: +"The movie, series or artist id: `acquisition.id` on a get_library or get_media_details record. On shelfmark, the id of a search_media `source: \"discover\"` row whose kind is book."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return. Defaults to 50, hard maximum 500."New value: +"Maximum items to return; defaults to 50, hard maximum 500."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."
    • changedInput schema / properties / season / description
      Previous value: -"Sonarr and Whisparr only — search one season (a release year on Whisparr) rather than the whole series. Refused against Radarr."New value: +"Sonarr and Whisparr only: search one season rather than the whole series. On Whisparr a season is a release year. Refused against Radarr."
  3. Changed23 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • 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 / offset / description
      Previous value: -"How many items to skip before the window `limit` returns — page two of 50 is `offset: 50`. `total` always counts the whole list, so `offset + returned < total` is how you know there is another page. Pair it with `sort` for a stable walk: without one the order is whatever the services returned, and an item can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / season / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / service / description
      Removed value: -"radarr, sonarr, whisparr, lidarr or shelfmark. Required — this searches one item, never merges across services."
    • 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",
      +  "shelfmark"
      +]
    • addedInput schema / properties / title
      Added value: +{
      +  "description": "A film or series title in place of `id`. A title two items match equally is refused with both ids.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "service",
      -  "id"
      -]New value: +[
      +  "service"
      +]
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / counts / description
      Removed value: -"How many results each service contributed."
    • removedOutput schema / properties / degraded / description
      Removed value: -"Services that could not be reached. Their contribution is missing from `items`, so a short list may be an outage rather than an answer."
    • removedOutput schema / properties / items / description
      Removed value: -"The window of results. What an item carries depends on the tool and on `detail`."
    • removedOutput schema / properties / offset / description
      Removed value: -"How many were skipped. `offset + returned < total` means there is another page."
    • removedOutput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / offset / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / returned / description
      Removed value: -"How many are in `items`."
    • removedOutput schema / properties / returned / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / returned / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / total / description
      Removed value: -"How many matched in total — the whole list, never the window. Compare against `returned` before reporting a count to anyone."
    • removedOutput schema / properties / total / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / total / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / truncated / description
      Removed value: -"True when this is not the whole list — including on the last page of a paged walk, where the rest is behind you rather than ahead."
  4. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description adds the traits that actually matter here: synchronous polling of every indexer, 15s+ typical latency, a 120s timeout, that a long wait is not a hang, and that rejected candidates are returned rather than filtered. It also notes `seeders` is absent rather than zero on usenet, which prevents a wrong inference from the response.

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?

Purpose and alternatives are front-loaded and nearly every clause carries a real constraint; the `arr://docs/get_releases` pointer usefully offloads field detail. It is telegraphic to the point that some clauses (the shelfmark book routing, the Lidarr artist/album caveat) demand domain familiarity, which costs a little readability.

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?

For a 10-parameter, slow, side-effect-free search tool with an output schema, the description covers the things the schema cannot: latency, timeout, retry policy, per-service parameter refusal, and what the returned `rejections` mean. Nothing needed to invoke it correctly appears to be missing.

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 already 90%, yet the description adds cross-parameter meaning the schema can't: on Lidarr `id` is the artist so `album` must be passed to avoid thousand-row results, `episode` is a single faster search, and a book requires `service: "shelfmark"` with an id from `search_media` `source: "discover"`. These are usage-critical semantics beyond the field docs.

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?

States a specific verb and resource: it runs the *arr's own interactive search and returns every candidate, including rejected ones with their `rejections` field. It also explicitly separates itself from the sibling `trigger_search` ('cannot show what was found; this can'), so an agent can choose between them without opening either schema.

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?

Gives explicit routing rules: use `trigger_search` only to fire a search, use this one to see candidates, and feed `guid`/`indexerId` at `detail: "full"` into `grab_release`. It also states the negative case ('do not retry' on a long wait) and per-service preconditions (`season` refused on Radarr, Lidarr requires `album`), which is unusually complete guidance.

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