Skip to main content
Glama

deecho_audio

Remove echo from audio files by processing them through the MusicGPT MCP Server, enhancing audio clarity for improved listening quality.

Instructions

Remove echo from audio

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
audio_urlYesURL of the audio file to process
webhook_urlNoURL for callback upon completion

Implementation Reference

  • The core handler function that implements the deecho_audio tool logic. It validates input, makes an API call to /deecho endpoint, and returns a response with task status.
    private async handleDeechoAudio(args: any) { if (!args.audio_url) { throw new McpError(ErrorCode.InvalidParams, "audio_url is required"); } const response = await this.axiosInstance.post("/deecho", { audio_url: args.audio_url, webhook_url: args.webhook_url, }); return { content: [ { type: "text", text: `Audio de-echo started!\n\n${JSON.stringify(response.data, null, 2)}\n\nUse get_conversion_by_id with the task_id to check the status.`, }, ], };
  • Input schema for the deecho_audio tool, specifying audio_url as required string and optional webhook_url.
    inputSchema: { type: "object" as const, properties: { audio_url: { type: "string", description: "URL of the audio file to process", }, webhook_url: { type: "string", description: "URL for callback upon completion", }, }, required: ["audio_url"], },
  • src/index.ts:296-313 (registration)
    Tool registration entry in the TOOLS constant array, used by the MCP server to list available tools including name, description, and input schema.
    { name: "deecho_audio", description: "Remove echo from audio", inputSchema: { type: "object" as const, properties: { audio_url: { type: "string", description: "URL of the audio file to process", }, webhook_url: { type: "string", description: "URL for callback upon completion", }, }, required: ["audio_url"], }, },
  • src/index.ts:689-690 (registration)
    Switch case in the main CallTool request handler that registers and dispatches execution of deecho_audio to its specific handler function.
    case "deecho_audio": return await this.handleDeechoAudio(args);

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/pasie15/mcp-server-musicgpt'

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