Skip to main content
Glama

square_image

Generate a 1024x1024 AI image from a text prompt using OpenAI or Replicate models. Specify output directory and customize quality settings for tailored image creation.

Instructions

Generate a square AI image (1024x1024) - shortcut for generate_ai_image

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesThe text prompt for image generation
modelNoAI model to use for generation (optional)
outputNoOutput file path (optional)
output_dirYesAbsolute path direcotry where to save the image (use current folder root by default)
qualityNoImage quality (low, medium, high, auto) - OpenAI onlyhigh
uselibincliNoUse library imports instead of CLI (default: false)
Behavior2/5

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

No annotations are provided, so the description carries full burden. While it mentions the fixed 1024x1024 output size, it doesn't disclose important behavioral aspects like whether this is a read-only or write operation, potential rate limits, authentication requirements, or what happens when the image is generated (e.g., where it's saved, format, etc.). For a tool that presumably creates files, this is insufficient behavioral disclosure.

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 (one sentence) and front-loaded with the core purpose. Every word earns its place by specifying dimensions and providing the sibling tool comparison. No wasted words or redundancy.

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?

Given no annotations and no output schema, the description should do more to explain what this tool returns or produces. While it mentions the fixed square dimensions, it doesn't describe the output format, file location, or what happens after generation. For an image generation tool with 6 parameters, this leaves significant gaps in understanding the tool's complete behavior.

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 schema already documents all 6 parameters thoroughly. The description doesn't add any parameter-specific information beyond what's in the schema. This meets the baseline expectation when schema coverage is complete.

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 specific action ('Generate a square AI image') with precise dimensions (1024x1024) and explicitly distinguishes it from its sibling tool 'generate_ai_image' by calling it a 'shortcut'. This provides excellent differentiation and clarity.

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

Usage Guidelines5/5

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

The description explicitly positions this tool as a 'shortcut for generate_ai_image', providing clear guidance on when to use this tool versus its more general sibling. This direct comparison to an alternative tool is optimal for usage 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/iplanwebsites/image-mcp'

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