Skip to main content
Glama

list_library_search

Read-onlyIdempotent

Search your Plex library for movies, shows, and other content by query. Filter results by type, provider, and limit, with optional metadata for detailed discovery.

Instructions

Search Discover.

GET /library/search

Args: query: The search query string limit: Maximum number of items to return search_types: Types of content to search for search_providers: Providers to include in the search include_metadata: Include metadata in the search results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryNo
search_typesNo
include_metadataNo
search_providersNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false. The description adds no behavioral context beyond these annotations, such as response behavior, pagination, authentication, or rate limits. It is not contradictory, but it offers no additional transparency value.

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?

The description is concise and well-structured: a single purpose sentence, the endpoint path, and a clean parameter list. Every line carries content, and the most critical information (name and endpoint) is front-loaded. It is efficient, though it omits some necessary details.

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

Completeness2/5

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

For a 5-parameter search tool with zero schema-level descriptions creations, the description is insufficient for confident invocation. There are no examples, no value constraints for string parameters, no clarification of optionality, and no mention of what 'Discover' means. The presence of an output schema helps but does not resolve input ambiguity.

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 description coverage is 0%, so the description's one-line parameter explanations provide the only semantics for the 5 parameters. However, these explanations are minimal and do not specify accepted values or formats, especially for search_types and search_providers, leaving significant ambiguity. It compensates slightly but not fully.

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

Purpose3/5

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

States a specific verb ('Search') and resource ('Discover'), but 'Discover' is undefined jargon and does not distinguish the tool from sibling search tools like get_library_sections_by_section_id_search or list_hubs_search. The endpoint path adds specificity, but the purpose remains ambiguous about what 'Discover' actually covers.

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?

Provides no guidance on when to use this tool over alternatives. There are several search-related siblings, but the description does not mention them, nor does it state any exclusions or prerequisites. An agent would have to guess which search tool fits its goal.

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