Skip to main content
Glama

draw_brush

Stamp a custom brush shape at specified points on an Aseprite sprite. Define the brush as character rows, then apply it with a color to create pixel art patterns.

Instructions

Stamp a custom brush shape at a list of points.

Args:
    brush: The brush as rows of characters. Any character other than space,
        '.', or '0' is a filled cell. e.g. a plus brush: ["010", "111", "010"].
    points: Positions to stamp at, list of {"x": int, "y": int}.
    color: Colour to stamp the brush in.
    anchor: "center" (default) or "topleft", where each point sits in the brush.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brushYes
colorYes
frameNoDefault: 1.
layerNo
anchorNoDefault: "center".center
pointsYes
filenameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.10.0
    • addedInput schema / properties / anchor / description
      Added value: +"Default: \"center\"."
    • removedInput schema / properties / anchor / title
      Removed value: -"Anchor"
    • removedInput schema / properties / brush / title
      Removed value: -"Brush"
    • removedInput schema / properties / color / title
      Removed value: -"Color"
    • removedInput schema / properties / filename / title
      Removed value: -"Filename"
    • addedInput schema / properties / frame / description
      Added value: +"Default: 1."
    • removedInput schema / properties / frame / title
      Removed value: -"Frame"
    • removedInput schema / properties / layer / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / layer / default
      Removed value: -null
    • removedInput schema / properties / layer / title
      Removed value: -"Layer"
    • addedInput schema / properties / layer / type
      Added value: +"string"
    • removedInput schema / properties / points / title
      Removed value: -"Points"
    • removedInput schema / title
      Removed value: -"draw_brushArguments"
  2. First observedv0.7.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and openWorldHint=false, so the agent already knows this mutates local state. The description adds meaningful input semantics (brush character encoding, anchor placement) but never says which file/layer/frame is affected, that it is destructive to existing pixels, or that 'filename' is required – gaps the annotations alone do not close.

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?

Front-loaded one-line purpose followed by a compact Args block; every line earns its place and there is no filler. The only minor cost is the verbose brush example, which is nonetheless useful.

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 7-parameter mutation tool with no output schema and low schema coverage, the description covers the novel brush/point semantics but omits required-parameter guidance (filename) and the frame/layer targeting behavior, leaving an agent to infer how the stamp is scoped.

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 only 29%, so the description carries real weight, and it does document brush, points, color, and anchor well (including the character-fill rule and the center/topleft values). However, three parameters – filename, frame, and layer – are undocumented in both schema and description, leaving the coverage gap only partly filled.

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 opening line gives a specific verb (stamp) and resource (custom brush shape) plus the target (a list of points), which is clear enough to distinguish it from pixel- or line-drawing siblings. It does not explicitly contrast itself with the closest alternatives like stamp_pattern or draw_pixel_map, so it stops short of a 5.

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 guidance on when to reach for this tool versus stamp_pattern, draw_pixel_map, or draw_pixels, nor any prerequisites (e.g. an open sprite, valid layer/frame). The Args block documents inputs but never states the usage context or exclusions.

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