Skip to main content
Glama

Get trailers

jellyfin_get_trailers
Read-onlyIdempotent

List available trailers from a Jellyfin library and filter them by IDs, genres, years, ratings, tags, playback status, or media flags to locate relevant previews.

Instructions

Lists trailers, filtered by the given query parameters.

Plain GET /Trailers list query -- there is no anchor-item parameter here. For a trailer-similarity lookup keyed off one item, use get_similar_trailers instead (GET /Trailers/{itemId}/Similar, which takes an item_id). This method only filters an item listing by the optional criteria below (ratings, flags, ids, sort, paging, ...).

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

Input Schema

NameRequiredDescriptionDefault
idsNo
tagsNo
is3_dNo
is4_kNo
is_hdNo
limitNo
yearsNo
albumsNo
fieldsNo
genresNo
personNo
artistsNo
filtersNo
is_kidsNo
is_newsNo
sort_byNo
studiosNo
user_idNo
is_movieNo
album_idsNo
genre_idsNo
is_lockedNo
is_playedNo
is_seriesNo
is_sportsNo
max_widthNo
min_widthNo
parent_idNo
recursiveNo
artist_idsNo
is_missingNo
is_unairedNo
max_heightNo
min_heightNo
person_idsNo
sort_orderNo
studio_idsNo
adjacent_toNo
has_imdb_idNo
has_tmdb_idNo
has_trailerNo
has_tvdb_idNo
image_typesNo
is_favoriteNo
media_typesNo
search_termNo
start_indexNo
video_typesNo
has_overviewNo
person_typesNo
enable_imagesNo
has_subtitlesNo
series_statusNo
has_theme_songNo
location_typesNo
name_less_thanNo
has_theme_videoNo
is_place_holderNo
album_artist_idsNo
enable_user_dataNo
exclude_item_idsNo
image_type_limitNo
name_starts_withNo
official_ratingsNo
max_premiere_dateNo
min_critic_ratingNo
min_premiere_dateNo
enable_image_typesNo
exclude_artist_idsNo
exclude_item_typesNo
has_official_ratingNo
has_parental_ratingNo
has_special_featureNo
max_official_ratingNo
min_date_last_savedNo
min_official_ratingNo
parent_index_numberNo
min_community_ratingNo
collapse_box_set_itemsNo
exclude_location_typesNo
contributing_artist_idsNo
enable_total_record_countNo
name_starts_with_or_greaterNo
min_date_last_saved_for_userNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds useful scope behavior (flat listing, no similarity expansion), but says nothing about pagination defaults, whether results are user-scoped, or what a returned trailer item looks like.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then the alternative, then the scope caveat; every sentence is relevant. The parenthetical restating the sibling's endpoint path is slightly redundant but not wasteful.

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 an 84-parameter listing tool with no output schema and no per-parameter documentation, the description is too thin to guide correct invocation. It never explains what qualifies as a trailer, whether local trailers are included, or how paging/sort parameters should be formed.

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?

With 84 parameters at 0% schema description coverage, the description carries the full burden and only gestures at categories ('ratings, flags, ids, sort, paging, ...'). It gives no meaning for any individual parameter such as limit vs start_index, recursive, user_id, or fields, leaving nearly all inputs undocumented in both places.

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

Purpose5/5

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

The description states a specific verb and resource ('Lists trailers') and immediately scopes it as a plain list query with no anchor item. It names the sibling get_similar_trailers and the differing endpoint, so an agent can distinguish the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use guidance: use this for filtered listing, and use get_similar_trailers when the lookup is keyed off a single item_id. The exclusion ('there is no anchor-item parameter here') directly prevents the most likely mis-invocation.

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