Skip to main content
Glama

lidarr_search_missing

Initiate a search for all missing albums for an artist using their artist ID, so they can be queued for download.

Instructions

Trigger a search for all missing albums for an artist

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
artistIdYesArtist ID to search missing albums for

Implementation Reference

  • src/index.ts:593-606 (registration)
    Registration of the lidarr_search_missing tool with input schema requiring artistId (number).
    {
      name: "lidarr_search_missing",
      description: "Trigger a search for all missing albums for an artist",
      inputSchema: {
        type: "object" as const,
        properties: {
          artistId: {
            type: "number",
            description: "Artist ID to search missing albums for",
          },
        },
        required: ["artistId"],
      },
    },
  • Handler for lidarr_search_missing tool call. Validates Lidarr is configured, extracts artistId from args, calls clients.lidarr.searchMissingAlbums(artistId), and returns success response with commandId.
    case "lidarr_search_missing": {
      if (!clients.lidarr) throw new Error("Lidarr not configured");
      const artistId = (args as { artistId: number }).artistId;
      const result = await clients.lidarr.searchMissingAlbums(artistId);
      return {
        content: [{
          type: "text",
          text: JSON.stringify({
            success: true,
            message: `Search triggered for missing albums`,
            commandId: result.id,
          }, null, 2),
        }],
      };
    }
  • Helper method on LidarrClient that sends a POST request to /command with name 'ArtistSearch' and the given artistId to trigger a search for missing albums.
    async searchMissingAlbums(artistId: number): Promise<{ id: number }> {
      return this['request']<{ id: number }>('/command', {
        method: 'POST',
        body: JSON.stringify({
          name: 'ArtistSearch',
          artistId,
        }),
      });
    }
Behavior2/5

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

No annotations are provided, so the description bears the full burden. It only states 'Trigger a search' without indicating whether this is a long-running operation, if it modifies data, or what the outcome (e.g., job ID) is. Minimal behavioral disclosure.

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?

The description is a single, clear sentence with no wasted words. However, it could include more context (e.g., what the search does) without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple with one parameter, so the description is adequate. However, it lacks details about the return value (no output schema) and behavioral aspects, making it incomplete for a trigger action.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The sole parameter 'artistId' is fully documented in the schema (100% coverage). The description adds no additional meaning beyond what the schema already provides, meeting the baseline.

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 the action ('Trigger a search') and the target ('all missing albums for an artist'). It effectively distinguishes from siblings like lidarr_search and lidarr_search_album by specifying the scope 'missing albums'.

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?

The description implies usage when wanting to find missing albums for a specific artist, but it does not explicitly mention when not to use it or suggest alternatives. Given the sibling tools, some guidance would improve clarity.

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