Skip to main content
Glama

delete_bot_data

Remove all bot data including recordings and transcripts from the Attendee MCP Server to manage storage and privacy.

Instructions

Delete all data associated with a bot (recordings, transcripts, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bot_idYesID of the bot to delete data for

Implementation Reference

  • The handler function that implements the core logic for the 'delete_bot_data' tool. It validates the bot_id parameter, makes a POST request to the API endpoint `/api/v1/bots/${bot_id}/delete_data` to delete the bot's data, and returns a formatted success message.
    private async deleteBotData(args: Record<string, unknown>) { const bot_id = args.bot_id as string; if (!bot_id || typeof bot_id !== 'string') { throw new Error("Missing or invalid required parameter: bot_id"); } const data = await this.makeApiRequest(`/api/v1/bots/${bot_id}/delete_data`, "POST"); return { content: [ { type: "text", text: [ `✅ Successfully deleted all data for bot ${bot_id}`, "", "🗑️ The following data has been permanently deleted:", "• Recording files", "• Transcript data", "• Chat messages", "• Participant information", "", "⚠️ This action cannot be undone.", "💡 Bot metadata is preserved for audit purposes.", ].join("\n"), }, ], }; }
  • The tool schema definition including name, description, and inputSchema specifying the required 'bot_id' parameter.
    { name: "delete_bot_data", description: "Delete all data associated with a bot (recordings, transcripts, etc.)", inputSchema: { type: "object", properties: { bot_id: { type: "string", description: "ID of the bot to delete data for", }, }, required: ["bot_id"], }, },
  • src/index.ts:428-429 (registration)
    The switch case in the CallToolRequest handler that routes calls to 'delete_bot_data' to the deleteBotData method.
    case "delete_bot_data": return await this.deleteBotData(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/rexposadas/attendee-mcp'

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