Skip to main content
Glama

add_sprite_from_images

Import PNG frames from a folder to create a new sprite and register it in a GameMaker project.

Instructions

Import frames from a directory into a new sprite and register it in the project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
framesDirYesDirectory containing PNG frames
projectDirYesAbsolute path to the GameMaker project directory
spriteNameYesName of the sprite to create
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only says 'Import frames... and register it' without disclosing side effects like whether an existing sprite is overwritten, what happens if the directory is missing, or any permissions needed. This is insufficient for a mutation tool with clear side effects.

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 sentence that is front-loaded with the action verb 'Import' and contains no redundant words. It efficiently communicates the core purpose without fluff.

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 3 parameters with 100% schema coverage, no annotations, and no output schema, the description provides a clear purpose but omits behavioral context such as project requirements, overwrite behavior, and error handling. It is not completely inadequate but has clear gaps in side-effect disclosure.

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%, with each parameter having a description (e.g., 'Directory containing PNG frames', 'Absolute path to the GameMaker project directory'). The tool description adds minimal additional semantic value beyond the schema, so the baseline of 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 verb ('Import'), the resource ('sprite'), and the source ('frames from a directory'), and adds 'register it in the project' to convey full scope. It distinguishes itself from sibling tools like add_script and add_object by being specific to sprite creation from images.

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 when to use this tool (when importing a sprite from image frames) and the sibling tool names provide natural context for alternatives. However, it does not explicitly state 'use this instead of add_script or add_object' or mention any exclusions, so it stops short of full explicit 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/darkw3bb/GameMaker-MCP-Server'

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