Skip to main content
Glama

Apply search criteria

jellyfin_apply_search_criteria

Applies search criteria to a Jellyfin item and refreshes its metadata, enabling targeted metadata updates for specific media entries.

Instructions

Applies search criteria to an item and refreshes metadata.

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

Input Schema

NameRequiredDescriptionDefault
bodyNo
item_idYes
replace_all_imagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is partially covered. The description adds only that metadata is refreshed, and does not explain what existing metadata is overwritten, that the criteria likely originate from an external provider search (openWorldHint), or whether the operation can be repeated safely.

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 no wasted words, but it is under-specified rather than concise — the brevity comes at the cost of the information an agent needs to invoke it correctly.

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?

This is a non-idempotent, open-world mutation with an untyped body payload and no output schema, so the description carries most of the burden. It leaves the body contract, the overwrite semantics, and the result of the call unexplained.

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% across three parameters, and the description compensates minimally: "item" loosely maps to item_id and "search criteria" loosely maps to the opaque body object. The body's expected shape and the purpose of replace_all_images are entirely undocumented in both the schema and the description.

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

Purpose3/5

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

The description names a verb ("Applies") and a resource ("search criteria to an item"), and adds the side effect of refreshing metadata. However, "search criteria" and "item" are never defined, so an agent cannot tell what data is being applied or to which entity, and nothing distinguishes it from the remote-search siblings in the catalog.

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 statement of when this tool should be used, what preconditions must hold (e.g. results from a prior remote-search call), or which alternative tools apply. The agent must infer the whole workflow from the name alone.

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