Skip to main content
Glama

Create Image Prompt

create_prompt

Generate optimized English prompts for Flux Klein image model from your description. Specify theme, style, or mood to get a well-structured prompt that follows best practices, ready for image generation.

Instructions

Generates an optimized English prompt for Flux Klein image generation model based on your description. Describe what you want (theme, style, mood) and get back a well-structured prompt following best practices. The prompt will be universal (no gender/count specifics).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lengthNoPrompt length: short (10-30 words) for quick concepts, medium (30-80 words) for most tasks, long (80-300 words) for complex scenesmedium
descriptionYesDescribe what you want to generate: theme, style, mood, setting. Can be in any language.
Behavior4/5

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

The description reveals behavior beyond the schema: it optimizes the input into an English prompt, follows 'best practices,' and removes gender/count specifics ('universal'). Since no annotations are provided, this is helpful. It doesn't contradict any annotations.

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 concise, with three short sentences that are front-loaded with the main action. Each sentence contributes distinct value: function, usage suggestion, and output trait. No redundant wording.

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 tool's simplicity (2 params, no output schema), the description covers the core behavior and output. It specifies the model (Flux Klein) and the result (optimized prompt). It could explicitly mention returning the prompt text and note its role as a precursor to generate_image, but these are minor 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?

The input schema already includes descriptions for both parameters, including the length enum with word ranges and the description parameter with theme/style/mood/setting examples. The tool description adds little new parameter information—it repeats 'theme, style, mood' but omits 'setting' and 'any language'. Thus, schema does the heavy lifting.

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 primary action: 'Generates an optimized English prompt for Flux Klein image generation model based on your description.' This specifies the verb, resource, and target model, differentiating it from sibling tools like generate_image.

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 indicates when to use it: when you have a description and want a well-structured prompt. However, it does not explicitly mention alternatives or when not to use it (e.g., if you already have a prompt, use generate_image directly). The context that it is for the Flux Klein model provides guidance.

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/curlysasha/CyberPhotoBooth_MCP'

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