Skip to main content
Glama

Post plex api key

bazarr_post_plex_api_key

Sets the Plex API key in Bazarr to authenticate Plex integration and enable media library syncing.

Instructions

post /plex/apikey

POST /api/plex/apikey

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "apikey": "<apikey>"
    },
    "name": "bazarr_post_plex_api_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
apikeyYesAPI key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

D1.7/5.0
Behavior1/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true, and destructiveHint=false, and the description adds nothing beyond them. It does not say whether the new key replaces a stored key, whether existing connections break, or what authorization is needed for this outbound-facing write operation.

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 only content is the route duplicated twice with different prefixes, which is pure waste rather than information. Nothing is front-loaded because there is nothing substantive to front-load.

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

Completeness1/5

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

For a non-idempotent, open-world write endpoint that alters Plex integration credentials, the description supplies no effect, no side effects, and no return behavior, with no output schema to fall back on. It is inadequate for an agent to invoke this safely.

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?

There is a single parameter with 100% schema description coverage ('API key'), so the schema already carries the semantics and a baseline 3 applies. The description adds no format hints or validity constraints beyond the schema.

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 only a raw HTTP method plus path ('post /plex/apikey', 'POST /api/plex/apikey'), which restates the tool name and title rather than explaining what the operation accomplishes. It gives no indication of what setting a Plex API key does in Bazarr (e.g., connecting to a Plex server, replacing an existing key).

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

Usage Guidelines1/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 siblings such as bazarr_post_plex_encrypt_api_key or bazarr_post_plex_pin, nor any prerequisites, exclusions, or ordering constraints. An agent must infer everything from the endpoint path alone.

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