Skip to main content
Glama
Stv-devl
by Stv-devl

create_hatch

Fill an enclosed outline with parallel or cross-hatch lines at a set angle and spacing, with optional holes and automatic avoidance of doors and windows.

Instructions

Hatch an area with parallel lines, as one block "Hachure" on layer 'hachures' (mm). points: the outline [[x, y], ...]. holes: outlines to leave empty, e.g. for a wall ring give the OUTER outline as points and the INNER outline as holes (both from create_wall_loop). pattern: "lines" or "cross" (second set at +90 degrees). angle in degrees (default 45). spacing: mm between lines; default 3 mm on paper = 3 x scale (scale = print denominator). Lines align on the world origin, so neighbouring hatches of the same angle/spacing match. avoid_openings (default true): no hatch inside the doors and windows already drawn. Hatch AFTER placing them; a door added or moved later does not clear the existing hatch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
angleNo
holesNo
scaleNo
pointsYes
patternNolines
spacingNo
avoid_openingsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are present, so the description carries the burden. It discloses the single-block layer behavior, world-origin alignment for adjacent hatches, and the non-updating behavior when openings change later. Could add idempotency or overwrite behavior, but overall strong for a creation tool.

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?

All sentences earn their place; the parameter walkthrough is compact and front-loaded with the main purpose and layer. It packs examples and defaults without rambling.

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

Completeness4/5

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

For seven parameters and no annotations, it covers coordinates, units, defaults, layer, and a timing caveat. With an output schema present, return values need no description. Minor omissions like invalid-input behavior or whether the layer must pre-exist keep it from a 5.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, yet the description documents every parameter with defaults, units, and examples: points, holes, pattern, angle, spacing, scale, and avoid_openings. This fully compensates for the empty schema descriptions.

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 opening sentence states a specific verb ('Hatch') and resource (an area as one Hachure block on a named layer). This clearly distinguishes it from sibling fill tools by emphasizing parallel-line mechanics and the target layer.

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

Usage Guidelines4/5

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

It gives explicit timing guidance—hatch after placing doors/windows—and explains how to structure outer/inner outlines for wall rings using create_wall_loop output. It does not mention alternative tools or exclusion cases, but the context is clear enough for an agent to decide when to use it.

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