Skip to main content
Glama

Set pixels

texture_set_pixels
DestructiveIdempotent

Sets individual pixels on a Blockbench texture using [x, y, colour] entries, letting you paint or clear specific pixels without redrawing the whole image.

Instructions

Sets single pixels: a list of [x, y, colour].

Input Schema

NameRequiredDescriptionDefault
pixelsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=false, so safety framing is covered structurally. The description adds nothing beyond them: it does not say whether writes replace or blend existing pixel values, what coordinate origin applies, or whether the operation is atomic across the batch.

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?

One short sentence, front-loaded with the verb and resource, with the parameter hint attached. Nothing is redundant, though the terseness leaves room that could have been spent on the coordinate and colour semantics.

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?

This is a destructive mutation with no output schema and no annotation-independent explanation of effects, yet the description says nothing about what is overwritten, what the coordinate space is, or whether invalid coordinates error or clip. For a pixel-write tool operating on a bounded texture, those omissions matter.

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 coverage is 0%, so the description must carry weight — and labeling the tuple as [x, y, colour] genuinely helps, since the array items are unnamed and positional in the schema. However it omits the 0–4095 coordinate bounds, the 65536-pixel batch limit, and the partial transparency semantics implied by the colour field.

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 names a specific verb and resource ("Sets single pixels") and describes the payload shape, which implicitly distinguishes it from rectangle/drawing siblings like texture_fill_rect or texture_draw. It stops short of naming an alternative explicitly, so an agent must infer the boundary from the word "single".

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. Faced with texture_draw, texture_fill_rect, and texture_create in the sibling list, an agent gets no signal about which to pick for a per-pixel write versus a bulk fill or a draw primitive.

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