Skip to main content
Glama

On playback stopped

jellyfin_on_playback_stopped
DestructiveIdempotent

Reports to Jellyfin that a session has stopped playing an item, so playback progress and stop events are recorded correctly.

Instructions

Reports that a session has stopped playing an 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>"
    },
    "name": "jellyfin_on_playback_stopped"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoExplicitly confirm this destructive operation. Needed only when the client cannot answer a confirmation prompt.
item_idYes
live_stream_idNo
position_ticksNo
media_source_idNo
next_media_typeNo
play_session_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.3/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, openWorldHint=true, and idempotentHint=true, but the description adds no context about server-side side effects, such as marking items played or ending sessions. It also fails to mention the confirm parameter or confirmation behavior, and the word 'Reports' understates the destructive nature without directly contradicting the annotations.

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 single sentence is front-loaded and free of filler, but it is far too terse for a seven-parameter destructive operation. The description is under-specified rather than appropriately concise.

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?

Given a destructive seven-parameter event handler with no output schema and low schema description coverage, this one-sentence description is not complete enough for an agent to invoke it safely. It omits side effects, confirmation requirements, parameter meanings, and usage distinctions.

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?

The schema has seven parameters with only 14% description coverage, and the description explains none of them. The required item_id and optional fields like position_ticks, play_session_id, and live_stream_id are left undocumented in both schema and description.

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 states a specific verb and event: reporting that a session has stopped playing an item. It is clear what the tool does, but it does not distinguish this server-side 'on' event handler from sibling tools such as jellyfin_report_playback_stopped or jellyfin_on_playback_progress.

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?

The description gives no guidance on when to use this tool versus the similarly named report_playback_stopped sibling or the start/progress event handlers. It also omits any prerequisite or context about when a playback-stopped event should be submitted.

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