Skip to main content
Glama

Get root folder

jellyfin_get_root_folder
Read-onlyIdempotent

Retrieve a user's Jellyfin library root folder to locate media collections and resolve paths for subsequent library operations.

Instructions

Gets the root folder from a user's library.

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

Input Schema

NameRequiredDescriptionDefault
user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. Beyond that the description only adds "from a user's library"; it does not say what a root folder contains, whether it is a virtual-folder collection, or how it behaves when the user has no library configured.

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?

One short sentence with the resource front-loaded and no filler. It is not padded, though its brevity comes partly from under-specification rather than discipline.

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?

There is no output schema, so the description should describe the return value (what a root folder is, its fields), and it does not. Combined with the undocumented optional parameter, an agent cannot predict either the input fallback behavior or the response.

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 0% and the single parameter user_id is undocumented. The description does not explain that omitting user_id presumably falls back to the current user, which is the key semantic an agent needs to call this correctly.

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?

States a specific verb and resource ("Gets the root folder") and adds scope ("from a user's library"), so an agent knows this is a read of a user-scoped library root. It does not distinguish itself from other jellyfin_get_* siblings, but the resource name is distinctive enough to route correctly.

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?

No when-to-use guidance, no prerequisites, and no mention of any alternative (e.g., listing virtual folders or getting ancestors). The agent must infer entirely from the name when this is the right call.

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