Skip to main content
Glama

radarr_get_health

Check Radarr health status to identify and resolve application warnings or issues detected in your movie library management system.

Instructions

Get health check warnings and issues from Radarr (Movies). Shows any problems detected by the application.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler logic for radarr_get_health tool: parses service from name, retrieves RadarrClient instance, calls getHealth(), formats response with issue count, detailed issues, and overall status.
    case "sonarr_get_health": case "radarr_get_health": case "lidarr_get_health": case "readarr_get_health": { const serviceName = name.split('_')[0] as keyof typeof clients; const client = clients[serviceName]; if (!client) throw new Error(`${serviceName} not configured`); const health = await client.getHealth(); return { content: [{ type: "text", text: JSON.stringify({ issueCount: health.length, issues: health.map(h => ({ source: h.source, type: h.type, message: h.message, wikiUrl: h.wikiUrl, })), status: health.length === 0 ? 'healthy' : 'issues detected', }, null, 2), }], }; }
  • src/index.ts:118-125 (registration)
    Tool registration block within addConfigTools function that dynamically creates the 'radarr_get_health' tool definition (when serviceName='radarr'), including name, description, and empty input schema.
    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: [], }, },
  • src/index.ts:176-176 (registration)
    Conditional registration call that adds the radarr_get_health tool to the TOOLS array if Radarr client is configured.
    if (clients.radarr) addConfigTools('radarr', 'Radarr (Movies)');
  • Type definition for HealthCheck items returned by the /health endpoint, used in getHealth() response.
    export interface HealthCheck { source: string; type: string; message: string; wikiUrl: string; }
  • Core helper method getHealth() in ArrClient base class (inherited by RadarrClient) that performs the API request to '/health' endpoint.
    /** * Get health check issues */ async getHealth(): Promise<HealthCheck[]> { return this.request<HealthCheck[]>('/health'); }

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