Skip to main content
Glama

get_library_analytics

Retrieve historical Plex statistics including most-watched movies, total user count, and overall watch metrics to analyze library engagement.

Instructions

Queries historical statistics regarding most watched movies, total user count, and overall watch metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It indicates a read-only operation via 'Queries' and clarifies the data is historical aggregate statistics, but it does not disclose output structure, pagination, or authorization requirements. It is adequate for a simple query tool but leaves behavioral details unspecified.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

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

A single front-loaded sentence with no filler. Every clause contributes specific metrics or scope, making it efficient and easy to parse.

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

Completeness4/5

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

For a zero-parameter analytics query with no output schema, the description gives the main return categories and scope, which is reasonably complete. It could specify the time window or output format, but the low complexity makes the current description sufficient.

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?

The input schema has zero parameters and 100% description coverage, and the tool takes no arguments. Per the 0-parameter baseline, this is a 4; there is no parameter semantics for the description to add.

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 uses a specific verb ('Queries') and names the resource ('historical statistics') with concrete content examples: most watched movies, total user count, and overall watch metrics. It is clear and distinguishes itself from siblings like get_cluster_hardware_analytics by subject matter, though it does not explicitly contrast with any sibling.

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

Usage Guidelines3/5

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

The description implies usage when historical library analytics are needed, but it provides no explicit when-to-use or when-not-to-use guidance and does not mention alternatives such as get_plex_activity or get_cluster_hardware_analytics. The context is understandable, but the guidance is indirect.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.