Skip to main content
Glama
sonarr-mcp-server

sonarr-mcp-server

by slate63

Get history

sonarr_get_history
Read-onlyIdempotent

Retrieve Sonarr activity history such as grabs, imports, failed downloads, deletions and renames, newest first. Filter results by series, episode, event type or download ID.

Instructions

Activity history: grabs, imports, failed downloads, deletions and renames. Newest first. Filter by series, episode, event type or download ID.

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

Input Schema

NameRequiredDescriptionDefault
pageNoPage number (1-based)
sortKeyNoField to sort by, e.g. 'airDateUtc', 'date', 'timeleft'
pageSizeNoResults per page (max 250)
episodeIdNoOnly this episode
seriesIdsNoOnly these series
downloadIdNoOnly events for this download client ID
eventTypesNoOnly these event types
sortDirectionNoSort direction

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered by structured data. The description adds the default ordering ("Newest first"), which the schema's sortDirection/sortKey fields do not declare as a default, but it says nothing about retention, pagination behavior, or result size even though pageSize defaults to 20.

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?

Three short sentences, front-loaded with the resource and its contents, followed by ordering and filter dimensions. No filler and nothing repeated unnecessarily.

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?

For a read-only, zero-required-parameter list tool with a fully described schema and no output schema, the definition covers what an agent needs to select and call it correctly. The only gap is that pagination and sorting are left entirely to the schema, which is acceptable given 100% schema coverage.

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 every parameter is already documented, establishing a baseline of 3. The description restates the four filtering dimensions (series, episode, event type, download ID) but adds no syntax, combination rules, or behavior beyond what the schema provides, and omits any mention of the paging and sorting parameters.

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 specific resource (activity history) and enumerates what it contains: grabs, imports, failed downloads, deletions, renames. That is enough for an agent to know this is the historical event log rather than a queue or a series listing. It does not explicitly differentiate from siblings like sonarr_get_queue or sonarr_mark_history_failed, which keeps it below 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 Guidelines3/5

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

Usage is only implied: the enumerated event categories suggest when an agent would reach for this (post-download troubleshooting, audit, rename tracking), but there is no explicit when-to-use statement, no exclusion of alternatives, and no mention of how it relates to sonarr_mark_history_failed or sonarr_get_queue.

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