Skip to main content
Glama

Generate Cocos Sprite

asset_forge_generate_sprite

Generate a sprite image from a text prompt, clean its alpha/background, and export as Cocos-ready PNG with manifest.

Instructions

Generate a single sprite image, clean its alpha/background, and save a Cocos-ready PNG plus manifest.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable asset name. Used for file names after slugification.
seedNo
sizeNo
styleNoVisual or audio style, e.g. 'cozy pixel art', 'hand-painted fantasy', '8-bit arcade'.
promptYes
outputDirNoDirectory where generated files should be written. Defaults to server config.
postprocessNo
negativePromptNo
referenceImageUrlNoPublic reference image URL for image-to-image/edit capable providers.
referenceStrengthNoHow strongly an image-to-image/edit provider should preserve the reference.
referenceImagePathNoLocal reference image path for image-to-image/edit capable providers.
Behavior3/5

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

With no annotations provided, the description must disclose behavioral traits. It mentions cleaning alpha/background and saving output, but lacks details on resource consumption, side effects, or prerequisites. This is adequate but not thorough.

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 (14 words) that front-loads the core action and deliverables. Every word is informative with no redundant content.

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

Completeness2/5

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

Given 11 parameters, 55% schema coverage, nested objects, and no output schema, the description is too minimal. It does not explain the manifest, the cleaning process, or provide usage guidance for the many optional parameters.

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

Parameters2/5

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

The description does not add any meaning beyond what the input schema provides. Schema description coverage is 55%, so some parameters have documentation, but the description adds no extra context for parameter usage or relationships.

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 a single sprite image, cleans its alpha/background, and saves a Cocos-ready PNG plus manifest. This verb+resource specificity distinguishes it from sibling tools like generate_sprite_sheet and generate_sprite_grid_sheet, which handle multiple sprites.

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 description implies use for individual sprites via 'single sprite', which provides context to differentiate from sheet-generating siblings. However, it does not explicitly state when to avoid using this tool or name alternatives.

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/lightblink/cocos-asset-forge-mcp'

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