Skip to main content
Glama
aseprite-claude-connector

aseprite-claude-connector

select_by_color

Idempotent

Select all pixels matching a target color within a per-channel tolerance, using replace, add, or subtract selection modes—like a global magic wand for precise edits.

Instructions

Select every pixel matching color (composited, within tolerance 0-255 per channel) — a global magic wand. mode is replace/add/subtract.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "color": "<color>"
    },
    "name": "select_by_color"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
modeNoreplace
colorYes
toleranceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations supply only idempotentHint, so the description carries most of the burden. It does add genuine behavior beyond the annotations: pixels are sampled 'composited', tolerance is per channel on a 0-255 scale, and mode values are replace/add/subtract. It does not say how the existing selection is affected for add/subtract, whether a document must be open, or what the result looks like.

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?

Two compact sentences with the action front-loaded and no filler. The reStructuredText backtick markup and the leading em dash are slightly noisy but do not obscure meaning.

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 four parameters, no output schema, and 0% schema coverage, the description should say more than it does. The `file` parameter and the effect of the selection on any prior selection are unaddressed, though the core selection semantics are adequately conveyed.

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 description coverage is 0%, so the description must compensate. It explains color, tolerance (0-255 per channel), and the three mode values, which is useful, but the `file` parameter is never mentioned and the enum values for mode are not formally enumerated in the schema either.

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?

The description uses a specific verb and resource ('select every pixel matching color') and frames it as a 'global magic wand', which distinguishes a whole-image color selection from the shape-based siblings like select_rectangle and select_ellipse. It stops short of naming any sibling explicitly.

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?

There is no when-to-use or when-not-to-use guidance, and no alternative is named. The 'global magic wand' phrasing faintly implies this selects across the whole image rather than a region, but an agent must infer that from the words alone.

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