Skip to main content
Glama

Stop encoding process

jellyfin_stop_encoding_process
DestructiveIdempotent

Stops an active Jellyfin encoding session by device or play session ID and requires explicit confirmation for this destructive operation.

Instructions

Stops an active encoding.

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

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
device_idNo
play_session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is covered structurally. The description adds no behavioral context beyond that — nothing about what happens to the in-progress stream or encoding job, whether the stop is graceful, or what error conditions look like.

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?

A single short sentence with no filler, so nothing is wasted, but the terseness comes at the cost of under-specification rather than efficiency. There is no front-loaded scope or constraint to anchor the agent.

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?

For a destructive, open-world operation with three parameters and no output schema, the definition is far too thin. An agent cannot determine from the description how to target the right encoding session or what the effects of stopping it are.

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 only 33%: only 'confirm' is documented, while 'device_id' and 'play_session_id' carry no explanation anywhere. The description does not compensate by explaining which identifier to pass, whether both are optional, or what happens when neither is supplied — a real gap given zero required parameters.

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?

"Stops an active encoding" restates the tool name and title ("Stop encoding process") without adding specificity. It does not distinguish this from siblings like jellyfin_stop_task or jellyfin_close_live_stream, so an agent learns nothing new about which of these it should 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 or when-not-to-use guidance, no mention of prerequisites, and no pointer to an alternative tool for stopping related workloads. The description is not misleading, but it gives the agent nothing to route on.

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