Skip to main content
Glama
sonarr-mcp

sonarr-mcp

by OrellBuehler

get_history

Read-only

Page through Sonarr grab and import history to see what was grabbed, imported, failed, deleted, or renamed, including the source indexer.

Instructions

Page through the grab and import history — what was grabbed, imported, failed, deleted or renamed, and from which indexer.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (default 1)
sort_keyNoField to sort by, e.g. 'date'
page_sizeNoItems per page (default 10 on the Sonarr side)
episode_idNoOnly history for this episode id
event_typeNoOnly these event types
series_idsNoOnly history for these series ids
download_idNoOnly history for this download client id
include_seriesNoInclude the parent series object
sort_directionNoSort direction
include_episodeNoInclude the episode object

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.0
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

readOnlyHint=true already establishes the safety profile, and the description corroborates it by describing a read of past events. It adds useful context about what the records contain (including the source indexer), but says nothing about ordering defaults, page-size defaults, or how pagination terminates.

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 that front-loads the paging behavior and the payload contents, with no filler. It could be slightly stronger by naming the discriminator against sibling history tools.

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?

With 10 optional filter parameters and no output schema, the description should indicate the shape of a result set (records plus paging metadata, total counts) and how empty pages signal the end. It describes the domain but leaves return-structure and pagination semantics unaddressed.

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% across all 10 parameters, including enums for event_type and sort_direction, so the schema carries the semantic burden. The description's mention of 'from which indexer' is not tied to any parameter in the schema, so it adds little mapping value.

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 specific verb ('Page through') with a specific resource ('grab and import history') and enumerates the record kinds it covers (grabbed, imported, failed, deleted, renamed). It does not, however, distinguish itself from siblings such as get_history_since or get_series_history, so the agent must infer the boundary.

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?

'Page through' implies the paginated, general-purpose history traversal, which is a weak usage cue. There is no explicit statement of when to prefer this over a time-bounded or series-scoped history tool, and no prerequisites or exclusions 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