Skip to main content
Glama
genoooool

@genoooool/mcp-image-generator

by genoooool

generate_image

Generate AI images from text prompts using configurable providers. Set resolution, aspect ratio, and output directory to get the image you need.

Instructions

Generate an image using AI models. Supports multiple providers (Yunwu, Gemini Official, Custom). Provider is configured via IMAGE_PROVIDER environment variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoModel to use for generation (default: gemini-3-pro-image-preview)
promptYesThe prompt for image generation
out_dirNoDirectory to save the image (optional)
filenameNoCustom filename (optional, default: timestamp.png)
image_sizeNoResolution of the generated image (default: 2K)
aspect_ratioNoAspect ratio of the generated image (default: 1:1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations and no output schema, the description carries the full burden for behavioral disclosure. It reveals that the provider is set via an environment variable, but it does not describe the return format, whether the image is saved or returned, file side effects, or error/ failure behavior. This leaves an agent with significant uncertainty about post-call outcomes.

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 tight sentences lead with the action and then convey the critical environment-variable provider configuration. No filler or redundant restatement of the tool name is present.

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?

The description covers purpose and provider configuration, and the schema covers all parameters. However, with no output schema, it should clarify what the agent receives after generation (e.g., a file path, URL, or binary) and any important side effects such as persistent file writes. These gaps make it only partially complete.

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 high-coverage baseline applies. The description adds no parameter-level detail beyond what the schema already provides, meriting neither penalty nor bonus.

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 uses a clear verb and resource ('Generate an image using AI models') and mentions multiple providers. Since there are no sibling tools and no differentiation is needed, it does not reach the 5-level distinction criterion, but the core purpose is unambiguous.

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

Usage Guidelines3/5

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

No explicit alternatives or when/ when-not conditions are provided, but the description implies the tool is the image-generation entry point. The provider configuration note is useful context but does not explain when to select one provider over another.

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

Deploy Server

Other Tools