Skip to main content
Glama

openai_generate_image

Generate images from a text prompt using DALL-E. Specify model, size, quality, and style options for customized output.

Instructions

Generate images from a text prompt using DALL-E.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyYes
promptYes
modelNodall-e-3 or dall-e-2 (default: dall-e-3)
nNoNumber of images to generate
sizeNo1024x1024, 1792x1024, or 1024x1792 for DALL-E 3
qualityNostandard or hd (DALL-E 3 only)
styleNonatural or vivid (DALL-E 3 only)
response_formatNourl or b64_json (default: url)
Behavior1/5

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

With no annotations provided, the description fails to disclose any behavioral traits. It does not mention authentication requirements (beyond having api_key as a required parameter), rate limits, costs, or any side effects. The minimal statement 'using DALL-E' hints at the model but provides insufficient transparency.

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, concise sentence that immediately conveys the tool's purpose. It is front-loaded and efficient, with no unnecessary words.

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

Completeness1/5

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

Given the tool's complexity (8 parameters, no output schema) and the abundance of sibling image generation tools, the description is far from complete. It lacks information about supported DALL-E versions, output format, error handling, and parameter interactions. The absence of any return value description is a significant gap.

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 description adds minimal value beyond the input schema. It references 'text prompt' which maps to the prompt parameter, but the schema already covers most parameters with descriptions (75% coverage). The description does not explain api_key or provide additional context for other parameters.

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 action (generate), the resource (images), and the method (from a text prompt using DALL-E). It effectively distinguishes this tool from other image generation tools in the sibling list, such as those from Stability AI or Higgsfield.

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?

The description provides no guidance on when to use this tool versus alternatives like stability_text_to_image or higgsfield_generate_image. It lacks any contextual cues for selecting DALL-E over other models.

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/malamutemayhem/unclick'

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