Skip to main content
Glama
mordor-forge

gemini-media-mcp

generate_image

Create images from text descriptions using Google's Gemini AI models. Specify prompts, aspect ratios, and resolutions to generate custom visual content.

Instructions

Generate an image from a text prompt using Google's Gemini image models.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the image to generate
modelNoModel tier: nb2 (default) or pro. Raw model IDs also accepted
aspectRatioNoAspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9)
resolutionNoOutput resolution (1K, 2K, 4K)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYes
modelYes
mimeTypeYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but only states basic functionality. It lacks details on behavioral traits such as rate limits, authentication needs, output format, error handling, or cost implications, which are critical for a generative AI tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It front-loads the core purpose ('Generate an image from a text prompt') and adds necessary context ('using Google's Gemini image models'), making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (generative AI with multiple parameters) and no annotations, the description is minimal. An output schema exists, so return values needn't be explained, but key behavioral aspects like safety filters, latency, or usage constraints are missing, making it adequate but with clear gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema fully documents all parameters. The description adds no additional meaning beyond implying text-to-image generation, which is already clear from the schema. Baseline 3 is appropriate as the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('generate') and resource ('image'), specifying it uses Google's Gemini image models from a text prompt. It distinguishes from siblings like 'animate_image' or 'edit_image' by focusing on generation from text, but doesn't explicitly contrast with all alternatives (e.g., 'compose_images' might also create images).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites, limitations, or compare with siblings like 'generate_video' or 'edit_image', leaving the agent to infer usage based on the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/mordor-forge/gemini-media-mcp'

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