Skip to main content
Glama

send_video_to_meeting

Play MP4 videos in Google Meet meetings using a bot to share visual content during calls.

Instructions

Send a video to the meeting through the bot (Google Meet only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bot_idYesID of the bot that should play the video
video_urlYesHTTPS URL of the MP4 video to play

Implementation Reference

  • The main handler function for the 'send_video_to_meeting' tool. Validates bot_id and video_url (must be HTTPS MP4), sends POST request to /api/v1/bots/{bot_id}/output_video with the URL, and returns a success message.
    private async sendVideoToMeeting(args: Record<string, unknown>) {
      const bot_id = args.bot_id as string;
      const video_url = args.video_url as string;
      
      if (!bot_id || typeof bot_id !== 'string') {
        throw new Error("Missing or invalid required parameter: bot_id");
      }
      
      if (!video_url || typeof video_url !== 'string') {
        throw new Error("Missing or invalid required parameter: video_url");
      }
    
      if (!video_url.startsWith('https://')) {
        throw new Error("Video URL must start with https://");
      }
    
      if (!video_url.endsWith('.mp4')) {
        throw new Error("Video URL must end with .mp4");
      }
      
      await this.makeApiRequest(`/api/v1/bots/${bot_id}/output_video`, "POST", {
        url: video_url
      });
    
      return {
        content: [
          {
            type: "text",
            text: `✅ Video sent to meeting from bot ${bot_id}\n🎬 Video URL: ${video_url}\n\n💡 The video should now be playing in the meeting (Google Meet only)!`,
          },
        ],
      };
    }
  • Input schema for the send_video_to_meeting tool, defining properties bot_id and video_url as required strings.
    inputSchema: {
      type: "object",
      properties: {
        bot_id: {
          type: "string",
          description: "ID of the bot that should play the video",
        },
        video_url: {
          type: "string",
          description: "HTTPS URL of the MP4 video to play",
        },
      },
      required: ["bot_id", "video_url"],
    },
  • src/index.ts:358-375 (registration)
    Registration of the send_video_to_meeting tool in the list of tools returned by ListToolsRequestSchema, including name, description, and inputSchema.
    {
      name: "send_video_to_meeting",
      description: "Send a video to the meeting through the bot (Google Meet only)",
      inputSchema: {
        type: "object",
        properties: {
          bot_id: {
            type: "string",
            description: "ID of the bot that should play the video",
          },
          video_url: {
            type: "string",
            description: "HTTPS URL of the MP4 video to play",
          },
        },
        required: ["bot_id", "video_url"],
      },
    },
  • src/index.ts:425-426 (registration)
    Switch case in CallToolRequestSchema handler that dispatches to the sendVideoToMeeting method.
    case "send_video_to_meeting":
      return await this.sendVideoToMeeting(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