Skip to main content
Glama
elkhouryrafik-boop

revit-mcp-hardened

create_line_based_element

Create a wall, beam, or pipe between two points in Revit by specifying start and end coordinates. Choose element type, level, and dimensions for accurate modeling.

Instructions

Create a wall, structural beam, or pipe running between two points.

ALL LENGTHS ARE IN DECIMAL FEET - this is the Revit API's internal unit and is unaffected by the project's display units. To work in millimetres, divide by 304.8 before calling (3000mm -> 9.843).

Returns the new element's id, name and category.

Use list_levels to see valid level_name values, and list_families for beam types. When level_name is omitted the lowest level is used; when type_name is omitted the first available type is used. If a name does not match, the error lists what is available - read that rather than guessing again.

Does NOT create ducts, cable trays, curved walls, or anything that needs a non-straight curve. Use execute_revit_code for those.

Args: element_kind: One of "wall", "beam", "pipe". start_x, start_y, start_z: Start point, in feet. end_x, end_y, end_z: End point, in feet. level_name: Host level. Defaults to the lowest level. type_name: Wall/beam/pipe type name. Defaults to the first found. height: Wall height in feet. Walls only, ignored otherwise. offset: Base offset from the level, in feet. Walls only. structural: Mark the wall as structural. Walls only. diameter: Pipe diameter in feet. Pipes only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_xYes
end_yYes
end_zNo
heightNo
offsetNo
start_xYes
start_yYes
start_zNo
diameterNo
type_nameNo
level_nameNo
structuralNo
element_kindYes
Behavior5/5

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

With no annotations, the description fully discloses critical behavior: all lengths are in decimal feet and unaffected by project display units, with conversion guidance (divide by 304.8 for mm). It also explains default behavior for omitted parameters, the return value (id, name, category), and that errors list available names rather than making the agent guess blindly.

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 long but well-structured and every sentence adds value. It front-loads the core purpose, then critical unit warning, return value, usage references, exclusions, and an organized Args list. No redundancy or filler.

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 tool with 13 parameters and no output schema, the description covers all necessary context: defaults, unit system, error behavior, exclusions, and references to sibling tools for valid values. It states the return shape (id, name, category) and leaves little ambiguity for invocation.

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?

The Args section adds rich meaning beyond the raw schema: explains element_kind options, unit expectations for coordinates, per-parameter defaults (e.g., lowest level, first found type), and which parameters apply only to walls vs pipes. This fully compensates for the schema's lack of 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 description opens with a specific verb and resource: 'Create a wall, structural beam, or pipe running between two points.' It clearly distinguishes from siblings like create_surface_based_element and place_family, and further clarifies scope by excluding ducts, cable trays, and curved walls.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool and alternatives: 'Use list_levels to see valid level_name values, and list_families for beam types.' It also says 'Does NOT create ducts, cable trays, curved walls... Use execute_revit_code for those,' providing clear when-not-to-use guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/elkhouryrafik-boop/revit-mcp-hardened'

If you have feedback or need assistance with the MCP directory API, please join our Discord server