Skip to main content
Glama

radarr_get_download_clients

Retrieve configured download client settings from Radarr to manage movie downloads and monitor connection status.

Instructions

Get download client configurations from Radarr (Movies). Shows configured clients and their settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:136-142 (registration)
    Registration of the 'radarr_get_download_clients' tool (dynamic via serviceName='radarr') in addConfigTools function, including name, description, and empty input schema
    name: `${serviceName}_get_download_clients`, description: `Get download client configurations from ${displayName}. Shows configured clients and their settings.`, inputSchema: { type: "object" as const, properties: {}, required: [], },
  • Handler logic for radarr_get_download_clients: parses service name, retrieves RadarrClient, calls getDownloadClients(), formats and returns JSON response with client details
    case "sonarr_get_download_clients": case "radarr_get_download_clients": case "lidarr_get_download_clients": case "readarr_get_download_clients": { const serviceName = name.split('_')[0] as keyof typeof clients; const client = clients[serviceName]; if (!client) throw new Error(`${serviceName} not configured`); const downloadClients = await client.getDownloadClients(); return { content: [{ type: "text", text: JSON.stringify({ count: downloadClients.length, clients: downloadClients.map(c => ({ id: c.id, name: c.name, implementation: c.implementationName, protocol: c.protocol, enabled: c.enable, priority: c.priority, removeCompletedDownloads: c.removeCompletedDownloads, removeFailedDownloads: c.removeFailedDownloads, tags: c.tags, })), }, null, 2), }], }; }
  • Core helper method getDownloadClients() in ArrClient (inherited by RadarrClient) that makes API request to /downloadclient endpoint
    /** * Get download clients */ async getDownloadClients(): Promise<DownloadClient[]> { return this.request<DownloadClient[]>('/downloadclient'); }
  • TypeScript interface defining DownloadClient structure used for typing API response and output formatting
    export interface DownloadClient { id: number; name: string; implementation: string; implementationName: string; configContract: string; enable: boolean; protocol: string; priority: number; removeCompletedDownloads: boolean; removeFailedDownloads: boolean; fields: Array<{ name: string; value: unknown; }>; tags: number[]; }
  • src/index.ts:176-176 (registration)
    Conditional call to addConfigTools for 'radarr' service, which registers the radarr_get_download_clients tool if Radarr client is configured (via env vars RADARR_URL/API_KEY)
    if (clients.radarr) addConfigTools('radarr', 'Radarr (Movies)');

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