Skip to main content
Glama

Media details

get_media_details
Read-only

Retrieve a merged media record by title, or fetch one service's raw view by id, to see watch state, ratings, season counts, audio languages, and cleanup status.

Instructions

Everything known about one item. A title as query returns the merged record (acquisition, watch state, ratings, presence across services); service plus id returns that service's raw view, for checking a join that looks wrong. A series carries seasons with per-season watched, on-disk, aired and total counts, and monitored, the *arr's own flag: check it before delete_episode_files, because deleting a monitored season's files makes it download them again. At detail: "full" a series lists its episodes and a Lidarr artist its albums with their ids. audioLanguages (per episode for a series, on the record for a film) are the tracks read off the file: that, not a MULTi release name, answers "is the dub here". With Reclaimerr or Maintainerr, cleanup says what will delete or move it, and when. Field reference: arr://docs/get_media_details.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_media_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe item's id within that service.
limitNoMaximum items to return.
queryNoA title, matched against every title the services know (original and alternate titles too). When other items match equally well, the answer carries `ambiguous: true` and their `candidates`. A title not in your library is refused with what a metadata lookup knows of it, so no other search is needed.
detailNoHow much per-item detail to return.standard
serviceNoWith `id`: one service’s own view.
instanceNoWhich instance (e.g. "4k") when several of this service exist. Omit it when there is one.

Output Schema

NameRequiredDescriptionDefault
kindYes
titleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "whisparr",
      -  "lidarr",
      -  "jellyfin",
      -  "plex",
      -  "grimmory"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "whisparr",
      +  "lidarr",
      +  "jellyfin",
      +  "emby",
      +  "plex",
      +  "grimmory"
      +]
  2. Changed3 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 / limit / description
      Previous value: -"Maximum items to return; defaults to 50, hard maximum 500."New value: +"Maximum items to return."
    • 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",
      +  "jellyfin",
      +  "plex",
      +  "grimmory"
      +]
  3. Changed2 schema fields changedv1.84.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; defaults to standard."
    • 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."
  4. Changed4 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 / query / description
      Previous value: -"A title. Resolved through the library index."New value: +"A title, matched against every title the services know (original and alternate titles too). When other items match equally well, the answer carries `ambiguous: true` and their `candidates`. A title not in your library is refused with what a metadata lookup knows of it, so no other search is needed."
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
  5. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With readOnlyHint already declaring safety, the description still contributes substantial behavior: merged-record composition, the `ambiguous: true` plus `candidates` outcome, refusal for titles outside the library, and that `audioLanguages` reflects tracks read off the file rather than release naming. It also scopes the `cleanup` field to the presence of Reclaimerr or Maintainerr, which prevents false expectations.

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 dense with non-redundant content; each sentence carries distinct operational information. It is on the long side and the domain-specific cross-references (Reclaimerr/Maintainerr, arr:// docs) add density, but no sentence is filler.

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?

Even though an output schema exists, the description goes further by naming the key fields an agent must interpret (seasons counts, monitored, audioLanguages, cleanup, candidates). For a read tool with six optional parameters and multiple response shapes, nothing an agent needs 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 baseline is 3, but the description adds genuine meaning: `detail: "full"` is explained as listing episodes for a series and albums with ids for a Lidarr artist, and `audioLanguages` granularity is stated per episode vs per record. Only `instance` and `limit` semantics are left entirely to the schema.

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 statement ("Everything known about one item") and immediately splits the two retrieval modes: a `query` title returns the merged record, while `service` plus `id` returns that service's raw view. An agent can tell this apart from library-listing or search siblings without opening the 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 mode selection (merged record vs raw per-service view "for checking a join that looks wrong") and a concrete pre-flight rule: check `monitored` before delete_episode_files because deleting files makes it re-download. It also closes off a tempting alternative by stating that a non-library title is refused with metadata-lookup context "so no other search is needed."

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