Skip to main content
Glama

Ase Draw Line

ase_draw_line

Draw a line on an Aseprite sprite using Bresenham's algorithm, with optional thickness, frame, and layer control.

Instructions

Draw a line (Bresenham, optional thickness).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
colorYes
frameNo
layerNo
thicknessNo
sprite_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/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 only mentions the algorithm and optional thickness, but does not state whether the line overwrites existing pixels, whether it targets the active layer, or any side effects like selection handling. This is a significant gap for a drawing tool.

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 extremely concise, a single sentence with no filler. It front-loads the primary purpose and includes two useful specifics (Bresenham, optional thickness). While efficient, it sacrifices completeness for brevity, which is acceptable but not exceptional.

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

Completeness1/5

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

For a tool with 9 parameters, zero schema descriptions, no annotations, and an output schema that is not described, this description is grossly inadequate. An agent would not know how to set most parameters correctly, what the function returns, or what side effects to expect. It covers almost none of the needed context.

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?

Schema description coverage is 0%, so the description must compensate for the 9 parameters. It only adds meaning for 'thickness' and implicitly for coordinates via the line concept. Other parameters like color, frame, layer, and sprite_path are left undefined. This is insufficient for correct invocation.

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 verb 'draw' and the resource 'a line', and the parenthetical mention of Bresenham and optional thickness distinguishes it from sibling drawing tools like ase_draw_pixels, ase_draw_rectangle, and ase_draw_circle. It is specific and unambiguous.

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 description implies when to use the tool (when you need to draw a line on a sprite), but it does not provide explicit guidance on when to choose this over alternatives, nor does it mention any prerequisites or exclusions. It is adequate but leaves the selection rationale to the agent.

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