Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLEX_URLYesThe URL of your Plex Media Server (e.g., http://localhost:32400)http://localhost:32400
PLEX_TOKENYesYour Plex authentication token
RADARR_URLNoThe URL of your Radarr instance (e.g., http://localhost:7878)http://localhost:7878
SONARR_URLNoThe URL of your Sonarr instance (e.g., http://localhost:8989)http://localhost:8989
RADARR_API_KEYNoAPI Key for Radarr (optional at startup, required for Radarr tools)
SONARR_API_KEYNoAPI Key for Sonarr (optional at startup, required for Sonarr tools)
TRAKT_CLIENT_IDNoYour Trakt.tv API Client ID
TRAKT_CLIENT_SECRETNoYour Trakt.tv API Client Secret

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_librariesA

Get all Plex libraries

get_library_itemsB

List items in a library with pagination (useful for large libraries)

export_libraryB

Export a full library to a JSON file (within ./exports)

search_mediaC

Search for media in Plex libraries

get_recently_addedA

Get recently added media across all libraries. TV is grouped by season, so a new episode of an existing season is not listed; pass type and libraryKey to list items of one type (e.g. episode) newest first.

get_on_deckA

Get on deck (continue watching) items

get_media_detailsA

Get detailed information about a specific media item

get_editable_fieldsB

Get editable fields, available tags and locked fields for a media item

get_playlist_itemsB

Get items in a Plex playlist

get_playlistsA

Get all Plex playlists

get_watchlistA

Get the user's Plex watchlist

get_recently_watchedB

Get recently watched movies and shows

get_watch_historyB

Get detailed watch history with session information

get_active_sessionsA

Get currently active Plex streams — who is watching what right now, including player state, session location, transcode decisions and media quality

get_fully_watchedA

Get all fully watched movies and shows from a library

get_watch_statsB

Get comprehensive watch statistics (Tautulli-style analytics)

get_user_statsC

Get user-specific watch statistics

get_library_statsC

Get library-specific statistics

get_popular_contentB

Get most popular content by plays or duration

get_recommendationsA

Get personalized movie recommendations from your Plex library based on watch history. Analyzes genres, directors, and actors you've watched to score unwatched films. Supports per-user recommendations for multi-user Plex servers. If Trakt is configured, uses your rating profile to further refine scores.

trakt_authenticateB

Start Trakt.tv OAuth authentication process

trakt_complete_authB

Complete Trakt.tv authentication with authorization code

trakt_get_auth_statusA

Check Trakt.tv authentication status

trakt_sync_to_traktA

Sync Plex watch history to Trakt.tv

trakt_sync_from_traktB

Get watch history from Trakt.tv for comparison

trakt_get_user_statsC

Get enhanced viewing statistics from Trakt.tv

trakt_start_scrobblingB

Enable real-time scrobbling to Trakt.tv

trakt_get_sync_statusB

Check status of ongoing sync operations

trakt_searchC

Search for movies and shows on Trakt.tv

sonarr_get_seriesA

List all series in Sonarr with optional title filter

sonarr_searchA

Search TheTVDB for new series to add to Sonarr

sonarr_add_seriesC

Add a new series to Sonarr by TVDB ID

sonarr_get_missingA

Get missing/wanted episodes from Sonarr

sonarr_get_queueA

Get the current Sonarr download queue

sonarr_get_calendarA

Get upcoming episodes from the Sonarr calendar

sonarr_get_profilesA

Get Sonarr quality profiles and root folders (needed before adding series)

sonarr_trigger_searchA

Trigger a search for missing episodes, optionally for a specific series

sonarr_get_tagsA

List all Sonarr tags with their IDs and labels

sonarr_create_tagB

Create a new Sonarr tag

sonarr_update_tagA

Rename an existing Sonarr tag

sonarr_delete_tagB

Delete a Sonarr tag by ID

radarr_get_moviesA

List all movies in Radarr with optional title filter

radarr_searchA

Search TMDB for new movies to add to Radarr

radarr_add_movieC

Add a new movie to Radarr by TMDB ID

radarr_get_missingA

Get missing/wanted movies from Radarr

radarr_get_queueA

Get the current Radarr download queue

radarr_get_calendarB

Get upcoming movies from the Radarr calendar

radarr_get_profilesA

Get Radarr quality profiles and root folders (needed before adding movies)

radarr_trigger_searchB

Trigger a search for missing movies, optionally for a specific movie

radarr_get_tagsA

List all Radarr tags with their IDs and labels

radarr_create_tagB

Create a new Radarr tag

radarr_update_tagB

Rename an existing Radarr tag

radarr_delete_tagC

Delete a Radarr tag by ID

arr_get_statusA

Check connection status of Sonarr and Radarr services

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 54 tools

Disambiguation4/5

Domain prefixes (sonarr_, radarr_, trakt_) cleanly separate the three integrations, and Plex tools mostly target distinct resources (libraries, playlists, sessions, stats). The main soft spot is the analytics cluster — get_watch_stats, get_user_stats, get_library_stats, get_popular_content, and get_fully_watched vs get_watch_history vs get_recently_watched overlap enough that an agent could pick the wrong one for a 'what have I watched' question.

Naming Consistency4/5

Nearly everything follows a predictable prefix_verb_noun snake_case pattern (get_library_items, sonarr_add_series, radarr_create_tag), making the surface readable and scannable. Minor deviations like trakt_sync_from_trakt (redundant domain word), search_media, and export_library slightly break the verb-first convention but don't cause confusion.

Tool Count2/5

At 54 tools this is well past a comfortable surface for an agent to select from reliably, and much of the bulk is duplicated structure between Sonarr and Radarr (get_movies/series, search, add, missing, queue, calendar, profiles, trigger_search, four tag tools). The multi-integration scope partly justifies the size, but many near-parallel tools could be consolidated or parameterized.

Completeness3/5

Read/analytics coverage is extensive and the Sonarr/Radarr tag lifecycle is fully CRUD, but there are notable dead ends: get_editable_fields exists with no corresponding update/edit media tool, playlists can be read but not created or modified, and watchlist/watch-history are read-only. Sonarr/Radarr also lack delete/edit for series and movies, so routine maintenance operations are unreachable.

Maintenance

ActivityActive
ResponsivenessOutdated data