Skip to main content
Glama

lidarr_get_artists

Retrieve all music artists from your Lidarr library to manage and update your collection.

Instructions

Get all artists in Lidarr library

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:524-532 (registration)
    Tool registration: defines the lidarr_get_artists tool with no input parameters, registered when Lidarr client is configured.
    {
      name: "lidarr_get_artists",
      description: "Get all artists in Lidarr library",
      inputSchema: {
        type: "object" as const,
        properties: {},
        required: [],
      },
    },
  • Handler for lidarr_get_artists: validates Lidarr is configured, calls client.getArtists(), returns count and mapped artist data (id, name, status, album count, track stats, size, monitored).
    case "lidarr_get_artists": {
      if (!clients.lidarr) throw new Error("Lidarr not configured");
      const artists = await clients.lidarr.getArtists();
      return {
        content: [{
          type: "text",
          text: JSON.stringify({
            count: artists.length,
            artists: artists.map(a => ({
              id: a.id,
              artistName: a.artistName,
              status: a.status,
              albums: a.statistics?.albumCount,
              tracks: a.statistics?.trackFileCount + '/' + a.statistics?.totalTrackCount,
              sizeOnDisk: formatBytes(a.statistics?.sizeOnDisk || 0),
              monitored: a.monitored,
            })),
          }, null, 2),
        }],
      };
    }
  • LidarrClient.getArtists() helper method that makes a GET request to /api/v1/artist to fetch all artists from Lidarr.
    async getArtists(): Promise<Artist[]> {
      return this['request']<Artist[]>('/artist');
    }
  • The Artist interface (schema) that defines the shape of artist data returned by lidarr_get_artists.
    export interface Artist {
      id: number;
      artistName: string;
      sortName: string;
      status: string;
      overview: string;
      artistType: string;
      disambiguation: string;
      links: Array<{ url: string; name: string }>;
      images: Array<{ coverType: string; url: string }>;
      path: string;
      qualityProfileId: number;
      metadataProfileId: number;
      monitored: boolean;
      monitorNewItems: string;
      genres: string[];
      cleanName: string;
      foreignArtistId: string;
      tags: number[];
      added: string;
      ratings: { votes: number; value: number };
      statistics: {
        albumCount: number;
        trackFileCount: number;
        trackCount: number;
        totalTrackCount: number;
        sizeOnDisk: number;
        percentOfTracks: number;
      };
    }
Behavior2/5

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

No annotations provided, and the description only says 'Get all artists' without disclosing behaviors like pagination, rate limits, or full data retrieval. It fails to add value beyond the obvious read operation.

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?

Single sentence, perfectly concise and front-loaded. Every word is necessary.

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 parameterless tool, the description is sufficient to explain what it returns, but could mention that it returns the full list without pagination implications.

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?

No parameters exist, so schema coverage is trivially 100%. The description adds nothing about parameters, but baseline is 4 for zero-parameter tools.

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?

Clearly states the tool gets all artists from Lidarr library. The verb 'Get' and resource 'artists' are specific, and it distinguishes from sibling tools like 'lidarr_get_albums' and 'lidarr_get_calendar'.

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?

Implies usage for retrieving the full artist list, but no guidance on when to use vs alternatives like 'lidarr_search' or 'lidarr_get_albums'. No exclusions or context provided.

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