Skip to main content
Glama

Ase Trim Sprite

ase_trim_sprite

Trims transparent borders from sprite images to clean up canvas edges. Optionally constrains trimming to grid boundaries for consistent pixel-art alignment.

Instructions

Trim transparent borders (optionally by grid boundaries).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
by_gridNo
sprite_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are present, so the description alone must disclose whether the trim modifies the sprite in place, affects frames or layers, or exactly what 'by grid boundaries' changes. It only restates the operation and the option, leaving mutation behavior and grid semantics undisclosed.

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?

A single sentence, front-loaded with the core action and then the optional mode; no wasted words. It is concise, though the lack of additional structure means it does not address the behavioral gaps.

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?

With only two parameters and an output schema present, the definition is minimally callable, but the missing by_grid semantics and in-place-versus-return behavior are clear gaps. It reaches adequacy without being complete.

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 compensate. It adds 'optionally by grid boundaries' for by_grid, but sprite_path is not described and no format or constraints are provided, leaving the agent to rely on parameter names.

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 operation: 'Trim transparent borders' – a specific verb and resource – and adds the optional 'by grid boundaries' mode. This distinguishes it from sibling tools like ase_crop_sprite, which implies manual cropping rather than automatic transparent-border trimming.

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 intended use is directly stated: use this tool when you want to remove transparent borders from a sprite, optionally snapping to grid boundaries. It does not name alternatives or exclusions like ase_crop_sprite, so it stops short of fully explicit guidance.

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

Deploy Server

Other Tools