Skip to main content
Glama

ai_provider_status

Check the operational status of AI providers to verify availability for data analysis tasks in Excel files.

Instructions

Check status of available AI providers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core implementation of the ai_provider_status tool. Retrieves available AI providers, active provider, and performs health checks via NLPProcessor, returning formatted ToolResponse.
    async getAIProviderStatus(args: ToolArgs): Promise<ToolResponse> { try { const providers = this.nlpProcessor.getAvailableProviders(); const activeProvider = this.nlpProcessor.getActiveProvider(); const healthStatus = await this.nlpProcessor.testProviders(); return { content: [ { type: 'text', text: JSON.stringify({ activeProvider, availableProviders: providers, healthStatus, success: true }, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: JSON.stringify({ error: error instanceof Error ? error.message : 'Unknown error', success: false }, null, 2), }, ], }; } }
  • src/index.ts:1263-1264 (registration)
    Dispatch registration in the CallToolRequestSchema handler that routes ai_provider_status calls to AIOperationsHandler.getAIProviderStatus.
    case 'ai_provider_status': return await this.aiOpsHandler.getAIProviderStatus(toolArgs);
  • Tool schema and metadata registration in ListToolsRequestSchema response, defining the tool name, description, and empty input schema (no parameters required).
    { name: 'ai_provider_status', description: 'Check status of available AI providers', inputSchema: { type: 'object', properties: {}, }, },

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/ishayoyo/excel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server