Skip to main content
Glama

dashbrr_plex

Create and poll a Plex authentication PIN to complete Plex login, or retrieve active Plex playback sessions for a Dashbrr instance.

Instructions

dashbrr plex operations on Dashbrr. Pass operation and an arguments dict matching that operation's parameters.

  • dashbrr_create_plex_pin() — Start a Plex authentication flow: create a Plex PIN. Returns the pin id and code; poll it with dashbrr_get_plex_pin until it carries an authToken.

  • dashbrr_get_plex_pin(pin_id) — Poll the status of a Plex PIN created with dashbrr_create_plex_pin. Once the pin has been authorised (has an authToken), the Plex auth flow is complete.

  • dashbrr_get_plex_sessions(instance_id) — Active Plex playback sessions. instance_id must be type-prefixed, e.g. plex-main.

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": {
      "operation": "<operation>"
    },
    "name": "dashbrr_plex"
  }
}

Input Schema

NameRequiredDescriptionDefault
argumentsNo
operationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full disclosure burden. It does useful work: it reveals that the create call returns a pin id and code, that completion is signalled by an authToken on the polled pin, and that instance_id must be type-prefixed. It doesn't mention permission requirements, pin expiry timeouts, rate limits on polling, or whether credentials are stored as a side effect.

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 one-line framing followed by an operation-per-bullet layout is easy to scan and free of filler. The framing sentence is the weakest part, but the rest of the text is efficient and front-loaded.

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

Completeness3/5

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

For a dispatcher wrapping three operations, the description covers each operation's intent and the auth handshake sequence, and an output schema exists so return shapes needn't be spelled out. Gaps remain around error modes (expired or rejected pin), what the sessions response contains, and how `arguments` should be shaped when omitted, given it defaults to null.

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%, and the `arguments` object is opaque (additionalProperties true), so the description has to supply meaning. It names the per-operation parameters — pin_id for get_plex_pin, instance_id for get_plex_sessions — and gives the `plex-main` format hint, which is real added value. It still omits types (pin_id could plausibly be an integer) and never states that create_plex_pin takes no arguments.

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 opening line ('dashbrr plex operations on Dashbrr') is a vague umbrella, but the three bullets give specific verbs and resources: create a PIN, poll a PIN, list sessions. This clearly scopes it to Plex work and distinguishes it from siblings like dashbrr_arr_queues and dashbrr_settings, though that differentiation is implicit rather than stated.

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

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description supplies an actual workflow: call dashbrr_create_plex_pin, then poll with dashbrr_get_plex_pin until the pin carries an authToken. That tells the agent how the pieces relate rather than just listing them. It stops short of when-not guidance or explaining what happens if polling is abandoned or the pin expires.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.