Skip to main content
Glama

stamp_file

Stamp a source image onto a layer at specified coordinates, with adjustable opacity and blend mode.

Instructions

Composite another image/sprite file onto a layer at (x, y).

Args:
    source: Path to a .aseprite/.png/.bmp/... to stamp in.
    x, y: Top-left placement on the target canvas.
    source_frame: Which frame of the source to use (1-based).
    opacity: 0-255.
    blend_mode: Blend mode for compositing (normal, multiply, …).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xYes
yYes
frameNo
layerNo
sourceYes
opacityNo
filenameYes
blend_modeNonormal
source_frameNo
Behavior3/5

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

With no annotations, the description partially covers behavior by listing blend modes and opacity. However, it does not disclose side effects (e.g., in-place modification, coordinate bounds, layer existence, error handling). It gives a basic operational view but lacks depth.

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 concise and front-loaded with the main action. It uses a clear docstring format with parameter lines. No unnecessary text, but the missing parameters reduce efficiency.

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 the tool's complexity (9 parameters, no output schema), the description is incomplete. It lacks explanations for several parameters and does not describe return values or behavioral edge cases, limiting its usefulness for an AI agent.

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?

Schema description coverage is 0%, so the description must explain all parameters. It covers source, x, y, source_frame, opacity, and blend_mode, but ignores required parameters like 'filename' and optional ones like 'frame' and 'layer'. This leaves a significant gap in 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 action ('Composite another image/sprite file onto a layer at (x, y)') and identifies the resource (image/sprite file). This distinguishes it from sibling tools like stamp_pattern (pattern stamping) or draw_pixels (pixel drawing).

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?

The description provides parameter details but no guidance on when to use this tool versus alternatives (e.g., stamp_pattern, draw_pixels). It lacks explicit when-to-use or when-not-to-use context.

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/MalloyTheDev/aseprite-mcp'

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