Skip to main content
Glama

generate_image

Generate AI images from text prompts. Provide up to four prompts and choose an aspect ratio; each prompt yields one image.

Instructions

Generate images based on a list of prompts. Each prompt in the list generates one image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ratioYesThe aspect ratio for all images
promptsYesA list of detailed prompts. 1 to 4 prompts allowed.
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It does add the useful fact that each prompt generates exactly one image, but it omits critical details such as what the tool returns (e.g., image URLs), potential time delays, rate limits, or failure behavior. For a generation tool, this is 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 extremely concise: two short sentences with no redundant information. Every phrase adds meaning, and the most important detail (the one-to-one mapping) is front-loaded. This is an model of efficient writing.

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?

With no annotations and no output schema, the description is expected to provide more context. It adequately explains the core function and the prompts parameter behavior, but it fails to mention the return value format, any side effects, or when to use this tool relative to 'optimize_prompt'. For a straightforward 2-parameter tool, the description is minimally adequate but not complete.

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

Parameters4/5

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

The input schema already provides full descriptions for both parameters (prompts and ratio), so the baseline is 3. The description adds value by clarifying that the prompts array maps one-to-one to generated images, which is not explicitly stated in the schema. This enrichment justifies a score above baseline, though it does not deeply explain ratio semantics.

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's function: generating images from a list of prompts. It uses a specific verb ('generate') and resource ('images'), and the second sentence adds the key behavior that each prompt yields one image. This distinguishes it from the sibling tool 'optimize_prompt', which focuses on prompt refinement rather than image generation.

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?

The description implies the tool should be used when image generation is needed from text prompts, but it provides no explicit guidance on when to prefer this tool over 'optimize_prompt' or when not to use it. There is no mention of prerequisites, alternative workflows, or exclusions. The context is clear but not elaborated.

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/Komorebi-yaodong/ketchup-draw-mcp-server'

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