Skip to main content
Glama

Refresh library

jellyfin_refresh_library

Triggers a Jellyfin library scan to detect new, changed, or removed media and update the server catalog.

Instructions

Starts a library scan.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

B3.1/5.0
Behavior2/5

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

The annotations already disclose that this is not read-only, is open-world, is not idempotent, and is not destructive. The description adds only that a scan is 'started,' which hints at an asynchronous trigger but does not explain whether the call returns immediately, whether it scans all libraries, what permissions are required, or how concurrent or repeated scans behave. It adds very little behavioral context beyond the structured annotations.

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?

The description is a single short sentence with no wasted wording, and the key action is front-loaded. It is arguably too terse, but that is a completeness issue rather than a conciseness or structure problem.

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

Completeness3/5

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

For a zero-parameter action tool with annotations covering safety flags and no output schema, the description is minimally adequate. It does not clarify whether the scan covers all libraries or only some default scope, nor whether the operation is asynchronous or blocking. Those omissions matter for an agent deciding whether and how to sequence this call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are zero parameters, so there is no parameter semantics for the description to explain. The baseline score for a parameterless tool applies.

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 resource: it starts a library scan. That is clear enough for an agent to understand the basic operation. However, it does not differentiate this tool from sibling tools such as jellyfin_refresh_item or jellyfin_ingest_library, leaving ambiguity about which refresh operation to choose.

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 provides no guidance on when to use this tool versus alternatives. It does not mention jellyfin_refresh_item, jellyfin_ingest_library, or any condition under which a full library scan is appropriate. The agent must infer usage entirely from the tool name and annotations.

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