Skip to main content
Glama

generate_mock_asset_batch

Creates multiple mock 2D PNG assets in one batch, as separate files or a spritesheet, each with embedded JSON metadata for downstream use.

Instructions

Generates multiple mock 2D PNG assets at once. Can create individual files, a spritesheet, Each PNG has embedded JSON metadata readable by read_image_metadata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetsYesAn array of asset configuration objects to generate simultaneously
sheetMarginNoOuter margin around the spritesheet in pixels. Default is 8 when missing.
sheetSpacingNoSpacing between spritesheet cells in pixels. Default is 8 when missing.
sheetFilenameNoFilename for the generated spritesheet. Default is spritesheet.png when missing.spritesheet.png
sheetDirectoryNoOptional output directory for the spritesheet. Defaults to the first asset directory.
spritesheetModeNoindividual = create separate PNGs only, spritesheet = create only a spritesheet PNG. Default is spritesheet when missing.spritesheet
Behavior3/5

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

No annotations are provided, so the description must carry the transparency burden. It adds useful behavioral context by stating each PNG has embedded JSON metadata readable by read_image_metadata. However, it does not disclose file-system side effects such as overwriting behavior, required directory existence, or error conditions, which are relevant for a file-generation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short and front-loaded with the main purpose. It has a grammatical flaw ('a spritesheet, Each' fragment) and is somewhat terse, but it avoids unnecessary verbosity and conveys the core capabilities efficiently.

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?

The schema is rich and covers all parameters, and the description adds the metadata cross-reference to read_image_metadata. However, for a complex batch file-generation tool, the description does not address return behavior, overwrite semantics, or prerequisites (e.g., existing directories), leaving gaps that are not filled by the schema or annotations.

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 fully documents all parameters. The description adds no parameter-specific semantics beyond mentioning spritesheet and metadata, which are already reflected in schema fields like spritesheetMode and assetDescription. 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 clearly states the tool 'Generates multiple mock 2D PNG assets at once', specifying the verb, resource, and batch scope. It distinguishes itself from the sibling generate_mock_asset through the word 'multiple' and from read_image_metadata by focusing on generation while also linking to metadata.

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 usage for batch generation with 'multiple mock 2D PNG assets at once' and mentions output options (individual files or spritesheet), giving clear context. It does not explicitly name alternatives or state when-not-to-use, but the batch orientation is evident.

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/crony-io/2d-assets-mcp'

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