Skip to main content
Glama
davidharutyunyan

Archicad MCP Connector

Create polylines

create_polylines

Draws 2D polylines with straight and curved segments, open or closed. Ideal for outlines, symbols, and room boundaries in Archicad.

Instructions

Draws 2D polylines: connected straight and curved segments (points + optional arcs {index, angle}), open or closed. Ideal for outlines, symbols and room-separator chains (zoneBoundary: true). Style fields as create_lines plus continuousPattern. Elements go into the database of the ACTIVE window: on a floor plan the given storyIndex (default: current story), otherwise the open section / elevation / detail / worksheet / layout (a 3D window cannot hold 2D elements). Returns [{guid, type} | {error}] in input order; one failing item does not stop the others. Change them later with modify_elements using the same field names; read them back with get_element_details. Modifying 'arcs' or 'closed' requires sending 'points' too (the geometry is replaced).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
polylinesYesPolylines to draw

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations declare the write/non-destructive profile, and the description adds substantial context beyond them: active-window targeting, storyIndex defaulting, the constraint that 3D windows cannot hold 2D elements, and the partial-failure return contract. This is exactly the kind of behavioral detail annotations cannot carry.

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?

Dense but well front-loaded: geometry description first, then usage, then window/targeting constraints, then return contract and follow-up tools. Every sentence carries information, though the run-on structure could be tightened.

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

Completeness5/5

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

For a complex creation tool with no output schema, the description covers targeting, defaults, partial-failure behavior, and the return shape ([{guid, type} | {error}] in input order). Nothing essential to correct invocation is missing.

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 100%, so the baseline is 3, but the description adds non-redundant semantics: the arc edge indexing rule and the critical note that modifying 'arcs' or 'closed' requires resending 'points' because geometry is replaced. That goes beyond what the schema states.

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?

States a specific verb and resource ('Draws 2D polylines') and details the geometry model (straight + curved segments, open/closed), which distinguishes it from siblings like create_lines, create_arcs, and create_circles. An agent can tell it apart without opening the schema.

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?

Gives clear context ('Ideal for outlines, symbols and room-separator chains (zoneBoundary: true)') and names follow-up tools (modify_elements, get_element_details). It stops short of explicitly saying when to prefer this over create_lines/create_arcs, only noting shared style fields.

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