Skip to main content
Glama

Get years

jellyfin_get_years
Read-onlyIdempotent

Retrieves available media years from Jellyfin libraries, with options to filter by media type, parent, or user and to sort or paginate results.

Instructions

Get years.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
fieldsNo
sort_byNo
user_idNo
parent_idNo
recursiveNo
sort_orderNo
media_typesNo
start_indexNo
enable_imagesNo
enable_user_dataNo
image_type_limitNo
enable_image_typesNo
exclude_item_typesNo
include_item_typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

D1.3/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered, but the description adds nothing beyond them. It does not explain what a "year" result contains, how filtering or recursion affects output, or whether an empty library yields an empty list.

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?

Two words are technically concise, but this is under-specification rather than economy. There is no structure and no front-loaded information because there is no information at all.

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 tool with 15 optional parameters and no output schema, the definition is wholly inadequate. An agent cannot determine what the tool returns or how to use the filtering and pagination parameters without inspecting the schema manually.

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 15 parameters with 0% description coverage, and the description explains none of them. Terms like parent_id, recursive, media_types, and include_item_types are left completely undefined, so the description fails to compensate for the coverage gap.

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?

"Get years" merely restates the tool name and title with no elaboration. It is unclear whether this returns release years, year facets, or year-tagged media, and nothing distinguishes it from the many other jellyfin_get_* listing tools.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no mention of prerequisites, and no reference to any alternative tool for retrieving year-based data. The agent must guess entirely.

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