Skip to main content
Glama

Download history

get_history
Read-only

Trace what happened to a download after it left the queue—grabbed, imported, failed or deleted—across your *arr apps, download clients and cleanup tools, so you can see why a download failed.

Instructions

What happened to a download after it left the queue (grabbed, imported, failed, deleted), merged across the *arrs, SABnzbd, NZBGet, Bazarr (subtitle rows), Cleanuparr (strikes and removals), Reclaimerr (cleanup), Maintainerr (cleanup), SuggestArr (requested rows), Shelfmark and Grimmory, in one vocabulary with the upstream word kept as rawEvent. This answers "why did last night's download fail": get_queue cannot see finished or failed items, and a failure carries the download client's own message. Pass service and id to scope it to one movie, series or Lidarr artist. downloadId links a row to its *arr grab; on an NZBGet row it is what import_download action: "postprocess" takes. Deleting a title also deletes its Radarr, Sonarr and Lidarr history, so source: "webhooks" reads what they reported to arr-mcp instead, when the library event log is on. Field reference: arr://docs/get_history.

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
idNoOne movie, series or Lidarr artist id: `acquisition.id` on a get_library or get_media_details record. Requires `service`.
limitNoMaximum items to return.
sinceNoISO 8601. Only entries at or after this time.
detailNoHow much per-item detail to return.standard
offsetNoItems to skip: page two of 50 is `offset: 50`.
sourceNo`services` asks each service for its own history. `webhooks` reads the events Radarr, Sonarr and Lidarr reported to arr-mcp, which survive deleting a title.services
serviceNoScope to one service. Required alongside `id`.
instanceNoWhich instance (e.g. "4k") when several of this service exist. Omit it when there is one.
event_typeNoOnly entries of this normalised type. Omit for all.

Output Schema

NameRequiredDescriptionDefault
noteNo
itemsYes
totalYes
countsNo
offsetYes
degradedYes
returnedYes
truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.6.0
    • changedInput schema / properties / event_type / enum
      Previous value: -[
      -  "grabbed",
      -  "imported",
      -  "failed",
      -  "deleted",
      -  "renamed",
      -  "added",
      -  "ignored",
      -  "subtitle",
      -  "retagged",
      -  "unknown",
      -  "strike",
      -  "stopped",
      -  "recovered",
      -  "recategorised",
      -  "scheduled",
      -  "protected",
      -  "metadata",
      -  "scanned"
      -]New value: +[
      +  "grabbed",
      +  "imported",
      +  "failed",
      +  "deleted",
      +  "renamed",
      +  "added",
      +  "ignored",
      +  "subtitle",
      +  "retagged",
      +  "unknown",
      +  "strike",
      +  "stopped",
      +  "recovered",
      +  "recategorised",
      +  "scheduled",
      +  "protected",
      +  "metadata",
      +  "scanned",
      +  "requested"
      +]
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "lidarr",
      -  "bazarr",
      -  "sabnzbd",
      -  "nzbget",
      -  "cleanuparr",
      -  "reclaimerr",
      -  "shelfmark",
      -  "grimmory"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "lidarr",
      +  "bazarr",
      +  "sabnzbd",
      +  "nzbget",
      +  "cleanuparr",
      +  "reclaimerr",
      +  "maintainerr",
      +  "shelfmark",
      +  "grimmory",
      +  "suggestarr"
      +]
  2. Changed5 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 / 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`."
    • changedInput schema / properties / service / enum
      Previous value: -[
      -  "radarr",
      -  "sonarr",
      -  "whisparr",
      -  "lidarr",
      -  "prowlarr",
      -  "bazarr",
      -  "jellyfin",
      -  "seerr",
      -  "sabnzbd",
      -  "nzbget",
      -  "transmission",
      -  "qbittorrent",
      -  "plex",
      -  "profilarr",
      -  "cleanuparr",
      -  "reclaimerr",
      -  "dispatcharr",
      -  "shelfmark",
      -  "grimmory"
      -]New value: +[
      +  "radarr",
      +  "sonarr",
      +  "lidarr",
      +  "bazarr",
      +  "sabnzbd",
      +  "nzbget",
      +  "cleanuparr",
      +  "reclaimerr",
      +  "shelfmark",
      +  "grimmory"
      +]
    • changedInput schema / properties / source / description
      Previous value: -"`services` asks each service for its own history. `webhooks` reads the events Radarr and Sonarr reported to arr-mcp, which survive deleting a title."New value: +"`services` asks each service for its own history. `webhooks` reads the events Radarr, Sonarr and Lidarr reported to arr-mcp, which survive deleting a title."
  3. Changed5 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 / event_type / enum
      Previous value: -[
      -  "grabbed",
      -  "imported",
      -  "failed",
      -  "deleted",
      -  "renamed",
      -  "added",
      -  "ignored",
      -  "subtitle",
      -  "unknown",
      -  "strike",
      -  "stopped",
      -  "recovered",
      -  "recategorised",
      -  "scheduled",
      -  "protected",
      -  "metadata",
      -  "scanned"
      -]New value: +[
      +  "grabbed",
      +  "imported",
      +  "failed",
      +  "deleted",
      +  "renamed",
      +  "added",
      +  "ignored",
      +  "subtitle",
      +  "retagged",
      +  "unknown",
      +  "strike",
      +  "stopped",
      +  "recovered",
      +  "recategorised",
      +  "scheduled",
      +  "protected",
      +  "metadata",
      +  "scanned"
      +]
    • changedInput schema / properties / id / description
      Previous value: -"One movie, series or Lidarr artist id — `acquisition.id` on a get_library or get_media_details record. Requires `service`."New value: +"One movie, series or Lidarr artist id: `acquisition.id` on a get_library or get_media_details record. Requires `service`."
    • 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."
  4. Changed19 schema fields changedv1.74.0
    • removedInput schema / $schema
      Removed value: -"https://json-schema.org/draft/2020-12/schema"
    • changedInput schema / properties / instance / description
      Previous value: -"Which instance, when several of this service are configured — for example \"4k\" or \"hd\". Omit it when there is only one. If several are configured and you omit it, the call is refused and the names are listed."New value: +"Which instance (e.g. \"4k\") when several of this service exist. Omit it when there is one."
    • 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 / note / description
      Removed value: -"Why a `source: \"webhooks\"` answer may be empty: the log is off, or nothing has arrived."
    • 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.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true; the description goes well beyond that. It discloses the merge-and-normalize behavior with the upstream word preserved as `rawEvent`, that failures carry the download client's own message, and the destructive-adjacent caveat that deleting a title also deletes Radarr/Sonarr/Lidarr history unless webhook-sourced.

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?

Core purpose is front-loaded and each clause is functional, but it is one dense run-on paragraph with a long parenthetical service list. The sentence on `downloadId` and import_download postprocess is valuable yet breaks the flow of the main guidance.

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?

For a 9-parameter read tool with an output schema and a linked field reference (arr://docs/get_history), the description covers scope, paging intent, event filtering, and the source tradeoff. Nothing needed to call it correctly is missing.

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 real meaning: `service` and `id` are a paired scope (id requires service), and `source: "webhooks"` is explained in terms of surviving title deletion rather than just restating the enum. The `downloadId` reference is to output/linkage rather than a parameter, which is useful but slightly off-target for parameter semantics.

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?

Opens with a specific verb-plus-resource framing ('What happened to a download after it left the queue') and enumerates the normalized event vocabulary (grabbed, imported, failed, deleted). It explicitly contrasts with get_queue, so an agent can route between them 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?

Gives a concrete triggering question ('why did last night's download fail') and states the condition that selects this tool over the sibling: get_queue cannot see finished or failed items. It also prescribes when to pass `service`+`id` to scope, and when to switch to `source: "webhooks"` (after a title is deleted).

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