Skip to main content
Glama
elkhouryrafik-boop

revit-mcp-hardened

create_surface_based_element

Creates a floor or ceiling from a closed boundary outline in Revit. Returns the new element's ID, name, and category.

Instructions

Create a floor or ceiling from a closed boundary outline.

ALL COORDINATES ARE IN DECIMAL FEET (see create_line_based_element).

The boundary is an ordered list of at least three points that trace the outline. Do not repeat the first point at the end - the closing segment is added automatically. The outline must be planar and must not self-intersect.

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

Does NOT support openings, sloped floors, or boundaries built from arcs. Use execute_revit_code for those.

Ceiling creation requires Revit 2022 or newer.

Args: element_kind: Either "floor" or "ceiling". boundary: Ordered points, e.g. [{"x": 0, "y": 0, "z": 0}, {"x": 20, "y": 0, "z": 0}, {"x": 20, "y": 15, "z": 0}, {"x": 0, "y": 15, "z": 0}] level_name: Host level. Defaults to the lowest level. type_name: Floor/ceiling type name. Defaults to the first found. structural: Mark the floor as structural. Floors only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
boundaryYes
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 carries full behavioral burden. It discloses the decimal-feet requirement, automatic closing of the boundary, planarity/non-self-intersection constraints, return value (id, name, category), version requirement for ceilings, and the 'floors only' restriction for structural. This is thorough and non-misleading.

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 well-organized and front-loaded: purpose statement, critical coordinate note, boundary rules, return value, limitations, version note, and a structured Args block. Every sentence adds meaningful information without redundancy.

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 creation tool with no output schema and no annotations, the description covers all essential aspects: parameter semantics, defaults, constraints, return information, and version-specific behavior. It is complete enough for an agent to use the tool without additional context.

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?

Despite 0% schema description coverage, the description's Args block explains all 5 parameters: element_kind values, boundary structure with an example, level_name default, type_name default, and structural scope. This fully compensates for the bare schema.

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 'Create a floor or ceiling from a closed boundary outline,' which uses a specific verb and resource. It distinguishes itself from sibling tools by referencing create_line_based_element for coordinate format and clearly scoping the element type to floors/ceilings.

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?

Usage guidance is explicit: it states unsupported cases (openings, sloped floors, arcs) and directs users to execute_revit_code for those scenarios. It also documents the required coordinate system and the host-level default, making when-to-use and when-not-to-use very clear.

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