Skip to main content
Glama
rollecode

Bazarr MCP server

by rollecode

create_plex_oauth_pin

Idempotent

Creates a Plex OAuth PIN to authorize Bazarr with your Plex account, enabling secure integration for subtitle management.

Instructions

POST plex/oauth/pin.

POST /api/plex/oauth/pin

Args: client_id: Client ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.5/5.0
Behavior2/5

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

Annotations already indicate the operation is non-read-only, idempotent, and non-destructive, but the description adds no further behavioral context. It does not mention what side effects occur, what the returned PIN represents, or how this fits into the OAuth flow.

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?

The text is short but poorly structured: the endpoint is written twice ('POST plex/oauth/pin.' and 'POST /api/plex/oauth/pin'), and the Args block just repeats schema information. Each element adds little value beyond the tool name itself.

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?

Although the tool has only one optional parameter and an output schema, the description is too thin to guide correct invocation. Without any explanation of the Plex OAuth PIN creation flow or its role among the create_plex_* siblings, the definition is only minimally usable.

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

Parameters2/5

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

Schema description coverage is 0%, so the description needed to compensate, but it only restates 'client_id: Client ID,' which mirrors the schema title. It does not explain whether the client ID is required, what format it should take, or why it is needed.

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

Purpose4/5

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

The description names a specific resource and HTTP verb ('POST /api/plex/oauth/pin'), so an agent can infer this creates a Plex OAuth PIN. It does not explicitly explain what the PIN is for or differentiate itself from related siblings like get_plex_oauth_pin_by_pin_id_check, but the endpoint is concrete enough to be clear.

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?

No guidance is given about when to use this tool versus the many related Plex OAuth tools, such as list_plex_oauth_pin, list_plex_oauth_servers, or create_plex_oauth_logout. An agent would have to rely entirely on naming conventions and endpoint paths.

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