Skip to main content
Glama
Angad-2002

Attendee MCP Server

by Angad-2002

send_image_to_meeting

Display images in Google Meet meetings using a bot. Send image URLs to share visual content during video conferences.

Instructions

Send an image to the meeting through the bot (Google Meet only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bot_idYesID of the bot that should display the image
image_urlYesHTTPS URL of the image to display

Implementation Reference

  • The handler function that executes the tool logic: validates bot_id and image_url, calls the API to send the image, and returns a success message.
    private async sendImageToMeeting(args: Record<string, unknown>) {
      const bot_id = args.bot_id as string;
      const image_url = args.image_url as string;
      
      if (!bot_id || typeof bot_id !== 'string') {
        throw new Error("Missing or invalid required parameter: bot_id");
      }
      
      if (!image_url || typeof image_url !== 'string') {
        throw new Error("Missing or invalid required parameter: image_url");
      }
    
      if (!image_url.startsWith('https://')) {
        throw new Error("Image URL must start with https://");
      }
      
      await this.makeApiRequest(`/api/v1/bots/${bot_id}/output_image`, "POST", {
        url: image_url
      });
    
      return {
        content: [
          {
            type: "text",
            text: `βœ… Image sent to meeting from bot ${bot_id}\nπŸ“· Image URL: ${image_url}\n\nπŸ’‘ The image should now be displayed in the meeting (Google Meet only)!`,
          },
        ],
      };
    }
  • Input schema defining parameters bot_id and image_url for the tool.
    inputSchema: {
      type: "object",
      properties: {
        bot_id: {
          type: "string",
          description: "ID of the bot that should display the image",
        },
        image_url: {
          type: "string",
          description: "HTTPS URL of the image to display",
        },
      },
      required: ["bot_id", "image_url"],
    },
  • src/index.ts:349-366 (registration)
    Tool registration in the listTools response, defining name, description, and input schema.
    {
      name: "send_image_to_meeting",
      description: "Send an image to the meeting through the bot (Google Meet only)",
      inputSchema: {
        type: "object",
        properties: {
          bot_id: {
            type: "string",
            description: "ID of the bot that should display the image",
          },
          image_url: {
            type: "string",
            description: "HTTPS URL of the image to display",
          },
        },
        required: ["bot_id", "image_url"],
      },
    },
  • src/index.ts:434-435 (registration)
    Switch case in CallToolRequest handler that dispatches to the sendImageToMeeting method.
    case "send_image_to_meeting":
      return await this.sendImageToMeeting(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/Angad-2002/attendee-mcp'

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