Skip to main content
Glama

Get plex libraries

bazarr_get_plex_libraries
Read-onlyIdempotent

Retrieves Plex libraries linked through Plex OAuth, enabling you to identify available media libraries for subtitle management in Bazarr.

Instructions

get /plex/oauth/libraries

GET /api/plex/oauth/libraries

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bazarr_get_plex_libraries"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered elsewhere and there is no contradiction. The description adds nothing beyond them: no note that Plex auth/API key must be configured first, no indication of whether an empty list is returned when unconfigured, and no sense of the failure modes of an open-world call.

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

Conciseness2/5

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

It is short, but the content is duplicated — the same path appears twice in two different cases with no explanatory sentence and no front-loaded statement of intent. Brevity here comes from omission rather than discipline.

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?

With no output schema and no parameters, the description is the only place an agent could learn what comes back (library names, IDs, sections, error shape) and whether authentication state matters. It supplies none of that, leaving the definition inadequate for even a simple read tool in an open-world integration.

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 tool takes zero parameters and the schema is an empty object, so there is nothing for the description to disambiguate. This is the baseline case where no parameter prose is needed.

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

Purpose2/5

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

The description is a raw route dump ('get /plex/oauth/libraries' repeated as 'GET /api/plex/oauth/libraries') that merely restates the name and title. It never states in prose what the tool returns or what a 'plex library' means in this context, so an agent gets no more than the endpoint path already implied by the tool name.

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?

There is no when-to-use guidance, no prerequisites, and no mention of the obvious alternative sibling (bazarr_get_jellyfin_libraries) or the related Plex server/selection tools. The agent must infer from the name alone that this should follow Plex authentication and server selection.

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