Skip to main content
Glama

remove_meeting_bot

Remove a bot from a meeting by specifying its ID to manage automated meeting participants.

Instructions

Remove a bot from a meeting

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bot_idYesID of the bot to remove

Implementation Reference

  • The handler function for remove_meeting_bot tool. Validates bot_id, makes a POST request to `/api/v1/bots/{bot_id}/leave` API endpoint, and returns a formatted success message with updated bot status.
    private async removeMeetingBot(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}/leave`, "POST", {});
    
      return {
        content: [
          {
            type: "text",
            text: `✅ Successfully requested bot ${bot_id} to leave the meeting.\n\n📊 Updated Status:\n${this.formatBotStatus(data)}`,
          },
        ],
      };
    }
  • The tool schema registration in the list of tools, defining name, description, and input schema requiring 'bot_id'.
    {
      name: "remove_meeting_bot",
      description: "Remove a bot from a meeting",
      inputSchema: {
        type: "object",
        properties: {
          bot_id: {
            type: "string",
            description: "ID of the bot to remove",
          },
        },
        required: ["bot_id"],
      },
  • src/index.ts:407-408 (registration)
    The switch case registration that dispatches tool calls named 'remove_meeting_bot' to the removeMeetingBot handler method.
    case "remove_meeting_bot":
      return await this.removeMeetingBot(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