Skip to main content
Glama

inspect_sprite

Analyze sprite pixel data from Pyxel image banks to verify quality, detect asymmetries, and report color usage for game development validation.

Instructions

Inspect sprite pixel data from a Pyxel image bank.

Reads pixel data, checks horizontal/vertical symmetry, and reports color usage. Use this to verify sprite quality and find asymmetries.

Args: script_path: Absolute path to the .py script to run. image: Image bank index, 0-2 (default: 0). x: X position in the image bank (default: 0). y: Y position in the image bank (default: 0). w: Width of the region to inspect (default: 8). h: Height of the region to inspect (default: 8). timeout: Maximum seconds to wait for the script (default: 10).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
script_pathYes
imageNo
xNo
yNo
wNo
hNo
timeoutNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It describes what the tool does (reads, checks, reports) and mentions a timeout parameter, but it does not cover other important traits like error handling, permissions needed, rate limits, or whether it's read-only or destructive. The description adds some context but leaves gaps in behavioral transparency.

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 appropriately sized and front-loaded, starting with the core purpose and usage context before detailing parameters. The 'Args' section is structured but slightly verbose; every sentence earns its place by clarifying parameters, though it could be more concise by integrating parameter details into the flow.

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

Completeness4/5

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

Given the complexity (7 parameters, no annotations, but with an output schema), the description is fairly complete. It covers purpose, usage, and parameter semantics, but lacks behavioral details like error handling or output format. Since an output schema exists, the description doesn't need to explain return values, making it adequate but with minor gaps in transparency.

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

Parameters4/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 provides semantic meaning for all 7 parameters in the 'Args' section, explaining what each parameter represents (e.g., 'Absolute path to the .py script to run', 'Image bank index, 0-2', 'X position in the image bank'). This adds significant value beyond the bare schema, though it could be more integrated into the main description text.

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's purpose with specific verbs ('inspect sprite pixel data', 'reads pixel data', 'checks horizontal/vertical symmetry', 'reports color usage') and distinguishes it from siblings by focusing on sprite analysis rather than frames, palettes, tilemaps, or other Pyxel components. It explicitly mentions the resource ('Pyxel image bank') and the goal ('verify sprite quality and find asymmetries').

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 provides clear context for when to use this tool ('to verify sprite quality and find asymmetries'), but it does not explicitly mention when not to use it or name specific alternatives among the sibling tools. It implies usage for sprite inspection but lacks explicit exclusions or comparisons to tools like inspect_bank or inspect_tilemap.

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/kitao/pyxel-mcp'

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