Skip to main content
Glama
rollecode

Bazarr MCP server

by rollecode

create_plex_apikey

Idempotent

Set up a Plex API key in Bazarr to authorize Plex integration and enable subtitle management.

Instructions

POST plex/apikey.

POST /api/plex/apikey

Args: apikey: API key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apikeyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, and the description does not contradict these (POST aligns with a write operation). However, the description adds no behavioral context beyond the endpoint verb — it never explains what side effects creating the key has, whether an existing key is overwritten, or what the response represents. With no contradiction, but no added value over annotations, this sits at a 2.

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

Conciseness3/5

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

The text is short, which is good, but it redundantly states the endpoint twice ('POST plex/apikey' and 'POST /api/plex/apikey') in the space where a real purpose statement should go. It earns credit for brevity but not for density of useful information.

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?

The tool is simple (one param, has an output schema), so the bar is moderate. Yet the core question — what creating a Plex API key entails and how it differs from create_plex_encrypt_apikey — is left entirely unexplained. The output schema covers return values, but the fundamental purpose ambiguity makes the definition incomplete.

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 carries the full burden for parameter meaning. It merely repeats 'apikey: API key', which adds nothing beyond the schema's own 'Apikey' title. It does not state the expected format, whether the key is user-provided or generated, or any constraints — a clear failure to compensate for the coverage gap.

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 essentially a tautology — it restates the endpoint ('POST plex/apikey') and the parameter name, but never says what 'creating' an API key actually does (generates a new key? stores/provides an existing one?). It also fails to distinguish itself from the closely related sibling create_plex_encrypt_apikey, leaving an agent unable to tell the two apart.

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 guidance on when to use this tool versus alternatives. Given the sibling create_plex_encrypt_apikey, an agent has no basis for choosing between them. No context about prerequisites, sequencing, or intended workflow is provided.

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