Skip to main content
Glama

arr_status

Check the operational status of all configured *arr media services including Sonarr, Radarr, Lidarr, Readarr, and Prowlarr to monitor your media management applications.

Instructions

Get status of all configured *arr services. Currently configured: Sonarr (TV), Radarr (Movies), Lidarr (Music), Readarr (Books), Prowlarr (Indexers)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Main handler for the 'arr_status' tool. Loops through configured *arr services, calls getStatus() on each client, compiles connection/version status into a JSON object, includes unconfigured services, and returns as text content.
    case "arr_status": { const statuses: Record<string, unknown> = {}; for (const service of configuredServices) { try { const client = clients[service.name]; if (client) { const status = await client.getStatus(); statuses[service.name] = { configured: true, connected: true, version: status.version, appName: status.appName, }; } } catch (error) { statuses[service.name] = { configured: true, connected: false, error: error instanceof Error ? error.message : String(error), }; } } // Add unconfigured services for (const service of services) { if (!statuses[service.name]) { statuses[service.name] = { configured: false }; } } return { content: [{ type: "text", text: JSON.stringify(statuses, null, 2) }], }; }
  • src/index.ts:92-99 (registration)
    Tool registration in the TOOLS array, including name, dynamic description based on configured services, and empty input schema (no parameters required).
    name: "arr_status", description: `Get status of all configured *arr services. Currently configured: ${configuredServices.map(s => s.displayName).join(', ')}`, inputSchema: { type: "object" as const, properties: {}, required: [], }, },
  • Input schema definition for arr_status tool: empty object with no properties or required fields.
    type: "object" as const, properties: {}, required: [], }, },
  • Helper method in base ArrClient class that performs the actual API call to /api/v3/system/status, used by all *arr clients in the arr_status handler.
    async getStatus(): Promise<SystemStatus> { return this.request<SystemStatus>('/system/status'); }

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