Skip to main content
Glama

Post plex logout

bazarr_post_plex_logout

Logs out of the Plex OAuth session used by Bazarr, ending the authenticated connection to the Plex account.

Instructions

post /plex/oauth/logout

POST /api/plex/oauth/logout

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "bazarr_post_plex_logout"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

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, openWorldHint=true, idempotentHint=false, and destructiveHint=false, so the safety profile is partly covered. The description adds nothing beyond that: it does not say that the Plex token/session is invalidated, whether a subsequent /plex/pin is required, or that it calls an external Plex service (openWorldHint context). No contradiction with the annotations, but zero incremental disclosure.

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 wasteful: the same path appears twice with no additional information, so there is no front-loaded intent statement. Brevity here reflects under-specification rather than concision.

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?

For a zero-parameter logout action, an agent mainly needs to know the side effect (Plex auth session/token cleared) and any follow-up requirement, and the description supplies neither. With no output schema and only annotations to lean on, the definition is thinner than the tool's behavioral reality warrants.

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

Parameters4/5

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

The tool takes zero parameters and the schema is an empty object with additionalProperties=false, so there is no parameter meaning to convey. The baseline of 4 applies; the description neither helps nor harms here.

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 only restates the endpoint path twice ('post /plex/oauth/logout' and 'POST /api/plex/oauth/logout'), which is a tautological echo of the tool name and title rather than a statement of purpose. An agent can infer that this terminates a Plex OAuth session, but it must supply that meaning itself; there is no natural-language verb+resource description.

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 whatsoever on when to call this, what precondition exists (an active Plex OAuth flow), or which sibling to use instead (e.g. bazarr_post_plex_pin to start auth, chaptarr/lidarr/prowlarr/radarr/sonarr get_logout for other services). Nothing distinguishes it from the other bazarr_post_plex_* endpoints.

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