gemini-media-mcp
gemini-media-mcp is a unified MCP server for AI-powered media generation using Google Gemini API or Vertex AI, supporting images, video, speech, and music.
Generate Images (
generate_image): Create images from text prompts with configurable aspect ratios (1:1 up to 21:9) and resolutions (1K, 2K, 4K) usingnb2orpromodel tiers.Edit Images (
edit_image): Modify an existing image using a natural language description of desired changes.Compose Images (
compose_images): Combine 1–3 reference images with a text prompt to guide style and content.Generate Video (
generate_video): Create videos from text prompts (async) via Veo 3.1 Lite, Fast, or Standard tiers; supports 4/6/8s durations, 720p/1080p/4K resolutions, and 16:9 or 9:16 aspect ratios.Animate Image (
animate_image): Convert a still image into a video clip (async) using an animation prompt.Extend Video (
extend_video): Chain an existing video with a new prompt (async); available on Fast and Standard tiers only.Check Video Status (
video_status): Poll the progress of an async video operation (pending, processing, complete, or failed).Download Video (
download_video): Download a completed video to a local file.Generate Speech/TTS (
generate_audio): Convert text to spoken audio with selectable voices (e.g., Aoede, Kore, Puck) and language codes, outputting raw PCM at 24kHz.Generate Music (
generate_music): Create AI-generated music via Lyria models from text descriptions; supports genre, BPM, key, mood, structure tags ([Verse],[Chorus], etc.), and custom lyrics, outputting 48kHz stereo MP3.List Models (
list_models): View available models with tiers, media types, supported resolutions, aspect ratios, and pricing guidance.Get Config (
get_config): Inspect the active backend (Gemini API vs. Vertex AI) and the configured media output directory.
Provides AI media generation capabilities via Google Gemini API, including image generation/editing, video creation with Veo models, text-to-speech, and music generation with Lyria.
gemini-media-mcp
Unified Go MCP server for AI media generation via Google Gemini API and Vertex AI.
Features
Image generation -- text-to-image with configurable aspect ratios and resolutions (1K/2K/4K)
Image editing -- modify existing images with natural language prompts
Multi-reference composition -- combine up to 3 reference images with style/content guidance
Video generation -- text-to-video via Veo 3.1 Lite, Fast, and Standard tiers
Image-to-video -- animate still images into video clips
Video extension -- chain clips for longer content (Fast and Standard tiers)
Text-to-speech -- generate spoken audio with configurable voices and languages
Music generation -- AI music via Lyria 3 (30s clips or full songs with vocals, structure control)
Single binary -- no runtime dependencies, runs over stdio transport
Provider abstraction -- backend-agnostic interfaces for image, video, audio, and model operations
Dual backend -- supports both Gemini API (API key) and Vertex AI (project credentials)
Related MCP server: Gemini Media MCP
Quick Start
# Install
go install github.com/mordor-forge/gemini-media-mcp/cmd/gemini-media-mcp@latest
# Configure (Gemini API; either variable name works)
export GEMINI_API_KEY="your-api-key"
# export GOOGLE_API_KEY="your-api-key"
# Or configure (Vertex AI)
export GOOGLE_CLOUD_PROJECT="your-project-id"
export GOOGLE_CLOUD_LOCATION="us-central1"
# Run directly (stdio transport)
gemini-media-mcpThen add it to your MCP client -- see MCP Client Configuration below.
Configuration
Variable | Required | Default | Description |
| Yes* | -- | Gemini API key. |
| Yes* | -- | GCP project ID for Vertex AI backend |
| No |
| GCP region for Vertex AI |
| No |
| Directory for saved media files |
*One of GOOGLE_API_KEY or GOOGLE_CLOUD_PROJECT must be set. If both are set, API key takes precedence (avoids conflicts when GOOGLE_CLOUD_PROJECT is set in the shell for other tools).
If you're unsure which backend is active, call get_config from your MCP client to confirm the selected backend and output directory.
Available Tools
Tool | Description | Type |
| Generate image from text prompt | Sync |
| Edit existing image with text prompt | Sync |
| Multi-reference image composition (up to 3) | Sync |
| Generate video from text prompt (returns operation ID) | Async |
| Animate image into video (first frame) | Async |
| Chain video clips for longer content | Async |
| Check video generation progress | Sync |
| Download completed video | Sync |
| Generate spoken audio from text (TTS) | Sync |
| Generate AI music from text description (Lyria) | Sync |
| Show available models with capabilities and pricing | Sync |
| Show current backend and configuration | Sync |
Async tools return an operation ID immediately. Use video_status to poll for completion, then download_video to retrieve the file.
Model Tiers
Image
Tier | Model | Best For | Cost |
nb2 (default) |
| Quick iterations, most tasks | ~$0.067/img |
pro |
| Final renders, complex scenes | ~$0.134/img |
Both tiers support resolutions 1K, 2K, 4K and aspect ratios 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.
Video
Tier | Model | Best For | Cost |
lite (default) |
| High-volume, drafts | $0.05/sec (720p), $0.08/sec (1080p) |
fast |
| Good quality iterations | $0.15/sec (720p/1080p), $0.35/sec (4k) |
standard |
| Final renders, 4K | $0.40/sec (720p/1080p), $0.60/sec (4k) |
Supported aspect ratios are 16:9 and 9:16. Supported durations are 4, 6, and 8 seconds. Lite supports 720p and 1080p. Fast and Standard support 720p, 1080p, and 4K. Video extension (extend_video) is only available on Fast and Standard tiers, and the extension tier must match the original generation.
Audio (TTS)
Tier | Model | Best For | Cost |
tts |
| Text-to-speech with natural voices | Standard Gemini token pricing |
The generate_audio tool converts text to spoken audio. It supports:
Voice selection -- Choose from prebuilt voices like
Aoede,Kore,Puck, and more. Default:AoedeLanguage -- Set the language code (e.g.,
en-US,it-IT,cs-CZ,de-DE). Default:en-USNatural speech -- Generates expressive, natural-sounding speech with appropriate pacing and intonation
Output is saved as raw PCM audio (audio/L16, 24kHz sample rate). The file can be played with tools like ffplay or converted to other formats:
# Play directly
ffplay -f s16le -ar 24000 -ac 1 ~/generated_media/audio-2026-04-02T12-20-12-0603.pcm
# Convert to WAV
ffmpeg -f s16le -ar 24000 -ac 1 -i audio.pcm audio.wav
# Convert to MP3
ffmpeg -f s16le -ar 24000 -ac 1 -i audio.pcm audio.mp3Music (Lyria)
Tier | Model | Output | Best For | Cost |
clip (default) |
| 30-second clips | Quick iterations, sound design | ~$0.08/song |
full |
| Up to ~3 minutes | Full songs with vocals, verses, choruses | Token-based |
The generate_music tool creates AI-generated music from text descriptions. Capabilities include:
Genre and style -- specify any genre, instruments, BPM, key/scale, mood
Structure control -- use tags like
[Verse],[Chorus],[Bridge],[Intro],[Outro]Custom lyrics -- include lyrics with section markers for vocal tracks
Timestamp control --
[0:00 - 0:10] Intro: gentle piano...for precise section timingMulti-language -- prompt language determines output language
High fidelity -- 48kHz stereo MP3 output
All generated music is watermarked with SynthID.
Example prompts:
# Instrumental
"A gentle acoustic guitar melody in C major, 90 BPM, calm and peaceful indie folk"
# With structure
"[Intro] Ambient synth pad, ethereal
[Verse] Lo-fi hip-hop beat, mellow piano chords, vinyl crackle
[Chorus] Uplifting, add strings and gentle drums
[Outro] Fade out with reverb"
# With lyrics
"Upbeat pop song, 120 BPM, major key
[Chorus] We're dancing in the light / Everything feels right / Under stars so bright tonight"You can pass the tier name (lite, fast, standard, nb2, pro, tts, clip, full) or a raw model ID directly.
MCP Client Configuration
Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"gemini-media": {
"command": "gemini-media-mcp",
"env": {
"GOOGLE_API_KEY": "your-api-key",
"MEDIA_OUTPUT_DIR": "/path/to/output"
}
}
}
}Use either GOOGLE_API_KEY or GEMINI_API_KEY in the env block above; both are accepted.
Or if building from source:
{
"mcpServers": {
"gemini-media": {
"command": "/path/to/gemini-media-mcp",
"env": {
"GOOGLE_API_KEY": "your-api-key"
}
}
}
}Companion Skills for Claude Code
The skills/ directory contains Claude Code skills that provide interactive workflows on top of the MCP tools. Each skill guides Claude through prompt engineering, model selection, and iterative refinement for a specific media type.
Skill | Directory | Description |
gemini-image-gen |
| Image generation, editing, and multi-reference composition |
video-gen |
| Video generation with async polling, image-to-video, extension |
music-gen |
| Music generation with structure tags, lyrics, genre control |
tts-gen |
| Text-to-speech with voice and language selection |
To install a skill, copy its directory to ~/.claude/skills/:
cp -r skills/video-gen ~/.claude/skills/
cp -r skills/music-gen ~/.claude/skills/
cp -r skills/tts-gen ~/.claude/skills/
cp -r skills/gemini-image-gen ~/.claude/skills/Skills are optional — the MCP tools work without them. But the skills add prompt engineering guidance, model tier recommendations, and interactive review workflows that significantly improve output quality.
Building from Source
git clone https://github.com/mordor-forge/gemini-media-mcp.git
cd gemini-media-mcp
go build ./cmd/gemini-media-mcp/The binary will be created at ./gemini-media-mcp.
To run tests:
go test ./...Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/your-feature)Make your changes and add tests
Run
go test ./...andgo vet ./...Commit your changes
Open a pull request against
main
License
Available Tools
12 toolsanimate_imageA
Animate a still image into a video clip. Provide the path to a source image and a prompt guiding the animation. This is an async operation — use video_status to poll progress and download_video to retrieve the result.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description guiding the animation | |
| imagePath | Yes | Path to image to use as the first frame | |
| model | No | Model tier: lite (default), fast, or standard | |
| aspectRatio | No | Aspect ratio (16:9 or 9:16) | |
| duration | No | Clip duration in seconds (4, 6, or 8) |
Output Schema
| Name | Required | Description |
|---|---|---|
| operationId | Yes | |
| model | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full burden. It discloses the async behavior and polling requirement, but lacks details on error handling, rate limits, or what happens on invalid inputs. This is adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences cover purpose, required inputs, async nature, and next steps. No redundancy, front-loaded with the core action. Highly efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the presence of an output schema (not shown), the description provides enough context for correct usage: calls to video_status and download_video are mentioned. However, it does not cover error handling or output format specifics.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, so parameters are well-described in the schema. The description adds only minor context (e.g., 'prompt guiding the animation'), not significantly improving over the schema. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Animate a still image into a video clip.' It specifies the required inputs (image path and prompt) and distinguishes itself from sibling tools like video_status and download_video by noting it is the async start.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly explains the async nature and guides the agent to use video_status and download_video for results. However, it does not provide alternative scenarios or when not to use this tool versus other similar tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compose_imagesA
Compose a new image using 1-3 reference images and a text prompt for style/content guidance.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description guiding the composition | |
| referenceImages | Yes | Paths to 1-3 reference images for style/content guidance | |
| model | No | Model tier: nb2 (default) or pro | |
| aspectRatio | No | Aspect ratio for the output |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| model | Yes | |
| mimeType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must fully disclose behavior. It only says 'compose' with references and prompt, but fails to explain side effects (e.g., file creation), permission needs, or whether the process is synchronous. This is insufficient for a transformation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of 20 words, front-loading the key action. Every word is functional, with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (4 parameters, composition task) and the presence of an output schema, the description should explain the composition process, constraints, or default behavior. It does not, leaving gaps about how images are merged, resolution limits, or effect of the prompt.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema coverage, baseline is 3. The description adds minimal value beyond the schema: it repeats that reference images are 1-3 but does not elaborate on model or aspectRatio. No extra context or constraints are provided.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: composing a new image using reference images and a text prompt. The verb 'compose' and resource 'image' are specific, and it distinguishes from sibling tools like generate_image (no reference images) and edit_image (modifies existing).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool should be used when 1-3 reference images are available and textual guidance is wanted. However, it lacks explicit when-not-to-use guidance or comparison to alternatives like generate_image or animate_image.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
download_videoA
Download a completed video generation to a local file. Only call this after video_status reports the operation is complete.
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | Operation ID from a previous generate_video, animate_image, or extend_video call |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| operationId | Yes | |
| model | No | |
| duration | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description adequately conveys that this is a download (non-destructive) operation and requires a completed status. Lacks details on auth or rate limits but is sufficient for a simple tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose, followed by a precondition. No wasted words; every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one parameter and an output schema, the description covers the core usage and precondition. No missing information given the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter 'operationId' is fully described in the input schema, which already explains its origin (from generate_video, animate_image, or extend_video). The description adds no further meaning, so baseline 3 applies given 100% schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the action (download) and resource (completed video generation). Distinguishes from siblings like generate_video and video_status by specifying it is for downloading completed videos only.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs to call only after video_status reports completion, providing a clear precondition. Though it does not name alternatives, the instruction is specific enough to prevent misuse.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
edit_imageB
Edit an existing image using a text prompt. Provide the path to the source image and a description of the desired changes.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the edit to apply | |
| imagePath | Yes | Path to the image to edit | |
| model | No | Model tier: nb2 (default) or pro |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| model | Yes | |
| mimeType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations exist, so the description must cover behavioral traits. It only says 'edit' without disclosing side effects like file overwriting, return behavior, or permission requirements. The mutation nature is implied but not detailed, leaving significant gaps.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence (18 words) that front-loads the verb and resource, with zero wasted words. Every part earns its place, achieving maximum conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given an output schema exists (so return values need not be explained) and only 3 simple parameters, the description is largely sufficient. It omits details like model default but schema covers it. For a straightforward tool, it is nearly complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%; baseline is 3. The description adds 'Provide the path to the source image and a description of the desired changes', which modestly rephrases prompt and imagePath but adds no new semantics for the model parameter. It does not exceed baseline value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Edit an existing image using a text prompt', specifying the verb (edit), resource (existing image), and method (text prompt). It distinguishes from sibling tools like generate_image (creates new) and animate_image (animates), making the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when an existing image needs modification but provides no explicit guidance on when to use this tool versus alternatives like generate_image, animate_image, or compose_images. No when-not or exclusion criteria are mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
extend_videoA
Extend a previously generated video with a continuation prompt. Requires the operation ID from the original generation. This is an async operation — use video_status to poll progress and download_video to retrieve the result.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description for the continuation | |
| operationId | Yes | Operation ID of the previous video generation | |
| model | No | Model tier (must match original). Standard and Fast only, Lite does not support extension |
Output Schema
| Name | Required | Description |
|---|---|---|
| operationId | Yes | |
| model | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It discloses the async operation and the need for a matching model. It does not detail side effects or error states, but the workflow is transparently described.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two concise sentences immediately convey the tool's purpose, prerequisite, and async workflow without any redundant or extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the core workflow (async, poll, download) and important constraints (model compatibility). Since an output schema exists, the omission of return value details is acceptable. Minor gaps in error handling or status polling frequency are not critical.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds valuable semantics: that the model must match the original and that Lite does not support extension. This goes beyond the schema's basic descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description precisely states it extends a previously generated video using a continuation prompt and requires an operation ID. It clearly distinguishes from siblings like generate_video or animate_image by specifying the prerequisite operation ID.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It explicitly mentions the requirement of the operation ID and the async nature, directing to video_status and download_video for polling and retrieval. It does not explicitly exclude other use cases or provide when-not-to-use scenarios, but the context is clear enough.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_audioA
Generate speech audio from a text prompt using Google's Gemini TTS. Supports voice selection and language configuration.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text to convert to speech or instructions for audio generation | |
| voiceName | No | Prebuilt voice name (e.g. Aoede, Kore, Puck) | |
| languageCode | No | Language code (e.g. en-US, it-IT, cs-CZ) |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| model | Yes | |
| mimeType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must disclose behavioral traits. It fails to mention important details such as cost, rate limits, support for long texts, synchronous vs async processing, or output format/quality. The description only covers basic functionality.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence that conveys the core functionality without unnecessary words. Every phrase earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
While the description covers the primary purpose and key parameters, it lacks completeness for a tool with no annotations. It omits behavioral context, error handling, and prerequisites. However, the presence of an output schema partially compensates for omitted return value details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 100% schema description coverage, the baseline is 3. The description adds minimal semantic value by mentioning 'voice selection and language configuration,' but does not provide examples, constraints, or interaction details beyond what the schema already offers.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it generates speech audio from text, specifies the underlying service (Google's Gemini TTS), and mentions configurable options (voice, language). This distinguishes it clearly from sibling tools like generate_music or generate_video.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for speech generation but provides no explicit guidance on when to use this tool over alternatives (e.g., other audio generation tools) or any exclusions or prerequisites. It lacks 'when not to use' or references to sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_imageB
Generate an image from a text prompt using Google's Gemini image models.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the image to generate | |
| model | No | Model tier: nb2 (default) or pro. Raw model IDs also accepted | |
| aspectRatio | No | Aspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9) | |
| resolution | No | Output resolution (1K, 2K, 4K) |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| model | Yes | |
| mimeType | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden for behavioral disclosure. It does not mention whether generation is synchronous, costs, safety filters, or model behavior differences between 'nb2' and 'pro'.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, 12 words, front-loaded with the primary action. No redundant or extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate given schema covers parameters and output schema likely documents returns. But missing behavioral context like typical latency, cost, or model selection guidance.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% coverage with descriptions for each parameter. Description adds no additional meaning beyond schema, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool generates an image from a text prompt using Gemini models. It specifies the resource (image) and verb (generate), but does not explicitly differentiate from sibling tools like edit_image or animate_image.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives. The description does not mention prerequisites, limitations, or mention use cases that favor other tools (e.g., editing, animation).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_musicA
Generate music from a text prompt using Google's Lyria models. Supports genre, instruments, BPM, key, mood, structure tags like [Verse] [Chorus] [Bridge], and custom lyrics.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the music to generate. Supports genre, instruments, BPM, key, mood, structure tags like [Verse] [Chorus] [Bridge], and custom lyrics | |
| model | No | Model: clip (default, 30s clips) or full (up to 3 minutes, full songs with structure control) |
Output Schema
| Name | Required | Description |
|---|---|---|
| filePath | Yes | |
| model | Yes | |
| mimeType | Yes | |
| lyrics | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided; the description only describes what the tool generates (music) and supported prompt features. It does not disclose behavioral traits such as whether the operation is destructive, required authentication, rate limits, or output format beyond the existence of an output schema.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two precise sentences with no extraneous words. The core action and supported features are front-loaded, making it efficient for an agent to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given that an output schema exists, the description need not explain return values. It covers the input capabilities (genres, structure tags, lyrics) and model choices. Could mention prerequisites or limitations, but is largely adequate for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers 100% of parameters. The tool description repeats the prompt details found in the schema and adds no new meaning. The model parameter is already fully described in the schema. Baseline 3 due to full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Specifically states 'Generate music from a text prompt using Google's Lyria models,' clearly identifying the verb, resource, and tool. Distinguishes from sibling tools like generate_image or generate_audio by focusing on music generation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Clear that this tool is for music generation from text, but does not explicitly state when not to use it or mention alternatives like generate_audio. Context from sibling tools makes the distinction obvious, so the guidance is implicit rather than explicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_videoB
Generate a video from a text prompt using Google's Gemini video models. This is an async operation — use video_status to poll progress and download_video to retrieve the result.
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Text description of the video to generate. Include audio cues for sound design | |
| model | No | Model tier: lite (default/cheapest), fast, or standard (highest quality). Raw model IDs also accepted | |
| aspectRatio | No | Aspect ratio (16:9 or 9:16) | |
| resolution | No | Output resolution: 720p, 1080p, or 4k (lite supports 720p/1080p only) | |
| duration | No | Clip duration in seconds (4, 6, or 8) |
Output Schema
| Name | Required | Description |
|---|---|---|
| operationId | Yes | |
| model | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden for behavioral disclosure. It only reveals the async operation. Missing information includes authentication requirements, default behavior, rate limits, cost implications, and whether the tool is destructive or creates a temporary resource. This is insufficient for a generation tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two sentences with no superfluous words. The first sentence states the core purpose, and the second provides critical workflow guidance. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, async operation) and the presence of an output schema, the description is adequate but not complete. It covers the async flow but omits information about immediate return values (likely a job ID), error handling, and expected timeouts. The output schema may fill some gaps, but the description could offer a brief hint.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage with detailed explanations for each parameter. The tool description does not add any additional semantics beyond the schema; it merely summarizes the overall task. Baseline score of 3 is appropriate as the schema already provides the necessary information.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool generates a video from a text prompt using Gemini models. The verb 'generate' and resource 'video' are specific. While it does not explicitly differentiate from sibling tools like animate_image or generate_image, it does reference related tools for the async workflow.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains the async nature and directs the user to video_status for polling and download_video for retrieval, which provides good usage context. However, it does not mention when not to use this tool (e.g., for image animation) or list alternatives, relying on sibling context provided externally.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_configA
Show current server configuration including active backend and output directory.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| backend | Yes | |
| outputDir | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description implies a read-only operation, but with no annotations, it does not disclose additional behavioral traits like authentication needs, rate limits, or side effects. Basic transparency is present, but gaps remain.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It efficiently conveys the tool's purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the main aspects of the tool given no parameters and an output schema. However, it only lists examples ('including') rather than a comprehensive overview, leaving minor ambiguity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are no parameters, so schema coverage is 100% vacuously. The description adds value by specifying what the output includes (active backend, output directory), which aids understanding beyond the empty schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool shows current server configuration, mentioning specific elements like active backend and output directory. This distinguishes it from sibling tools that generate or manipulate media.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The purpose is clear, but no explicit guidance is given for when not to use or alternatives. Since siblings are all different functions, the usage context is implied, but formal guidelines are missing.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_modelsA
List the models supported by this server with their tiers, capabilities, supported resolutions, and pricing guidance.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
Output Schema
| Name | Required | Description |
|---|---|---|
| models | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, and the description adds minimal behavioral context beyond listing information. It does not disclose auth requirements, rate limits, or that it is read-only (though implied). Adequate but not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence, front-loaded with 'List the models', includes specific details without unnecessary words. Highly concise and well-structured.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With zero parameters and an output schema, the description sufficiently describes the tool's purpose and return content. Complete for a simple list tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
No parameters exist, so baseline 4 applies. The description is not required to add parameter meaning.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly states the verb 'List' and resource 'models supported by this server', and specifies included details (tiers, capabilities, supported resolutions, pricing guidance), distinguishing it from sibling generation tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Does not explicitly state when to use vs alternatives, but the self-explanatory name and description imply it is for model discovery before using generation tools. No exclusions mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
video_statusA
Check the status of an async video generation operation. Returns progress info (pending, processing, complete, or failed).
| Name | Required | Description | Default |
|---|---|---|---|
| operationId | Yes | Operation ID from a previous generate_video, animate_image, or extend_video call |
Output Schema
| Name | Required | Description |
|---|---|---|
| operationId | Yes | |
| done | Yes | |
| progress | Yes | |
| error | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description covers return states but not side effects, idempotency, rate limits, or auth needs. Minimal but adequate for a basic status check.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with purpose, no redundant words. Every sentence adds value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Simple tool with one parameter and output schema present. Description sufficiently explains purpose and return semantics for the context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and already describes the parameter fully. The tool description does not add extra meaning beyond what the schema provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb ('check') and resource ('status of an async video generation operation') and lists possible states. It is specific and distinguishes from sibling tools like generate_video.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
It implies usage after an async operation but does not explicitly state when to avoid it or compare to siblings like download_video. No exclusions or alternatives mentioned.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
12 tool updates
- First observed
animate_image - First observed
compose_images - First observed
download_video - First observed
edit_image - First observed
extend_video - First observed
generate_audio - First observed
generate_image - First observed
generate_music - First observed
generate_video - First observed
get_config - First observed
list_models - First observed
video_status
TDQS
Each tool targets a distinct media type and action: image generation, editing, composition, animation; video generation, extension, status check, download; audio and music generation; plus utility tools for config and model listing. No overlaps in purpose.
Most tool names follow a clear verb_noun pattern (e.g., generate_image, download_video). The only exception is video_status, which reverses the pattern to noun_verb, but it's still easily understood and doesn't cause confusion.
12 tools is well-scoped for a media generation server covering images, video, audio, and music. Each tool serves a clear purpose without redundancy, and the async video workflow is handled with dedicated tools.
The tool surface covers key operations for each media type: create, edit, compose (images), generate, extend, monitor, download (video), and generate (audio, music). The async video workflow is fully supported, and utility tools provide necessary context. No obvious gaps.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for Google Veo AI video generation
AI image, video, voice and music generation over MCP, routed to Veo 3.1, Seedance 2.0 and more.
MCP server for Qwen Image 3 AI image generation
MCP server for Hailuo (MiniMax) AI video generation
Related MCP Servers
- AlicenseBqualityBmaintenanceAI 3D model generation and post-processing MCP server — text/image/multiview-to-3D via Tripo, retopology, format conversion (GLB/FBX/OBJ/STL/USDZ), and stylization. Single Go binary, 10 tools.296Apache 2.0
- AlicenseNot gradedqualityAmaintenanceMCP server for generating images and videos using Google Gemini and VEO models, with support for multiple AI models and credential modes.1Apache 2.0
- AlicenseAqualityAmaintenanceProduction-grade MCP server for image and video understanding and generation across Gemini, OpenAI, and Grok.54Apache 2.0
- FlicenseBqualityDmaintenanceA production-ready MCP server that enables Claude and other LLMs to generate images and videos using Google's Gemini AI models (Gemini 2.0 Flash and Veo 2.0).32-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/mordor-forge/gemini-media-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server