Skip to main content
Glama

set_transparent_color

Set the palette index treated as transparent in indexed sprites, letting you control visible areas and background cutouts in pixel art.

Instructions

Set which palette index is treated as transparent (indexed sprites only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
indexYes
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.10.0
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • removedInput schema / properties / index / title
      Removed value: -"Index"
    • removedInput schema / title
      Removed value: -"set_transparent_colorArguments"
  2. First observedv0.7.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false (mutation) and openWorldHint=false, consistent with the 'Set' wording, so no contradiction. The description adds the meaningful constraint that this applies only to indexed sprites, but does not explain what happens to the previously transparent index, validation of the index, or reversibility.

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?

A single sentence with the scope qualifier front-loaded and zero filler; every element earns its place.

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?

For a narrow mutation tool with no output schema, the scope constraint plus annotation-driven safety profile is minimally sufficient. Missing prerequisites (indexed mode check) and error behavior keep it from being fully 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?

With 0% schema description coverage, the description carries the full burden. It clarifies that 'index' refers to a palette index, but gives no detail on the 'filename' parameter or valid index ranges, leaving half the parameters effectively undocumented.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: sets which palette index is treated as transparent, and clarifies scope with '(indexed sprites only)'. An agent can distinguish it from color-editing siblings like set_palette_color, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The parenthetical 'indexed sprites only' implies a precondition (sprite must be in indexed color mode), giving implied usage context. However, it offers no when-to-use framing, no alternatives, and no explanation of behavior on non-indexed sprites.

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