Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog level (debug, info, warn, error). Default: infoinfo
MEDIAENGINE_API_KEYYesYour MediaEngine API key
MEDIAENGINE_BASE_URLYesYour MediaEngine API base URL

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_article_hero_imageA

Generate a hero banner image for a blog post, article, or editorial page. Creates an AI-generated visual from the title and summary — ideal for CMS hero banners, newsletter headers, and article thumbnails. Use this when you need to create a featured image, hero graphic, or cover illustration for written content. Supports brand style hints and reference images.

generate_email_header_imageA

Create an AI-generated header image for marketing emails and newsletters. Optimised for wide-format email banners (typically 600px wide) from subject line and body text. Accepts tone and brand_style hints to stay on-brand. Returns a queued media job whose result URL can be embedded in the email template. Use this to create email graphics, newsletter banners, or promotional header visuals.

generate_social_teaser_imageA

Create a social media teaser image optimised for sharing on LinkedIn, Twitter/X, Instagram, or Substack. Auto-selects the best aspect ratio and generates a visual from article or post content. Accepts title, summary, tone, and brand_style. Use this to create social graphics, shareable images, post visuals, or og:image alternatives. Returns a queued media job.

generate_article_teaser_videoA

Create a short AI-generated teaser video (15–30s) from an article summary or social post. Produces a shareable video for driving traffic from video-first platforms like YouTube Shorts, TikTok, and Instagram Reels. Pass the article title and summary; the tool builds the generation parameters and submits an async video job. Supports tone and brand_style hints.

generate_article_narrationA

Generate audio narration of article or blog post content using text-to-speech. Creates podcast-style audio, accessibility voiceovers, and audio newsletters from written text. Pass the article title and body text; the tool selects an appropriate voice and submits an async audio job. Returns a job ID to poll for the finished audio file.

generate_imageA

Generate an image from a text prompt — AI image generation supporting Astria, DALL-E 3, and other models. Use this for any image creation request: illustrations, photos, AI art, logos, icons, graphics, or visuals. Accepts a raw prompt and optional size, quality tier, model, and Astria-specific parameters. Quality tiers: basic (fast/cheap), standard (Nano Banana Gemini 2.5), premium (GPT Image 2.0). Use the intent-specific tools (generate_article_hero_image, etc.) when you know the content type.

generate_audioA

Generate audio from text using text-to-speech (TTS) synthesis. Create voiceovers, narrations, podcast audio, or any spoken audio from text input. Supports multiple voices (alloy, echo, fable, onyx, nova, shimmer), formats (MP3, FLAC, AAC, Opus), and playback speeds. Use the intent-specific generate_article_narration tool for article content.

generate_videoA

Generate a video using AI video generation. Use this for any video creation request when the intent-specific video tools do not fit. Accepts provider-specific generation parameters directly.

wait_for_jobA

Wait for a media generation job to complete — polls until the image, video, or audio is ready or the timeout is reached. Use this to get the final result without manually calling get_job_status in a loop. Returns the completed job on success or an error if the timeout expires.

get_job_statusA

Get the status and result of a media job by its ID.

list_jobsA

List media jobs with optional filtering, sorting, and cursor-based pagination.

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/Tr1ckyMag1ca1/mcp-media-engine'

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