Skip to main content
Glama
Ripnrip
by Ripnrip

get_voice_pack_info

Retrieve details about active and available voice packs for coding achievement announcements, including names, descriptions, and paths.

Instructions

â„šī¸ Get information about the currently active voice pack and all available voice packs. Returns the current voice pack name, display name, description, path, and list of all available voice packs (male and female) with their details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_dummyNoNo parameters required. This tool returns information about voice packs without requiring any input.

Implementation Reference

  • The core handler function for the 'get_voice_pack_info' tool. It returns success status, message, current voice pack, current voice info, and list of all available voice packs.
    async getVoicePackInfo(args) { return { success: true, message: "🎤 Voice pack information retrieved!", currentVoicePack: enhancedStats.voicePack, currentVoiceInfo: VOICE_PACKS[enhancedStats.voicePack], availableVoicePacks: Object.keys(VOICE_PACKS).map(key => ({ id: key, ...VOICE_PACKS[key] })) }; }
  • index.js:389-396 (registration)
    Registration of the 'get_voice_pack_info' tool in the ListTools response, including name, description, and input schema.
    { name: "get_voice_pack_info", description: "🎤 Get current voice pack information and available options", inputSchema: { type: "object", properties: {}, }, },
  • Input schema definition for the tool: an empty object since no parameters are required.
    inputSchema: { type: "object", properties: {}, },
  • Alternative handler implementation in the modular tools registration file, returning structured content with voice pack information.
    async () => { return { content: [{ type: "text", text: `🎤 Current voice: ${enhancedStats.voicePack}\nAvailable voices: male, female` }], currentVoicePack: enhancedStats.voicePack, currentVoiceInfo: VOICE_PACKS[enhancedStats.voicePack], availableVoicePacks: Object.entries(VOICE_PACKS).map(([id, pack]) => ({ id, ...pack })) }; } );
  • Registration of the tool using server.registerTool in the settings module, including detailed description, Zod schema, and annotations.
    server.registerTool( "get_voice_pack_info", { description: "â„šī¸ Get information about the currently active voice pack and all available voice packs. Returns the current voice pack name, display name, description, path, and list of all available voice packs (male and female) with their details.", inputSchema: { // No parameters required for this tool _dummy: z.string().optional().describe("No parameters required. This tool returns information about voice packs without requiring any input.") }, annotations: { title: "â„šī¸ Get Voice Pack Info", readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false } },

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/Ripnrip/Quake-Coding-Arena-MCP'

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