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

create_door_2d

Cut a door opening in a wall and draw a classic door with jambs, leaf, and swing arc as one BIM object carrying mark, height, and material for 3D, schedules, and IFC export.

Instructions

Cut a door opening in the wall and draw the classic door: jambs, open leaf, swing arc. The door is one block ("Porte"): move/copy/delete it as a single object. It is also a BIM object: it keeps a mark (P1, P2... numbered per level unless mark is given), its height (default 2100 mm) and material (default Bois), used by the 3D, the schedules and the IFC export.

position: [x, y] centre of the opening ON THE WALL AXIS (mm). width: default 900 mm. orientation: direction of the WALL, "horizontal" (along x) or "vertical" (along y). wall_thickness: thickness of the wall/partition crossed (default 200 = wall; use 100 for a partition). hinge: "start" (lower x/y end of the opening) or "end". swing: side the door opens to: north/south for a horizontal wall, east/west for a vertical one (default north / east). Warns if no wall was found at the position.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
markNo
hingeNostart
swingNo
widthNo
heightNo
fit_viewNo
materialNo
positionYes
orientationNohorizontal
wall_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 provided, the description carries the behavioral burden, and it does so well: it states that the tool cuts an opening, draws jambs/leaf/arc, creates a single moveable object, assigns BIM metadata, and warns when no wall is found. It does not fully address destructive consequences or how the wall is modified beyond cutting, but the disclosed behavior is substantially informative.

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 dense but well-structured: the first paragraph explains the tool's core behavior and BIM nature, while a compact parameter list covers semantics and defaults. Every sentence adds useful information, and nothing feels redundant or overlong.

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 10-parameter tool with no annotations and 0% schema coverage, the description is remarkably complete: it covers the main behavior, defaults, parameter meanings, and an error condition. The main gaps are fit_view not being explained and orientation's default value not being repeated in the description, but the output schema reduces the need to describe return values.

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 coverage is 0%, so the description must compensate, and it explains nearly all parameters: position center on wall axis, width default, orientation as wall direction, wall_thickness for wall vs partition, hinge start/end, swing direction with defaults, mark numbering, height default, and material default. The one notable omission is fit_view, which is not mentioned in the description.

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 and resource: 'Cut a door opening in the wall and draw the classic door.' It clearly identifies the tool as creating a door, distinguishes it from sibling tools like create_window_2d, and adds concrete detail about the resulting door object being a single block and a BIM object.

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?

Usage context is implied rather than explicitly stated: the tool works on a wall, warns if no wall is found, and suggests using wall_thickness=100 for partitions. However, it does not explicitly contrast this tool with alternatives such as create_window_2d, create_wall_2d, or create_partition_2d, so an agent must infer when this tool is the right choice.

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