Skip to main content
Glama

Get item counts

jellyfin_get_item_counts
Read-onlyIdempotent

Retrieve item counts from a Jellyfin library, optionally filtered by user or favorite status, to quickly assess collection sizes.

Instructions

Get item counts.

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

Input Schema

NameRequiredDescriptionDefault
user_idNo
is_favoriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.3.9

TDQS

D1.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond that — no note on scope of counting, whether counts are global or per-user, or what the response shape 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.

Conciseness2/5

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

The single sentence is short but under-specified rather than concise; it consumes the entire description budget without conveying information. There is no structure because there is essentially no content.

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?

There is no output schema, two undocumented optional parameters, and ambiguous scope for an aggregate tool. The description never clarifies what is counted, whether filters combine, or what fields the counts carry, so an agent cannot invoke it with confidence.

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% for both parameters, so the description must compensate and it does not. It says nothing about what user_id scopes (counts for a specific user's view) or what is_favorite restricts (favorites only), leaving both optional filters semantically opaque.

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 item counts" is essentially a restatement of the tool name and title, adding no verb nuance or resource specificity. It does not say what is being counted (items per library? per type? filtered?) or how it differs from siblings like jellyfin_get_item or jellyfin_get_item_segments.

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 when-to-use guidance, no exclusions, and no mention of alternatives among the many sibling item tools. An agent has no signal about when this aggregate-count tool is preferable to fetching items individually.

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