Skip to main content
Glama
dev66613

openrouter-image-gen-mcp

by dev66613

generate_image

Need an image? Describe style, aspect ratio, and composition in a prompt to generate it with Google Gemini, optionally saving the output locally.

Instructions

Generate images using Google Gemini API. Control image style, aspect ratio, and composition through descriptive text in your prompt.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the image to generate. Include style details (e.g., "photorealistic", "oil painting"), aspect ratio (e.g., "square image", "landscape"), and composition details directly in the prompt.
filenameNoBase filename for saved image (without extension)
save_to_fileNoSave generated image to local file
show_full_responseNoShow full response including base64 data (default: false)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. It states that images are generated via Gemini API but does not disclose what the tool returns by default, whether it saves files, whether authentication or costs are involved, or any side effects. The schema hints at save_to_file and show_full_response, but the description itself adds little behavioral context.

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?

Two concise sentences with no wasted words. The primary action is front-loaded, and the second sentence gives practical prompt-construction guidance without bloating the description.

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?

For a tool with four parameters fully documented in the schema, the description covers the core invocation guidance. However, without annotations or an output schema, it leaves gaps around default return behavior, file-saving semantics, and operational prerequisites such as API access.

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 already documents all four parameters. The description reinforces the prompt guidance about style, aspect ratio, and composition, but it does not add meaning beyond what the schema already provides.

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

Purpose5/5

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

The description opens with a specific verb and resource: 'Generate images using Google Gemini API.' It clearly differentiates from the sibling tool list_models, which serves a different purpose, and adds useful guidance that style, aspect ratio, and composition can be controlled through the prompt.

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

Usage Guidelines4/5

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

The description clearly implies the tool is for generating images, so an agent can infer when to call it. It does not explicitly discuss when not to use it, but no competing image-generation sibling exists among the listed tools, so the omission is minor.

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/dev66613/openrouter-image-gen-mcp'

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