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

create_wall_2d

Draws a straight wall as a closed 2D outline, with adjustable thickness and automatic merging of overlapping walls to clean corners and T-junctions.

Instructions

Draw one straight wall as a closed outline on layer 'murs' (mm).

start/end are [x, y] points on the wall AXIS. Default thickness 200 mm. merge (default true): a wall that overlaps or touches other closed walls on 'murs' is fused with them into one clean outline (no doubled lines at corners and T junctions). Do it BEFORE placing doors/windows: a wall already cut open by a door is not merged. Returns the 4 corners, length, thickness and the resulting outline name(s).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYes
mergeNo
startYes
fit_viewNo
thicknessNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It does well by disclosing that the wall is drawn as a closed outline, that overlapping/touching walls are fused, that this fusion should happen before doors/windows, and that the tool returns corners, length, thickness, and outline names. It does not explain the fit_view parameter's behavior, so it is not fully exhaustive, but it is substantially transparent.

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?

The description is compact and front-loaded: the first sentence states the core function, followed by concise parameter notes, a timing warning, and a return summary. Every sentence adds value and there is no filler.

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 a 5-parameter creation tool with no annotations, the description is nearly complete: it covers units, layer, geometry semantics, defaults, merge behavior, timing constraints, and return values. The missing fit_view behavior and lack of any mention of errors or coordinate system leave a small but real gap, so it is not a 5.

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

Parameters4/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 clarifies that start/end are [x,y] points on the wall axis, explains the merge default and its fusion behavior, and gives the effective default thickness of 200 mm. The only parameter left unexplained is fit_view, whose schema default is true but whose behavior is never described.

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 opens with a specific verb ('Draw'), a specific object ('one straight wall as a closed outline'), and a target layer ('murs' with mm units). The phrase 'one straight wall' distinguishes it from sibling tools like create_wall_loop and create_walls_3d, so an agent can tell what this tool is for.

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 gives useful context by warning that merging should happen before placing doors/windows, and by explaining when merge will not apply. However, it never explicitly says when to choose this tool over siblings such as create_partition_2d or create_wall_loop; the differentiation is only implied by 'one straight wall'.

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