Skip to main content
Glama
dustinhansen

Plex MCP Server

by dustinhansen

Search

search
Read-onlyIdempotent

Find movies, shows, episodes, music, people, collections, and playlists across all Plex libraries, with hits grouped by type or matched by IMDb, TMDB, or TVDB ID.

Instructions

Global search across ALL libraries (movies, shows, episodes, music, people, collections, playlists). Returns hits grouped by type. Use person hits with person_credits. Use item hits with get_item. Pass externalId instead of query to ask whether the library holds a title you have an IMDb, TMDB or TVDB id for ('imdb:tt0113277', 'tmdb:949', 'tvdb:12345'): it matches the ids Plex already holds on every movie and show library and returns the matching movies/shows, usually one item or none. It reads every movie and show library in full, so it takes a second or two on a large server.

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo
externalIdNoimdb:tt0113277, tmdb:949 or tvdb:12345. Look a title up by its id instead of a query

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only and idempotency, but the description adds real behavioral context: externalId lookups match ids Plex stores on every movie/show library and usually return one item or none, and the call reads every movie and show library in full so it costs a second or two on a large server. It does not address what happens when query and externalId are both supplied or both omitted.

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

Conciseness4/5

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

Purpose and grouping are front-loaded, then routing guidance, then the externalId mode. The externalId sentence is long and comma-heavy, but every clause carries information an agent needs; no filler sentences.

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

Completeness5/5

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

For a read-only search tool with no output schema, the definition supplies scope, result shape, sibling routing, and the alternate id-lookup mode with its performance characteristic. Only the interaction between optional parameters and limit behavior is unstated, a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 33%, and the description compensates well for externalId, explaining its format, matching basis and typical cardinality beyond the schema's one-line hint. However, 'query' matching semantics (exact, prefix, fuzzy) and 'limit' (default 20, capped at 50) are left entirely to the bare schema.

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

Purpose5/5

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

The definition states a specific verb and resource ('Global search across ALL libraries') and enumerates the media types searched, then adds what the output looks like ('hits grouped by type'). It also distinguishes itself from list_media/filtering siblings by making the cross-library scope explicit.

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

Usage Guidelines5/5

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

Explicit routing is given for each result type: person hits go to person_credits, item hits go to get_item. It also carves out a distinct mode (externalId instead of query) and states precisely when that mode applies — when you already hold an IMDb/TMDB/TVDB id.

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