Skip to main content
Glama

lidarr_get_metadata_profiles

Retrieve available metadata profiles from Lidarr to obtain valid metadataProfileId values for adding an artist.

Instructions

Get available metadata profiles for Lidarr. Use this to find valid metadataProfileId values when adding an artist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MetadataProfile interface defining the shape of metadata profiles returned from the Lidarr API
    export interface MetadataProfile {
      id: number;
      name: string;
      minPopularity?: number;
      skipMissingDate: boolean;
      skipMissingIsbn: boolean;
      skipPartsAndSets: boolean;
      skipSeriesSecondary: boolean;
      allowedLanguages?: string;
      minPages?: number;
    }
  • LidarrClient.getMetadataProfiles() method that calls the Lidarr API '/metadataprofile' endpoint to fetch metadata profiles
    /**
     * Get metadata profiles
     */
    async getMetadataProfiles(): Promise<MetadataProfile[]> {
      return this['request']<MetadataProfile[]>('/metadataprofile');
    }
  • src/index.ts:678-686 (registration)
    Tool registration for 'lidarr_get_metadata_profiles' in the Lidarr tool definitions array
    {
      name: "lidarr_get_metadata_profiles",
      description: "Get available metadata profiles for Lidarr. Use this to find valid metadataProfileId values when adding an artist.",
      inputSchema: {
        type: "object" as const,
        properties: {},
        required: [],
      },
    }
  • Handler for the 'lidarr_get_metadata_profiles' tool call, invoking LidarrClient.getMetadataProfiles() and returning the profiles with id and name
    case "lidarr_get_metadata_profiles": {
      if (!clients.lidarr) throw new Error("Lidarr not configured");
      const profiles = await clients.lidarr.getMetadataProfiles();
      return {
        content: [{
          type: "text",
          text: JSON.stringify(profiles.map(p => ({ id: p.id, name: p.name })), null, 2),
        }],
      };
    }
Behavior4/5

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

The description implies a read-only operation with 'Get available,' which is transparent enough. However, no annotations are provided, so the description bears the full burden. It does not explicitly state that the operation is safe or idempotent, but given the simplicity, this is sufficient. It could be slightly improved by adding 'read-only' or 'no side effects.'

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 concise: two sentences, no verbosity. The first sentence states the action, the second provides usage guidance. Every sentence earns its place, and the structure is front-loaded with the primary purpose.

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

Completeness5/5

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

Given no parameters and no output schema, the description fully covers what the tool does and why it should be used. It is complete for the tool's complexity, providing all necessary context for an agent to select and invoke it correctly.

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?

The input schema has no parameters (coverage 100%), so the baseline is 3. The description adds meaning by explaining that the output includes metadataProfileId values useful for adding artists, which adds semantic value beyond the schema. Thus, a score of 4 is warranted.

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 tool gets available metadata profiles for Lidarr and explicitly ties it to finding valid metadataProfileId values, which is a specific and useful purpose. It distinguishes from sibling tools like lidarr_get_quality_profiles by specifying 'metadata profiles' and their use case.

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

Usage Guidelines5/5

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

The description explicitly says 'Use this to find valid metadataProfileId values when adding an artist,' providing clear guidance on when to invoke the tool. This is direct and actionable for an AI agent, leaving no ambiguity about its intended use.

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