Skip to main content
Glama

Upcoming releases

get_calendar
Read-only

Retrieve monitored movies, episodes, and albums due in a date window across Radarr, Sonarr, Whisparr, and Lidarr; results are sorted by date and show file availability.

Instructions

Monitored films, episodes and albums due in a date window, merged from Radarr, Sonarr, Whisparr and Lidarr, sorted by date: upcoming and recently aired, with whether each has a file. What is already overdue is get_wanted.

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": "get_calendar"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoOnly one service's calendar. `movie`: Radarr. `series`: Sonarr and Whisparr. `artist`: Lidarr's albums. Pass it when the request names one of those services; only they are asked. Omit for all.
limitNoMaximum items to return.
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.
days_backNoHow many days of already-released items to include. Defaults to 7.
days_aheadNoHow many days ahead to include. Defaults to 14.

Output Schema

NameRequiredDescriptionDefault
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes
missingFilesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.2.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return; defaults to standard."New value: +"How much per-item detail to return."
    • changedInput schema / properties / kind / enum
      Previous value: -[
      -  "movie",
      -  "series",
      -  "artist",
      -  "book"
      -]New value: +[
      +  "movie",
      +  "series",
      +  "artist"
      +]
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return; defaults to 50, hard maximum 500."New value: +"Maximum items to return."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`."
  2. Changed4 schema fields changedv1.84.0
    • changedInput schema / properties / detail / description
      Previous value: -"How much per-item detail to return. Defaults to standard."New value: +"How much per-item detail to return; defaults to standard."
    • changedInput schema / properties / kind / description
      Previous value: -"Only one service's calendar: `movie` (Radarr), `series` (Sonarr, Whisparr), `artist` (Lidarr's albums). Pass it when the request names one of those services; only they are asked. Omit for all."New value: +"Only one service's calendar. `movie`: Radarr. `series`: Sonarr and Whisparr. `artist`: Lidarr's albums. Pass it when the request names one of those services; only they are asked. Omit for all."
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum items to return. Defaults to 50, hard maximum 500."New value: +"Maximum items to return; defaults to 50, hard maximum 500."
    • changedInput schema / properties / offset / description
      Previous value: -"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`; pair it with `sort`, or items can move between pages."
  3. Changed1 schema field changedv1.74.1
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Only one service's calendar: `movie` (Radarr), `series` (Sonarr, Whisparr), `artist` (Lidarr's albums). Pass it when the request names one of those services; only they are asked. Omit for all.",
      +  "enum": [
      +    "movie",
      +    "series",
      +    "artist",
      +    "book"
      +  ],
      +  "type": "string"
      +}
  4. Changed18 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / offset / description
      Previous value: -"How many items to skip before the window `limit` returns — page two of 50 is `offset: 50`. `total` always counts the whole list, so `offset + returned < total` is how you know there is another page. Pair it with `sort` for a stable walk: without one the order is whatever the services returned, and an item can move between pages."New value: +"Items to skip: page two of 50 is `offset: 50`. Pair it with `sort`, or items can move between pages."
    • removedInput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / counts / description
      Removed value: -"How many results each service contributed."
    • removedOutput schema / properties / degraded / description
      Removed value: -"Services that could not be reached. Their contribution is missing from `items`, so a short list may be an outage rather than an answer."
    • removedOutput schema / properties / items / description
      Removed value: -"The window of results. What an item carries depends on the tool and on `detail`."
    • removedOutput schema / properties / missingFiles / description
      Removed value: -"How many of the returned items have no file yet, an album until every track is on disk. Counted before the detail projection, so it is right at every detail level."
    • removedOutput schema / properties / offset / description
      Removed value: -"How many were skipped. `offset + returned < total` means there is another page."
    • removedOutput schema / properties / offset / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / offset / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / returned / description
      Removed value: -"How many are in `items`."
    • removedOutput schema / properties / returned / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / returned / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / total / description
      Removed value: -"How many matched in total — the whole list, never the window. Compare against `returned` before reporting a count to anyone."
    • removedOutput schema / properties / total / maximum
      Removed value: -9007199254740991
    • removedOutput schema / properties / total / minimum
      Removed value: --9007199254740991
    • removedOutput schema / properties / truncated / description
      Removed value: -"True when this is not the whole list — including on the last page of a paged walk, where the rest is behind you rather than ahead."
  5. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/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 bar is lower. The description still adds useful behaviour: results are merged from four services, sorted by date, cover both upcoming and recently aired items, and each item indicates whether it has a file. That context is genuinely helpful, but nothing is said about rate limits, auth, or whether the date window is inclusive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is two sentences: the first defines scope and output shape, and the second redirects to the alternative. Nothing is wasted, and the core purpose comes before the exclusion.

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

Completeness4/5

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

With six optional parameters, a full schema, and an output schema, the description only needs to convey scope and aggregation semantics, which it does. The main minor gap is that it does not state the default date window in prose, though the schema covers it.

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%, and the enum values for kind, detail, and the defaults for days_back and days_ahead are all documented in the schema. The description introduces no additional parameter meaning beyond what the schema already states, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb-and-resource pairing ('Monitored films, episodes and albums due in a date window'), the aggregation sources (Radarr, Sonarr, Whisparr, Lidarr), and the ordering ('sorted by date'). That is enough to distinguish it from other read tools such as get_wanted without opening either schema.

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

Usage Guidelines5/5

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

It gives an explicit negative case and names the alternative: 'What is already overdue is get_wanted.' This is a clean when-to-use versus when-to-use-something-else split, and the description also implies the tool is for planning windows rather than catching up on missed items.

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