Skip to main content
Glama

get_library_stats

Retrieve comprehensive Plex library statistics including storage usage, file counts, and content breakdowns to analyze media collection metrics and optimize storage management.

Instructions

Get comprehensive statistics about Plex libraries (storage usage, file counts, content breakdown, etc.)

Input Schema

NameRequiredDescriptionDefault
library_idNoSpecific library ID to get stats for (optional, defaults to all libraries)
include_detailsNoInclude detailed breakdowns by file type, resolution, codec, etc. (default: false)

Input Schema (JSON Schema)

{ "properties": { "include_details": { "default": false, "description": "Include detailed breakdowns by file type, resolution, codec, etc. (default: false)", "type": "boolean" }, "library_id": { "description": "Specific library ID to get stats for (optional, defaults to all libraries)", "type": "string" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vyb1ng/plex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server