Skip to main content
Glama

Close live stream

jellyfin_close_live_stream

Closes a live media stream in Jellyfin to stop playback or release the source. Use it to end an active stream by providing its live stream ID.

Instructions

Closes a media source.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "jellyfin_close_live_stream"
  }
}

Input Schema

NameRequiredDescriptionDefault
live_stream_idNo

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=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the safety profile is partly covered. The description adds nothing beyond that — it doesn't say whether closing terminates an active HLS session, whether it releases tuner resources, or what happens if the id is unknown. Combined with destructiveHint=false but a non-idempotent 'close' action, an agent has no behavioral context for the call's side effects.

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?

Four words are technically concise, but this is under-specification rather than economy: there is no front-loaded scope, no constraint, and no actionable detail. Brevity here costs the agent necessary information rather than saving it.

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 mutation tool with an optional, undocumented identifier and no output schema, the description supplies nothing an agent needs to invoke it correctly. The semantics of a null default and the effect of closing a stream are both left entirely undefined.

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% for the single parameter live_stream_id, and the description never mentions it. Critically, the parameter is optional with default null, yet nothing explains what a missing/null id means (close all streams? no-op? error?) — the description fails to compensate for the schema gap where it matters most.

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?

"Closes a media source" does state a verb, but the resource is imprecise — the tool name and title say 'live stream', while the description says 'media source', leaving the object of the action ambiguous. It also does nothing to distinguish this from siblings like jellyfin_open_live_stream or jellyfin_get_live_stream_file, so an agent gets little more than a restatement of the name.

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 at all: no prerequisites, no mention of pairing with jellyfin_open_live_stream, and no indication of what closing a stream affects. The agent must infer everything from the tool name alone.

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