Skip to main content
Glama

Get plex pin check

bazarr_get_plex_pin_check
Read-onlyIdempotent

Check a Plex OAuth PIN by its ID to determine whether authentication is complete and obtain the resulting status.

Instructions

get /plex/oauth/pin/{pin_id}/check

GET /api/plex/oauth/pin/{pin_id}/check

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": {
      "pin_id": "<pin_id>"
    },
    "name": "bazarr_get_plex_pin_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
pin_idYespin_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered structurally. The description adds nothing beyond them — it does not disclose what the check returns (pending vs. authorized), whether it consumes the PIN, or any rate/polling constraint, which matters for an openWorld read.

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 entry is short only because it contains no content: the same route string is printed twice (once as a lowercase path, once as 'GET /api/...'). This redundancy earns no place, and nothing is front-loaded to orient the agent.

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?

There is no output schema, so the description should explain the return value of a PIN check, but it says nothing about the response shape or status semantics. For an openWorld OAuth polling endpoint with zero annotation-independent explanation, the definition is under-specified.

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 100% (one required parameter), so the baseline is 3. However, the schema's own doc is the tautology 'pin_id', and the description only mirrors it as a path placeholder without saying where a PIN id comes from or how it is obtained.

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 verbatim restatement of the HTTP route ('get /plex/oauth/pin/{pin_id}/check'), duplicated twice. It names a resource path but never states in plain language what the call accomplishes (e.g. 'polls the status of a Plex OAuth PIN to see whether the user has authenticated'), nor how it differs from bazarr_get_plex_pin or bazarr_post_plex_pin.

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 when-to-use guidance whatsoever: no mention of when the check should be issued, that it is a polling step following PIN creation, or how often it may be called. An agent is left to guess the OAuth flow sequence from sibling names alone, which the description does not reference.

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