Skip to main content
Glama

Get hls audio segment legacy aac

jellyfin_get_hls_audio_segment_legacy_aac
Read-onlyIdempotent

Retrieves a specified HLS audio segment for a Jellyfin audio item, enabling MCP clients to fetch legacy AAC audio data for playback or processing.

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

Input Schema

NameRequiredDescriptionDefault
item_idYes
segment_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.4/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 what the call actually returns (presumably a binary AAC segment), what 'legacy' implies, whether segment_id is an index or a filename, or any auth/streaming constraints.

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?

One short sentence with no wasted words, which is fine structurally, but the brevity here comes at the cost of under-specification rather than efficient communication. It is front-loaded but nearly empty.

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 no output schema, the description is the only place the agent can learn what comes back from a media-segment endpoint, and it says nothing about the response. Combined with zero parameter documentation, the definition is too thin for a streaming/binary-return tool.

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 both item_id and segment_id are undocumented anywhere. The description's phrase 'for an audio item' only vaguely implies item_id and says nothing about segment_id's expected format (numeric index, filename, or opaque token), leaving the agent to guess.

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

Purpose3/5

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

The description names a verb ('Gets') and a resource ('the specified audio segment for an audio item'), so the basic action is clear. However, it gives no clue why this exists separately from jellyfin_get_hls_audio_segment (non-legacy) or jellyfin_get_hls_audio_segment_legacy_mp3, and the 'legacy aac' distinction carried only by the tool name is never explained in prose.

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 guidance on when to call this versus any sibling, no mention of the legacy/non-legacy split, and no prerequisites or exclusions. The agent must infer selection purely from the tool name.

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