Skip to main content
Glama

AdGPT

Upload a product image

adgpt_upload_product_image

Upload a product photo to AdGPT from the local machine — pass an absolute file_path (preferred) OR data_base64 (+ filename). Validates it is a usable product image (min 100×100px, aspect between 1:4 and 4:1), stores it, and returns {url, width, height}; pass that url in user_instructions.uploaded_images when creating a campaign (up to 5). Formats: jpeg/png/webp/gif/bmp, max 10MB. Works before login too.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filenameNoFilename for data_base64 uploads (extension sets the type), e.g. product.png.
file_pathNoAbsolute path to the image on the machine running the MCP server.
data_base64NoRaw base64 image data (no data: prefix). Alternative to file_path.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources