Skip to main content
Glama

Get master hls video playlist

jellyfin_get_master_hls_video_playlist
Read-onlyIdempotent

Retrieve a Jellyfin video's HLS master playlist stream for a specific item ID, with optional transcoding and stream settings to control playback quality and format.

Instructions

Gets a video hls playlist stream.

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": {
      "item_id": "<item_id>"
    },
    "name": "jellyfin_get_master_hls_video_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNo
levelNo
widthNo
heightNo
staticNo
contextNo
item_idYes
profileNo
device_idNo
framerateNo
max_widthNo
max_heightNo
audio_codecNo
require_avcNo
video_codecNo
de_interlaceNo
min_segmentsNo
max_framerateNo
stream_paramsNo
audio_bit_rateNo
audio_channelsNo
cpu_core_limitNo
live_stream_idNo
max_ref_framesNo
segment_lengthNo
stream_optionsNo
subtitle_codecNo
video_bit_rateNo
copy_timestampsNo
media_source_idNo
play_session_idNo
subtitle_methodNo
enable_trickplayNo
start_time_ticksNo
audio_sample_rateNo
device_profile_idNo
segment_containerNo
transcode_reasonsNo
audio_stream_indexNo
max_audio_channelsNo
video_stream_indexNo
max_audio_bit_depthNo
max_video_bit_depthNo
subtitle_stream_indexNo
require_non_anamorphicNo
allow_audio_stream_copyNo
allow_video_stream_copyNo
break_on_non_key_framesNo
enable_auto_stream_copyNo
enable_mpegts_m2_ts_modeNo
enable_audio_vbr_encodingNo
transcoding_max_audio_channelsNo
enable_adaptive_bitrate_streamingNo
always_burn_in_subtitle_when_transcodingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

D1.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that: it does not say the result is an HLS manifest document, whether transcoding is triggered server-side, whether a play session must exist, or how stream_options/transcode parameters affect output. Given 54 parameters and a server-side transcode pipeline, this is a substantial omission.

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

Conciseness2/5

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

The single sentence contains no filler, but its brevity reflects under-specification rather than economy. There is no structure, no front-loaded scoping, and nothing that earns the space it takes.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 54-parameter streaming tool with no output schema and zero schema description coverage, the description provides none of the context an agent needs to call it correctly. It does not explain required identifiers, default transcoding behavior, or what the returned playlist represents.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 54 parameters, and the description supplies no parameter meaning whatsoever. Critical fields such as item_id, media_source_id, play_session_id, device_profile_id, max_width/max_height, video_codec/audio_codec, and the many enable_*/allow_* toggles are entirely undocumented, leaving an agent to guess at their semantics.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Gets a video hls playlist stream" essentially restates the tool name (get_master_hls_video_playlist) in prose form. It does not explain what a master playlist is, what it returns (an HLS manifest?), or how it differs from the many siblings such as jellyfin_get_variant_hls_video_playlist or jellyfin_get_hls_playlist_legacy. An agent cannot distinguish this tool from its near-identical siblings based on the description.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of alternatives (variant vs. master, video vs. audio, legacy vs. current), and no prerequisites such as needing a play session or media source. The only implied usage comes from the tool name itself, not the description.

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

Deploy Server

Other Tools