Skip to main content
Glama

add_track

Add a new vocal track to Synthesizer V AI projects for creating and editing vocal content like lyrics and melodies.

Instructions

Add a new track to the project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName of the new track

Implementation Reference

  • MCP callTool handler for 'add_track': extracts optional track name, invokes executeCommand to add track via IPC to Lua script, handles response with success message including new track ID or error.
    case "add_track": { const args = request.params.arguments as any; const params: any = { name: args.name || "New Track" }; const result = await executeCommand("add_track", params); if (result.error) { return { content: [{ type: "text", text: `Error: ${result.error}` }], isError: true }; } return { content: [{ type: "text", text: result.message || `Track "${params.name}" added successfully with ID ${result.trackId}` }] }; }
  • Schema and registration for 'add_track' tool: defines name, description, and optional 'name' string parameter in listTools response.
    { name: "add_track", description: "Add a new track to the project", inputSchema: { type: "object", properties: { name: { type: "string", description: "Name of the new track" } }, required: [] } },
  • Helper function executeCommand(action, params) used by the add_track handler to serialize command to JSON file for Lua script consumption and await/parse response.
    async function executeCommand(action: string, params: any = {}): Promise<any> { const command = { action, ...params }; await writeCommand(command); return await readResponse(); }

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/ocadaruma/mcp-svstudio'

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