Skip to main content
Glama

radarr_get_health

Check Radarr for health warnings and issues to identify application problems and maintain system stability.

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

  • src/index.ts:117-125 (registration)
    Tool registration and schema definition for radarr_get_health (dynamically generated via serviceName='radarr'). Defines 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)');
  • Primary handler logic for executing the radarr_get_health tool. Parses service, fetches health via client.getHealth(), formats JSON response with issues summary.
    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), }], }; }
  • Core helper method in ArrClient (inherited by RadarrClient) that performs the actual API request to /health endpoint for health checks.
    async getHealth(): Promise<HealthCheck[]> { return this.request<HealthCheck[]>('/health'); }
  • TypeScript interface defining the structure of health check responses used by getHealth().
    export interface HealthCheck { source: string; type: string; message: string; wikiUrl: string; }

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