Skip to main content
Glama

recraft_generate_asset

Generate an image from a prompt, remove its background, and save it directly to a file for game assets, icons, and UI elements.

Instructions

Full asset pipeline: generate image → download → optionally remove background → save to file. Perfect for game assets, icons, and UI elements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoImage size (e.g., 1024x1024, 1344x768) or ratio (e.g., 16:9, 1:1 for vector models)1024x1024
modelNoModel: recraftv4_1, recraftv4_1_vector, recraftv4_1_pro, recraftv4_1_pro_vector, recraftv4_1_utility, recraftv4_1_utility_vector, recraftv4_1_utility_pro, recraftv4_1_utility_pro_vector, recraftv4, recraftv4_vector, recraftv4_pro, recraftv4_pro_vector, recraftv4_styles, recraftv4_styles_vector, recraftv4_styles_pro, recraftv4_styles_pro_vector, recraftv3, recraftv3_vector, recraftv2, recraftv2_vectorrecraftv4
styleNoStyle name (V3/V2 only)
promptYesImage description
remove_bgNoRemove background after generation (default: true)
output_pathYesWhere to save the final image
negative_promptNoWhat to exclude

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.2.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reveal the key behavior: it does not just generate, it downloads, may remove the background, and writes to a file. It is transparent about the side effect of saving to output_path, though it doesn't mention overwrite behavior, return value, or credit/cost implications.

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?

One compact sentence front-loads the operation sequence and then gives concrete use cases. There is no filler or redundant restatement of the tool name.

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 no output schema and 23 siblings, the description covers the core selection and invocation context: what the pipeline does, the final save destination, and representative use cases. It does not specify return values or behavior when the output file already exists, but these are secondary for selecting and calling the tool.

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 all seven parameters are already documented in the schema. The description adds only the 'remove background' toggle context, which is already reflected in remove_bg's schema default; no substantial new parameter meaning is provided, so baseline 3 is appropriate.

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 names a concrete multi-step operation (generate → download → optionally remove background → save to file) and the target domain (game assets, icons, UI elements). This clearly distinguishes it from siblings like recraft_generate_image (generation only) and recraft_download_image (download only), so an agent can select it without opening the schema.

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 phrase 'Full asset pipeline' plus 'Perfect for game assets, icons, and UI elements' gives clear context for choosing this tool over single-step siblings. It does not explicitly say when not to use it or name alternatives, so it's one notch below the most explicit guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/muhammetali/recraft-mcp-server'

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