Skip to main content
Glama

check_engine_status

Verify if the AivisSpeech text-to-speech engine is currently operational to enable Japanese speech synthesis.

Instructions

Check if AivisSpeech engine is running

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the check_engine_status tool. Uses AivisSpeechClient to check if the engine is running and returns appropriate status message.
    case 'check_engine_status': {
      try {
        const isRunning = await client.isEngineRunning();
        const version = isRunning ? await client.getVersion() : null;
    
        return {
          content: [
            {
              type: 'text',
              text: isRunning 
                ? `AivisSpeech engine is running (version: ${version})`
                : 'AivisSpeech engine is not running. Please start the engine at http://127.0.0.1:10101',
            },
          ],
        };
      } catch (error) {
        return {
          content: [
            {
              type: 'text',
              text: `Error checking engine status: ${error instanceof Error ? error.message : String(error)}`,
            },
          ],
          isError: true,
        };
      }
    }
  • Supporting method isEngineRunning() in AivisSpeechClient class that checks engine status by attempting to fetch the version endpoint.
    async isEngineRunning(): Promise<boolean> {
      try {
        await this.getVersion();
        return true;
      } catch {
        return false;
      }
    }
  • src/index.ts:75-82 (registration)
    Tool registration in ListTools response when engine is NOT running (only this tool is listed).
    {
      name: 'check_engine_status',
      description: 'Check if AivisSpeech engine is running',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • src/index.ts:161-168 (registration)
    Tool registration in ListTools response when engine IS running (listed among other tools).
    {
      name: 'check_engine_status',
      description: 'Check if AivisSpeech engine is running',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • Input schema for check_engine_status tool (empty object, no parameters required).
    inputSchema: {
      type: 'object',
      properties: {},
    },

Tool Definition Quality

Score is being calculated. Check back soon.

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/shinshin86/mcp-simple-aivisspeech'

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