Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_API_KEYYesYour Google AI API key for Gemini (get from https://aistudio.google.com/apikey)

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_blog_image

Generate images for blog posts and social media using AI.

Available formats:

  • ghost-banner: Ghost Blog Banner (1200x675)

  • ghost-feature: Ghost Feature Image (HD) (2000x1125)

  • medium-ghost-spooky: Medium Ghost Spooky (2560x1440)

  • medium-banner: Medium Banner (1400x788)

  • substack-header: Substack Header (1456x816)

  • wordpress-featured: WordPress Featured (1200x675)

  • instagram-post: Instagram Post (1080x1080)

  • instagram-story: Instagram Story (1080x1920)

  • instagram-landscape: Instagram Landscape (1080x608)

  • twitter-post: Twitter/X Post (1200x675)

  • twitter-header: Twitter/X Header (1500x500)

  • linkedin-post: LinkedIn Post (1200x628)

  • linkedin-banner: LinkedIn Banner (1584x396)

  • facebook-post: Facebook Post (1200x630)

  • facebook-cover: Facebook Cover (820x312)

  • youtube-thumbnail: YouTube Thumbnail (1280x720)

  • youtube-banner: YouTube Banner (2560x1440)

  • square: Square (1024x1024)

  • square-hd: Square HD (2048x2048)

  • landscape: Landscape (1920x1080)

  • landscape-4k: Landscape 4K (3840x2160)

  • portrait: Portrait (1080x1920)

Examples:

  • Generate a Ghost blog banner: { "prompt": "A serene mountain landscape at sunset", "format": "ghost-banner" }

  • High quality Instagram post: { "prompt": "Minimalist coffee cup on marble", "format": "instagram-post", "quality": "high" }

  • YouTube thumbnail with title: { "prompt": "Exciting tech reveal", "format": "youtube-thumbnail", "title": "New iPhone 17 Review" }

IMPORTANT: Always specify an outputPath to save the image to a meaningful location. If omitted, images are saved to a generated-images/ directory in the current working directory with a timestamped filename.

list_image_formats

List all available image format presets with their dimensions and use cases.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/12-days-of-shipmas-2025/day-1-image-generation-mcp'

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