Skip to main content
Glama
krystian-ai

AI Image-Gen MCP Server

by krystian-ai

generate_image

Generate images from text descriptions using AI models, with control over style, size, and model selection.

Instructions

Generate images from text descriptions using AI models.

Args: prompt: Text description of the desired image style: Style preset (default, photorealistic, illustration) size: Image dimensions (1024x1024, 1792x1024, 1024x1792) n: Number of images to generate (currently only 1 supported) model: Specific model to use (dalle-3, dalle-2, gpt-image-1)

Returns: ImageGenerationResponse with image URLs and metadata

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
styleNodefault
sizeNo1024x1024
nNo
modelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_urlsYesURLs or paths to generated images
promptYesThe prompt used for generation
modelYesModel used for generation
created_atYesISO 8601 timestamp of generation
messageNoUser-friendly message about the result
Behavior3/5

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

The description discloses that only 1 image is currently supported for the 'n' parameter, which is a helpful behavioral trait. However, it omits other important details such as rate limits, content filtering, or authentication requirements. Since no annotations are provided, the description should carry more burden.

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

Conciseness4/5

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

The description is concise and well-structured with Args and Returns sections. It avoids unnecessary wording, though it could be slightly more front-loaded with the main purpose before the parameter list.

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

Completeness4/5

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, the description adequately outlines the return value. It covers all parameters and the core functionality. Minor gaps in usage guidelines and behavioral traits prevent a perfect score.

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

Parameters5/5

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

With 0% schema description coverage, the description adds complete meaning for all parameters by providing brief explanations (e.g., 'Text description of the desired image', 'Style preset (default, photorealistic, illustration)'). This fully compensates for the missing schema descriptions.

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 clearly states the tool generates images from text descriptions using AI models, which is a specific verb-resource combination. There are no sibling tools, so differentiation is not required.

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 guidance on when to use or not use this tool versus alternatives. The description implies general image generation but lacks exclusions or context for when other tools might be more appropriate.

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/krystian-ai/ai-image-gen-mcp'

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