Skip to main content
Glama

Post web hooks plex

bazarr_post_web_hooks_plex

Triggers a Bazarr subtitle search when a Plex media play event is received via webhook, keeping subtitles available during playback.

Instructions

Trigger subtitles search on play media event in Plex

POST /api/webhooks/plex

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": {
      "payload": "<payload>"
    },
    "name": "bazarr_post_web_hooks_plex"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesWebhook payload

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and openWorldHint=true, so the agent knows this is a non-idempotent write. The description adds the meaningful side effect (a subtitle search is kicked off), but omits whether authentication is required, whether it can be safely replayed, or what a caller should expect back.

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?

Two short lines with the behavioral purpose front-loaded and the route path as secondary detail; nothing is padded. The route line is arguably implementation detail, but it is compact and non-redundant.

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 webhook receiver with one opaque payload parameter and no output schema, the definition is minimally sufficient: an agent knows it posts a payload to a Plex webhook route to trigger a search. It is not fully complete because the payload contract and any caller expectations remain unexplained.

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 coverage is 100% for the single 'payload' parameter, so the baseline is 3. The description does not describe the expected payload shape (Plex's event JSON) or whether it must be raw JSON text versus a parsed object, which is the one thing it could have added beyond the schema.

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 description uses a concrete verb+resource ('Trigger subtitles search') and scopes it to a Plex play event, which distinguishes it from the radarr/sonarr webhook siblings by media type. It stops short of naming any sibling explicitly, so differentiation is inferred from the 'Plex' qualifier alone.

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

Usage Guidelines3/5

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

'on play media event in Plex' gives a usage context, implying the endpoint is invoked by Plex rather than called directly by an agent. There is no explicit statement about when to use this versus bazarr_post_plex_webhook_create or the radarr/sonarr webhook variants, and no prerequisites are given.

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