Skip to main content
Glama
Revit MCP
by tambyderden

revit_create_wall

Creates a single straight wall in the active editable Revit project from millimeter coordinates and height, using the lowest level and first basic wall type; it modifies the document without saving.

Instructions

Create one straight wall in the active editable Revit project.

Call revit_status first and pass its document.runtime_id. Coordinates and height are millimetres. Uses the lowest level and first basic wall type. This changes the current document and does not save it. If the outcome is unknown, inspect the model before retrying to avoid duplicate walls.

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": {
      "document_runtime_id": "<document_runtime_id>",
      "x1_mm": "<x1_mm>",
      "y1_mm": "<y1_mm>",
      "x2_mm": "<x2_mm>",
      "y2_mm": "<y2_mm>"
    },
    "name": "revit_create_wall"
  }
}

Input Schema

NameRequiredDescriptionDefault
x1_mmYes
x2_mmYes
y1_mmYes
y2_mmYes
height_mmNo
document_runtime_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses that this mutates the current document and does not save it, that level and wall type are chosen implicitly ('lowest level and first basic wall type'), and that partial/unknown outcomes risk duplicate walls. It omits permission/auth requirements beyond the phrase 'editable project' and says nothing about error behavior.

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?

Four short sentences, each carrying distinct information: purpose, prerequisite, implicit defaults, mutation semantics, and retry safety. Purpose is front-loaded and nothing is wasted.

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 mutating tool with no annotations, no output schema, and six undocumented parameters, the definition covers units, the prerequisite call, implicit type/level selection, non-persistence, and retry hazards. The notable remaining gap is that it never says what is returned (e.g. a new wall id) and the model has no output schema to fall back 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 description coverage is 0%, so the description must compensate; it specifies that coordinates and height are in millimetres and ties document_runtime_id to the revit_status call. However it never clarifies that x1/y1 and x2/y2 are start/end points of one segment, nor what happens when the optional height_mm is omitted (the schema's 3000 default is unmentioned).

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 ('Create one straight wall') plus scope ('in the active editable Revit project') and cardinality ('one'). This is clearly distinguishable from siblings like revit_create_floor and revit_create_level without opening any 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?

Explicitly requires calling revit_status first and passing its document.runtime_id, and gives retry guidance ('inspect the model before retrying to avoid duplicate walls'). It does not name read-side alternatives such as revit_get_wall or revit_list_types for verifying existing geometry, so it falls short of full when/when-not routing.

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