Skip to main content
Glama

Playback activity

get_playback
Read-only

What a media-server user is watching, has next, or has watched; watch state exists only on the media server. scope: "active" (default): now playing and resumable, with position.

Instructions

What a media-server user is watching, has next, or has watched; watch state exists only on the media server. scope: "active" (default): now playing and resumable, with position. "next_up": the next unwatched episode of each series in progress. "history": plays newest first, kept by arr-mcp after the server forgets them (a deleted title, an old play); on Jellyfin or Emby also plays from its activity log never marked played (an offline client syncing back), tagged source: "activity_log". Defaults to the configured user; another needs allow_other_users. With no media server configured every scope is empty and note says why: report that rather than saying nothing is playing. Field reference: arr://docs/get_playback.

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_playback"
  }
}

Input Schema

NameRequiredDescriptionDefault
userNoWhose playback to read; defaults to the configured default_user, any other needs allow_other_users.
limitNoMaximum items to return.
scopeNo`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: watched movies and episodes, newest first, including ones the server has since forgotten, on Jellyfin or Emby also plays its activity log holds that never got marked played, such as an offline client syncing back.active
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.

Output Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.4.0
    • changedInput schema / properties / scope / description
      Previous value: -"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: watched movies and episodes, newest first, including ones the server has since forgotten, on Jellyfin also plays its activity log holds that never got marked played, such as an offline client syncing back."New value: +"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: watched movies and episodes, newest first, including ones the server has since forgotten, on Jellyfin or Emby also plays its activity log holds that never got marked played, such as an offline client syncing back."
  2. Changed1 schema field changedv2.3.1
    • changedInput schema / properties / scope / description
      Previous value: -"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: recently watched movies and episodes, newest first, on Jellyfin including plays its activity log holds that never got marked played, such as an offline client syncing back."New value: +"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: watched movies and episodes, newest first, including ones the server has since forgotten, on Jellyfin also plays its activity log holds that never got marked played, such as an offline client syncing back."
  3. 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 / 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`."
  4. Changed5 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."
    • 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 / scope / description
      Previous value: -"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress — your media server's own answer to what to watch next. `history`: recently watched movies and episodes, newest first — on Jellyfin including plays its activity log holds that never got marked played, such as an offline client syncing back."New value: +"`active` (default): now playing and what can be resumed. `next_up`: the next unwatched episode of every series this user has in progress, your media server's own answer to what to watch next. `history`: recently watched movies and episodes, newest first, on Jellyfin including plays its activity log holds that never got marked played, such as an offline client syncing back."
    • changedInput schema / properties / user / description
      Previous value: -"Whose playback to read. Defaults to the configured default_user; any other value requires allow_other_users."New value: +"Whose playback to read; defaults to the configured default_user, any other needs allow_other_users."
  5. Changed18 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • 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
    • 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 / note / description
      Removed value: -"Present when a fact about the stack's config, not this call, needs stating — for example no media server configured at all."
    • 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."
  6. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Beyond readOnlyHint=true, the description discloses real behavior: watch state exists only on the media server, history is retained by arr-mcp after the server forgets a title, Jellyfin/Emby activity-log plays are tagged source: "activity_log", and an unconfigured server yields empty scopes plus a note explaining why. It does not discuss pagination costs or rate/refresh behavior, which keeps it short of a 5.

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?

It is front-loaded with the core purpose, then ordered by scope, then the user default, then the empty-result caveat, closing with a doc pointer. The sentences are dense and long, and the history clause is a single convoluted run that could be split, but nearly every clause carries operative information.

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 read tool with an output schema and full schema coverage, the description supplies everything an agent needs to call it correctly: scope semantics, default user behavior, the note field on empty results, and the activity_log source tag. The arr://docs/get_playback reference covers deeper field detail without bloating the text.

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; the description adds some value by tying `user` to the configured default and the allow_other_users requirement, and by clarifying that active includes resumable items with position. Most of the scope wording duplicates the enum's schema description, so the net addition is modest.

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?

The description states a concrete resource and the three modes it returns ('what a media-server user is watching, has next, or has watched'), and each scope is spelled out with the specific data it yields. It never names a sibling tool (e.g. get_history, get_queue), so the agent must infer differentiation rather than being told it.

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?

It gives clear selection guidance across scopes: active is the default for now-playing/resumable, next_up for next unwatched episode, history for plays the server forgot. It also gives explicit handling instructions for the no-media-server case ('report that rather than saying nothing is playing') and the allow_other_users prerequisite. What it lacks is an explicit exclusion pointing to a different tool when the agent actually wants something adjacent.

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