Skip to main content
Glama

Delete subtitle

jellyfin_delete_subtitle
DestructiveIdempotent

Deletes an external subtitle file from a Jellyfin media item by item ID and subtitle index, with an optional confirmation flag for destructive operations.

Instructions

Deletes an external subtitle file.

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>",
      "index": "<index>"
    },
    "name": "jellyfin_delete_subtitle"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

B3/5.0
Behavior3/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 bar is lower. The description adds one genuinely useful fact beyond them: only external subtitle files are affected, implying embedded tracks cannot be removed this way. It says nothing about permission needs, whether the file is removed from disk, or how failures surface.

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 zero waste, but it is under-specified rather than concise; there is room to state scope and prerequisites without bloat. Front-loading is fine since there is only one clause.

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

Completeness4/5

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

Placeholder.

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. The description adds no meaning for the two required parameters, and 'index' in particular is ambiguous (subtitle stream index vs. playlist position) while 'item_id' is never explained as the owning media item. This is the largest gap in the definition.

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 gives a specific verb and resource ("Deletes an external subtitle file"), and the qualifier "external" signals it applies to sidecar subtitle files rather than the many sibling delete_* tools. It stops short of naming or differentiating against alternatives such as jellyfin_get_subtitle or jellyfin_upload_subtitle, so it is clear but not routing-quality.

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 use this versus other delete tools, no prerequisite that the item's subtitle index must first be discovered via a get/list call, and no statement of what happens if the subtitle is embedded rather than external. The agent must infer all invocation context.

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