Skip to main content
Glama

Post web hooks sonarr

bazarr_post_web_hooks_sonarr

Processes Sonarr webhook events to trigger Bazarr searches for missing subtitles, using episode files or syncing episode data when needed.

Instructions

Search for missing subtitles based on Sonarr webhooks

POST /api/webhooks/sonarr

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": {
      "event_type": "<event_type>"
    },
    "name": "bazarr_post_web_hooks_sonarr"
  }
}

Input Schema

NameRequiredDescriptionDefault
episodesNoList of episodes. Can be used to sync episodes from Sonarr if not found in Bazarr.
event_typeYesType of Sonarr event (e.g. Test, Download, etc.)
episode_filesNoList of episode files; required for anything other than test hooks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.1.1

TDQS

B3.2/5.0
Behavior3/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, so the safety profile is covered. The description adds the actual API route, which is useful context for an agent constructing a call, but it does not explain side effects (does this trigger downloads/providers?), authentication needs, or what happens for a 'Test' event versus a 'Download' event.

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 functional summary front-loaded and the endpoint path appended as supporting detail. No filler, though the endpoint line is arguably redundant for an agent that only needs the MCP call signature.

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 3-parameter webhook-receiver tool with no output schema and no annotations beyond the safety hints, the description leaves notable gaps: response shape, whether a returned search actually persists anything, and the required/optional relationship between event_type and episode_files. It is minimally viable but thin for an external webhook ingestion endpoint.

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%, so both event_type and the optional episodes/episode_files lists are already documented in the schema. The description adds nothing about parameter meaning, and in particular says nothing about which event_type values correspond to which payload requirements beyond what the schema notes.

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 names a concrete effect (search for missing subtitles) and a concrete source (Sonarr webhooks), and the HTTP path POST /api/webhooks/sonarr pins down the underlying endpoint. 'Sonarr' distinguishes it from the radarr and plex webhook siblings by name, though the description never explicitly states that contrast.

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

Usage Guidelines2/5

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

There is no guidance on when an agent should call this rather than the radarr/plex webhook siblings, nor any statement that this endpoint is normally invoked by Sonarr itself rather than by an agent. The only implied context is the webhook framing itself.

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