Skip to main content
Glama
Sonarr MCP Server

Sonarr MCP Server

by jbydeley

List Upcoming Episodes

list-upcoming-episodes
Read-only

Retrieve upcoming TV episodes from Sonarr within a date range, with options to filter by tags and include series, episode files, or images.

Instructions

List upcoming episodes from Sonarr

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": "list-upcoming-episodes"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoThe end date (ISO8601 string)2026-12-02T05:56:11.583Z
tagsNoOptional tag IDs
startNoThe start date (ISO8601 string)2026-11-25T05:56:11.582Z
unmonitoredNoWhether to include unmonitored episodes
includeSeriesNoWhether to include series information
includeEpisodeFileNoWhether to include episode file information
includeEpisodeImagesNoWhether to include episode images

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.7.0

TDQS

C2.9/5.0
Behavior2/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's remaining burden is to explain the default behavior — e.g. that the time window defaults to roughly the next week — and it does not. The only added content, "from Sonarr", merely names the backing service and contributes no behavioral detail.

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?

A single front-loaded sentence with zero filler or redundancy. It is efficient, though its brevity stems partly from under-specification rather than disciplined editing.

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?

With seven optional parameters, a non-obvious default date window (start/end default to a ~7-day range), five boolean inclusion flags, and no output schema, the description should explain what a default call returns. It says nothing about that, leaving the agent to infer behavior entirely from the schema.

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 all seven parameters (start, end, tags, unmonitored, includeSeries, includeEpisodeFile, includeEpisodeImages) are already documented with defaults and formats. The description adds no meaning beyond that, which is the baseline 3 when the schema does the heavyweight lifting.

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?

"List upcoming episodes from Sonarr" gives a specific verb (List) and resource (upcoming episodes) plus the source system, so the agent knows what it retrieves. It does not differentiate itself from siblings like find-episodes or list-recent-downloads, which is what keeps it from a 5.

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 when-to-use guidance at all: nothing says to pick this over find-episodes when the goal is a forward-looking schedule, and nothing about prerequisites or typical call patterns. The word "upcoming" is the only usage signal, and it is implied rather than stated.

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