Skip to main content
Glama

architecture

Draw architectural floor plans with walls, rooms, grids, columns, dimensions, and room labels. Generate layered plan geometry and area data in AutoCAD.

Instructions

Architectural plan drawing (ve mat bang kien truc). Units: mm, angles: degrees.

Operations:
  setup        — Create standard layers A-TUONG, A-COT, A-CUA, A-TRUC, A-KICHTHUOC, A-CHU,
                 A-THIETBI, A-HATCH-TUONG and set DIMSCALE. data: {dim_scale?: 100}
  wall         — Wall from a centreline path, doors/windows cut in.
                 data: {points: [[x,y],...], thickness?: 200, closed?: false,
                        justify?: center|left|right, hatch?: "SOLID"|"ANSI31"|null,
                        openings?: [{segment: 0-based index, offset: mm from segment start,
                                     width, type: door|window|opening, swing?: left|right,
                                     hinge?: start|end, double?: bool, label?: "D1"}]}
  room         — Rectangular room on wall centrelines. data: {x, y, width, depth,
                 wall_thickness?: 200, name?, hatch?, openings?: [{side: bottom|right|top|left,
                 offset: mm from left/bottom end, width, type, swing?: in|out, hinge?: start|end,
                 double?, label?}]}
  grid         — Grid axes 1,2,3 (vertical) and A,B,C (horizontal) with bubbles and dimensions.
                 data: {x_spacings: [3600, 4200], y_spacings: [4500, 3000], origin?: [0,0],
                        extension?: 2000, bubble_radius?: 400, dimensions?: true, both_ends?: false,
                        x_labels?, y_labels?}
  columns      — Rectangular columns. data: {positions?: [[x,y],...] | x_spacings+y_spacings+origin
                 (all grid intersections), size_x?: 220, size_y?, fill?: "SOLID"|null}
  room_label   — Room name + area. data: {points: [[x,y],...], name, text_height?: 300, unit?: mm}
  dimension_chain — Continuous dims. data: {points: [[x,y],...], direction: x|y, at: y (or x) of dim line}
  area         — Area/centroid of a polygon. data: {points, unit?: mm} (no drawing)

Tip: call setup once per drawing first. Walls do not auto-trim T-junctions between
separate wall calls; draw an outer wall as one closed path, then partitions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "operation": "<operation>"
    },
    "name": "architecture"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataNo
operationYes
include_screenshotNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.2.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description carries most of the burden and does add useful behavior: 'area' is marked '(no drawing)', and the T-junction/trimming caveat is exactly the kind of non-obvious side effect an agent needs. Beyond that it is silent on whether repeated 'setup' calls are idempotent, whether operations append or overwrite existing layers/entities, and what errors look like.

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 purpose statement is front-loaded in the first line, followed by a scannable operation table with inline payload shapes, then the usage tip. It is long, but the length is dictated by eight distinct operations with nested payloads rather than by filler.

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 mutating CAD tool with no output schema and no schema descriptions, the operation-level data documentation is strong, but the definition never says what a call returns (handles, counts, success/failure), never explains include_screenshot, and never states the drawing/session context the operations act on.

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% and the schema is a bare pass-through 'data' object, so the description does the heavy lifting by documenting the per-operation payload shape, defaults (thickness 200, dim_scale 100), enum values (justify, hatch, type, swing, hinge) and indexing bases (0-based segment). The remaining gap is the third parameter, include_screenshot, which is never mentioned anywhere.

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?

States a specific resource and domain ('Architectural plan drawing', with Vietnamese gloss) plus units (mm, degrees), then enumerates the eight concrete operations so the agent knows exactly what capability set is behind the name. It does not explicitly contrast itself with the sibling tools ('drawing', 'annotation', 'entity', 'layer'), so an agent must infer that this is the domain-specific wrapper rather than the generic primitive.

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?

The closing Tip gives real sequencing guidance: 'call setup once per drawing first' and the constraint that walls from separate calls do not auto-trim T-junctions, with the recommended workaround (outer wall as one closed path, then partitions). It gives no when-not-to-use condition and no alternative tool to pick instead for generic geometry.

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