Skip to main content
Glama

lidarr_get_download_clients

Retrieve download client configurations from Lidarr. Displays all configured clients and their settings.

Instructions

Get download client configurations from Lidarr (Music). Shows configured clients and their settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:132-197 (registration)
    The tool 'lidarr_get_download_clients' is dynamically registered via the addConfigTools helper function, which is called for lidarr service at line 203. Line 162 creates the tool with name `${serviceName}_get_download_clients`.
    function addConfigTools(serviceName: string, displayName: string) {
      TOOLS.push(
        {
          name: `${serviceName}_get_quality_profiles`,
          description: `Get detailed quality profiles from ${displayName}. Shows allowed qualities, upgrade settings, and custom format scores.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        },
        {
          name: `${serviceName}_get_health`,
          description: `Get health check warnings and issues from ${displayName}. Shows any problems detected by the application.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        },
        {
          name: `${serviceName}_get_root_folders`,
          description: `Get root folders and storage info from ${displayName}. Shows paths, free space, and unmapped folders.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        },
        {
          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: [],
          },
        },
        {
          name: `${serviceName}_get_naming`,
          description: `Get file naming configuration from ${displayName}. Shows naming patterns for files and folders.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        },
        {
          name: `${serviceName}_get_tags`,
          description: `Get all tags defined in ${displayName}. Tags can be used to organize and filter content.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        },
        {
          name: `${serviceName}_review_setup`,
          description: `Get comprehensive configuration review for ${displayName}. Returns all settings for analysis: quality profiles, download clients, naming, storage, indexers, health warnings, and more. Use this to analyze the setup and suggest improvements.`,
          inputSchema: {
            type: "object" as const,
            properties: {},
            required: [],
          },
        }
      );
  • The handler for lidarr_get_download_clients (along with sonarr_ and radarr_ variants) is implemented in the CallToolRequestSchema handler. It extracts the service name from the tool name, gets the client, calls client.getDownloadClients(), and returns the formatted response.
    case "sonarr_get_download_clients":
    case "radarr_get_download_clients":
    case "lidarr_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),
        }],
      };
    }
  • The getDownloadClients() method on the base ArrClient class makes the API request to /downloadclient endpoint. This is inherited by LidarrClient.
     * Get download clients
     */
    async getDownloadClients(): Promise<DownloadClient[]> {
      return this.request<DownloadClient[]>('/downloadclient');
    }
  • The DownloadClient interface defines the shape of download client data returned from the API.
    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[];
    }
Behavior3/5

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

The description mentions the output ('Shows configured clients and their settings'), but does not disclose other behavioral traits such as read-only nature, authentication requirements, or potential side effects. Since no annotations are provided, the description carries the full burden and could be more comprehensive.

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?

The description is extremely concise (two sentences) and front-loaded with the core action. Every word serves a purpose, with no redundancy.

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 simple read-only tool with no parameters and no output schema, the description adequately covers what the tool does and what it returns. It is sufficiently complete given the tool's low complexity.

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?

With zero parameters, the schema coverage is 100%. The description adds no parameter details, but none are needed. Baseline for 0 params is 4.

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?

The description clearly states 'Get download client configurations from Lidarr (Music)', which specifies the verb (Get), resource (download client configurations), and system (Lidarr). The parenthetical disambiguation distinguishes it from sibling tools for Radarr and Sonarr.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool vs alternatives. While the system name in the tool name differentiates it, there is no explicit 'when to use' or 'when not to use' context.

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

Install Server

Other Tools

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