Skip to main content
Glama

Get hls audio segment legacy mp3

jellyfin_get_hls_audio_segment_legacy_mp3
Read-onlyIdempotent

Retrieves a specified legacy MP3 HLS audio segment for a Jellyfin audio item using the item ID and segment ID.

Instructions

Gets the specified audio segment for an audio item.

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>",
      "segment_id": "<segment_id>"
    },
    "name": "jellyfin_get_hls_audio_segment_legacy_mp3"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYes
segment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds nothing beyond them: it never says what comes back (presumably raw audio bytes with a specific content type), whether segments are cacheable, or what 'legacy' implies. For a binary-streaming endpoint, that is a meaningful omission.

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

Conciseness3/5

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

It is a single front-loaded sentence with no filler, which is structurally fine. But the brevity comes from under-specification rather than economy; the one sentence leaves out format, routing, and parameter meaning, so it does not earn its place as the whole description.

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

Completeness2/5

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

With two undocumented required parameters, no output schema, and a crowded family of near-identical HLS segment siblings, the definition should do substantially more work. It does not state the output type (binary audio) or how this differs from the AAC and non-legacy variants, leaving the agent to infer both.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must explain item_id and segment_id, but it does not. 'Audio item' loosely hints that item_id identifies an audio item, but neither parameter's format, origin (e.g., from a playlist), nor expected shape is clarified anywhere.

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 has a clear verb and resource: 'Gets the specified audio segment for an audio item.' That is more specific than a tautology. However, it never mentions the 'legacy mp3' format that distinguishes this tool from siblings such as jellyfin_get_hls_audio_segment_legacy_aac or jellyfin_get_hls_audio_segment, so an agent must read the tool name to choose correctly.

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 prerequisites, and no named alternatives. The only routing signal is the tool name itself, which the description does not reinforce or explain. An agent has no textual basis for choosing this over the AAC legacy variant or the non-legacy segment endpoint.

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