Skip to main content
Glama

Get variant hls video playlist

jellyfin_get_variant_hls_video_playlist
Read-onlyIdempotent

Fetches a variant HLS video playlist for a Jellyfin media item so clients can stream with chosen codec, resolution, and bitrate settings.

Instructions

Gets a video stream using HTTP live streaming.

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_variant_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
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
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?

The annotations already establish that this is a read-only, idempotent, non-destructive, open-world operation. The description adds almost nothing beyond that: it does not explain what the returned playlist contains, whether it is generated dynamically, what authentication or playback context is required, or how the many streaming/transcoding parameters affect behavior.

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 is concise and front-loaded, but it is drastically underspecified for a 52-parameter streaming endpoint. This is not excess wording; it is insufficient information, so the brevity works against correct tool selection and invocation.

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 highly complex HLS variant playlist endpoint with 52 parameters and no output schema, the description is almost completely inadequate. It does not cover required inputs, playlist semantics, transcoding options, or how the response should be consumed.

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?

There are 52 parameters with 0% schema description coverage, and the description provides no explanation of any parameter. Critical inputs such as item_id, media_source_id, play_session_id, profile, segment_length, codec constraints, and transcoding flags are left entirely undocumented beyond their names and types.

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?

The description largely restates the tool name: it says it gets a video stream via HLS, but the tool name and title specify a *variant* HLS video *playlist*. It never clarifies that the result is a variant playlist rather than a master playlist, segment, or raw stream, leaving the distinction from close siblings like get_master_hls_video_playlist or get_hls_video_segment unclear.

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 explicit when-to-use guidance, no prerequisites, and no named alternatives. An agent can infer this is for HLS video playback, but cannot tell when to choose this variant playlist endpoint over the master HLS video playlist or direct video stream tools.

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