Skip to main content
Glama
Model MCP

Model MCP

Link CAD Drawing

revit_link_cad
Destructive

Links or imports a DWG file into a Revit plan view, with options for layers, units, origin, level, and dry-run checks before committing geometry.

Instructions

Link or import a DWG into a plan view on the Revit workstation. Layer counts and XY extents cover only lines and polyline segments; other geometry is ignored.

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": {
      "path": "<path>"
    },
    "name": "revit_link_cad"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkNo
pathYes
viewNo
levelNo
unitsNoauto
layersNo
originNointernal
dry_runNo
documentNoTitle or file name substring of the target open document; needed when several are open.
timeout_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed14 schema fields changedv0.10.0
    • changedInput schema / properties / document / description
      Previous value: -"Case-insensitive substring of the target open document's title or file name. Required to disambiguate when the Revit process has more than one document open; omit only when a single document is open (the active document is used). An unknown or ambiguous reference is rejected before any change."New value: +"Title or file name substring of the target open document; needed when several are open."
    • removedInput schema / properties / document / title
      Removed value: -"Document"
    • removedInput schema / properties / dry_run / title
      Removed value: -"Dry Run"
    • removedInput schema / properties / layers / title
      Removed value: -"Layers"
    • removedInput schema / properties / level / title
      Removed value: -"Level"
    • removedInput schema / properties / link / title
      Removed value: -"Link"
    • removedInput schema / properties / origin / title
      Removed value: -"Origin"
    • removedInput schema / properties / path / title
      Removed value: -"Path"
    • removedInput schema / properties / response_timeout_s
      Removed value: -{
      -  "default": 600,
      -  "maximum": 3600,
      -  "minimum": 30,
      -  "title": "Response Timeout S",
      -  "type": "integer"
      -}
    • addedInput schema / properties / timeout_seconds
      Added value: +{
      +  "default": 600,
      +  "maximum": 3600,
      +  "minimum": 30,
      +  "type": "integer"
      +}
    • removedInput schema / properties / units / title
      Removed value: -"Units"
    • removedInput schema / properties / view / title
      Removed value: -"View"
    • removedInput schema / title
      Removed value: -"revit_link_cadArguments"
    • removedOutput schema / title
      Removed value: -"revit_link_cadDictOutput"
  2. Addedv0.9.1

TDQS

B3.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and idempotentHint=false, so the safety profile is covered. The description adds two pieces of non-obvious behavior: 'on the Revit workstation' tells the agent the path is resolved server-side rather than on the caller's machine, and the note that layer counts and XY extents only account for lines and polylines warns the agent not to over-trust reported extents. It still omits that it mutates the open document, that repeated calls may add duplicate links, and that dry_run exists.

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?

Two dense sentences, front-loaded with the action, and no filler. The phrasing of the second sentence is slightly cryptic — 'layer counts and XY extents' has no stated referent (presumably a returned summary) — so it costs a little clarity without wasting words.

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

Completeness2/5

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

An output schema exists, so return values needn't be explained, but this is a destructive 10-parameter document mutation and the description covers none of the parameters and none of the preconditions (open target document, path readable by the Revit workstation, units auto-detection). It answers 'what' adequately and 'how to call it correctly' barely at all.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 10% — only `document` is documented — across 10 parameters including ambiguous ones (view as string|int|null, origin and units enums, layers, dry_run, timeout). 'Link or import' implicitly maps onto the `link` boolean, which is the sole semantic gain; the description says nothing about how `view`, `level`, `units` or `origin` affect placement, leaving the agent dependent on bare schema types.

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?

The description gives a specific verb+resource pair ('Link or import a DWG into a plan view') plus the machine the operation targets, which is enough to distinguish it from siblings like revit_walls_from_cad that consume CAD rather than attach it. It stops short of naming any sibling explicitly as an alternative.

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

Usage Guidelines2/5

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

There is no when-to-use / when-not-to-use guidance: nothing says when to link versus import beyond the schema's `link` flag, no prerequisites are stated (an open document, a resolvable path), and no alternative tool is mentioned. The second sentence is a caveat about results, not a routing rule.

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