Skip to main content
Glama

Get universal audio stream

jellyfin_get_universal_audio_stream
Read-onlyIdempotent

Fetch an audio stream for a Jellyfin item by ID and set optional codec, bitrate, channel, sample-rate, and transcoding parameters.

Instructions

Gets an audio 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_universal_audio_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYes
user_idNo
containerNo
device_idNo
audio_codecNo
audio_bit_rateNo
media_source_idNo
start_time_ticksNo
enable_redirectionNo
max_audio_channelsNo
enable_remote_mediaNo
max_audio_bit_depthNo
transcoding_protocolNo
max_audio_sample_rateNo
max_streaming_bitrateNo
transcoding_containerNo
break_on_non_key_framesNo
enable_audio_vbr_encodingNo
transcoding_audio_channelsNo

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, destructiveHint=false, idempotentHint=true, and openWorldHint=true, so the safety profile is covered externally. The description contributes nothing beyond that: no indication of what "universal" means, whether a live transcode session is created, or whether the response is a stream URL or raw bytes.

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 sentence is short but earns nothing; this is under-specification rather than conciseness. There is no structure to front-load because there is no content.

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?

A 19-parameter streaming endpoint with no output schema, no annotation details about return type, and no parameter documentation is essentially undocumented. An agent would have to guess at nearly every optional argument's effect.

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 19 parameters, so the schema provides names only and the description must compensate — it explains none of them. Critical knobs like enable_redirection, transcoding_protocol, media_source_id, and start_time_ticks have no semantics anywhere in the definition.

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 an audio stream" restates the name and title almost verbatim, adding no distinguishing detail. It does not separate this from near-identical siblings such as jellyfin_get_audio_stream, jellyfin_get_audio_stream_by_container, or the HLS playlist tools, so an agent cannot tell which one to pick.

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, and no preconditions. In a catalog dense with audio-stream siblings, the absence of routing guidance is a real cost rather than an implied one.

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