Skip to main content
Glama

generate_clean

Generate an AI image of a subject and automatically remove its background, returning a transparent PNG with a fixed fee of $0.15 USDC.

Instructions

Generate an AI image with the background removed. Returns a transparent PNG URL. Costs $0.15 USDC on Base mainnet.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the subject (background will be removed)
aspectNoAspect ratio — 1:1 (default), 16:9, 9:16, 4:3
Behavior3/5

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

The description discloses key behavioral traits: it removes background, returns a transparent PNG URL, and costs $0.15 USDC. However, no annotations are present, and the description does not cover authentication requirements, processing time, error scenarios, or any destructive aspects. With no annotations, the bar is higher, and the description only partially meets it.

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 consists of two short, informative sentences. The first sentence states the core function and output; the second provides cost context. No extraneous information or repetition exists, making it highly efficient.

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?

For a simple tool with two parameters and no output schema, the description covers purpose, key behavior (background removal), output format, and cost. It fails to address failure modes or auth needs, but given the low complexity, it is largely complete. Additional differentiation from siblings would improve completeness.

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 coverage is 100%, so the schema fully documents both parameters. The tool description adds minimal semantic value beyond the schema; it rephrases the prompt description and implies the output format. Baseline 3 is appropriate as the description does not significantly enrich parameter understanding.

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 an AI image with background removed and returns a transparent PNG URL. It specifies the verb 'generate', the resource 'AI image with background removed', and the output format, making the purpose unambiguous and distinguishing it from generic image generation tools.

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?

No guidance is provided on when to use this tool versus its siblings (generate_hd, generate_image, generate_pro). The description mentions cost but does not explain the trade-offs or suggest appropriate use cases, leaving the agent without decision support.

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/forgemeshlabs/imagegen-mcp'

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