Skip to main content
Glama

get_upcoming_episodes

Find upcoming TV episodes from Sonarr's calendar: see what airs in the next few days, or ask when a specific show returns.

Instructions

What TV episodes are coming, from Sonarr's calendar. With no title it answers 'what's on this week?': every episode airing in the next few days (default 7, up to 60) from the shows Sonarr monitors, by day, with season premieres and finales flagged and episodes already downloaded marked. With a title it answers 'when does come back?': that show's next episodes, or that none is scheduled yet (or that it has ended). Only shows Sonarr monitors are listed by default and the number left out is reported; use monitored 'unmonitored' when the user asks about shows they do not monitor, or 'any' for everything (express that as the filter, because the table shown to the user is exactly the rows returned). Dates are the network's own air dates.

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days ahead to list when no title is given (default 7, max 60).
yearNoFirst air year, only needed to tell same-named shows apart.
titleNoA show to ask about instead, e.g. 'Severance': its next episodes or that none is scheduled.
monitoredNoOnly shows Sonarr monitors (default), only ones it does not monitor, or all.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: default 7-day window capped at 60, only monitored shows returned by default with the excluded count reported, seasons premieres/finales/ downloaded state flagged, and the warning that the returned rows are exactly what the user sees. It omits explicit read-only confirmation, pagination behavior, and auth needs, but adds real context beyond any structured field.

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?

The core purpose and the default-mode answer are front-loaded, and each sentence carries operational content rather than filler. It is dense and somewhat long, but nothing reads as redundant padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, yet the description explains the return shape (grouped by day, premieres/finales flagged, already-downloaded marked) and the default filter semantics. An agent has enough to answer correctly without probing further.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning: how 'days' interacts with the no-title mode, what 'title' returns when nothing is scheduled, why 'year' disambiguates same-named shows, and the operational reason the monitored filter must reflect the exact filter used. That is genuine value beyond the schema text.

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?

States a specific verb and resource ('What TV episodes are coming, from Sonarr's calendar') and cleanly separates two modes: a calendar view by default and a per-show lookup when a title is given. It does not name or contrast with any sibling such as get_on_deck, search_episodes, or check_series_status, so it falls short of full sibling differentiation.

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

Usage Guidelines4/5

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

Gives explicit use conditions for both modes ('what's on this week?' without a title; 'when does <show> come back?' with one) and prescribes exactly when to use each monitored filter value. It stops short of pointing to alternative tools for adjacent questions, so context is clear but alternatives are unnamed.

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