Skip to main content
Glama

radarr_get_queue

Retrieve the current download queue from Radarr to monitor pending movies and track download progress.

Instructions

Get Radarr download queue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Executes the radarr_get_queue tool: checks if Radarr is configured, calls RadarrClient.getQueue(), formats queue items with progress and returns JSON response.
    case "radarr_get_queue": { if (!clients.radarr) throw new Error("Radarr not configured"); const queue = await clients.radarr.getQueue(); return { content: [{ type: "text", text: JSON.stringify({ totalRecords: queue.totalRecords, items: queue.records.map(q => ({ title: q.title, status: q.status, progress: ((1 - q.sizeleft / q.size) * 100).toFixed(1) + '%', timeLeft: q.timeleft, downloadClient: q.downloadClient, })), }, null, 2), }], }; }
  • Tool schema definition: name, description, and empty input schema (no parameters required).
    { name: "radarr_get_queue", description: "Get Radarr download queue", inputSchema: { type: "object" as const, properties: {}, required: [], },
  • src/index.ts:280-343 (registration)
    Conditional registration of radarr_get_queue tool (and other Radarr tools) to the TOOLS array if Radarr client is configured.
    if (clients.radarr) { TOOLS.push( { name: "radarr_get_movies", description: "Get all movies in Radarr library", inputSchema: { type: "object" as const, properties: {}, required: [], }, }, { name: "radarr_search", description: "Search for movies to add to Radarr", inputSchema: { type: "object" as const, properties: { term: { type: "string", description: "Search term (movie name)", }, }, required: ["term"], }, }, { name: "radarr_get_queue", description: "Get Radarr download queue", inputSchema: { type: "object" as const, properties: {}, required: [], }, }, { name: "radarr_get_calendar", description: "Get upcoming movie releases from Radarr", inputSchema: { type: "object" as const, properties: { days: { type: "number", description: "Number of days to look ahead (default: 30)", }, }, required: [], }, }, { name: "radarr_search_movie", description: "Trigger a search to download a movie that's already in your library", inputSchema: { type: "object" as const, properties: { movieId: { type: "number", description: "Movie ID to search for", }, }, required: ["movieId"], }, } ); }
  • Core API call in ArrClient.getQueue() used by all *arr clients to fetch the download queue from the /queue endpoint with parameters for unknown items.
    async getQueue(): Promise<{ records: QueueItem[]; totalRecords: number }> { return this.request<{ records: QueueItem[]; totalRecords: number }>('/queue?includeUnknownSeriesItems=true&includeUnknownMovieItems=true'); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aplaceforallmystuff/mcp-arr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server