Skip to main content
Glama

denoise_audio

Remove background noise from audio files to improve clarity and quality for music production, voice recordings, or any audio content.

Instructions

Remove background noise from audio

Input Schema

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

Implementation Reference

  • The main handler function that implements the denoise_audio tool logic by posting to the /denoise endpoint and returning a status response.
    private async handleDenoiseAudio(args: any) { if (!args.audio_url) { throw new McpError(ErrorCode.InvalidParams, "audio_url is required"); } const response = await this.axiosInstance.post("/denoise", { audio_url: args.audio_url, webhook_url: args.webhook_url, }); return { content: [ { type: "text", text: `Audio denoising started!\n\n${JSON.stringify(response.data, null, 2)}\n\nUse get_conversion_by_id with the task_id to check the status.`, }, ], }; }
  • The input schema definition for the denoise_audio tool, defining parameters like audio_url (required) and optional webhook_url.
    name: "denoise_audio", description: "Remove background noise from audio", inputSchema: { type: "object" as const, properties: { audio_url: { type: "string", description: "URL of the audio file to denoise", }, webhook_url: { type: "string", description: "URL for callback upon completion", }, }, required: ["audio_url"], }, },
  • src/index.ts:687-688 (registration)
    The switch case in the tool execution handler that routes calls to denoise_audio to the handleDenoiseAudio method.
    case "denoise_audio": return await this.handleDenoiseAudio(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