Skip to main content
Glama
sharafutdinovdi

Revit Model MCP

Rotate Elements

revit_rotate
Destructive

Rotate Revit elements around a vertical axis through a specified center or their combined bounding box center, with a dry-run option to preview changes without committing.

Instructions

Rotate elements about a vertical axis through center_mm, or through their combined bounding box center. dry_run rolls back. Group members, pinned, hosted and constrained elements are reported in skipped.inGroup, skipped.pinned, skipped.hosted and skipped.constrained and are not changed; the call is refused if every element is a group member.

Input Schema

NameRequiredDescriptionDefault
dry_runNo
documentNoTitle or file name substring of the target open document; needed when several are open.
angle_degYes
center_mmNo
element_idsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changedv0.10.0
    • removedInput schema / properties / angle_deg / title
      Removed value: -"Angle Deg"
    • removedInput schema / properties / center_mm / title
      Removed value: -"Center Mm"
    • 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 / element_ids / title
      Removed value: -"Element Ids"
    • removedInput schema / title
      Removed value: -"revit_rotateArguments"
    • removedOutput schema / title
      Removed value: -"revit_rotateDictOutput"
  2. Addedv0.9.1

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already cover the safety profile (destructive=true, idempotent=false), and the description goes well beyond them: it names exactly which element categories are left unchanged (group members, pinned, hosted, constrained), reports where they surface (skipped.inGroup/pinned/hosted/constrained), states the full-refusal edge case, and discloses that dry_run performs a rollback.

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?

Front-loaded with the core action and pivot definition, then a dry_run note, then skip semantics. Every clause carries information, though the final sentence chains four skip categories plus a refusal rule into one dense run-on.

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 destructive mutation with annotations and an output schema (which the skipped.* references align with), the description covers pivots, preview/rollback, skip behavior and refusal conditions. It omits any note about document targeting or angle units, but overall an agent has what it needs to invoke correctly.

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 only 20% (document is the sole documented parameter), so the description must compensate. It does clarify the two highest-value parameters: center_mm's axis/pivot meaning including the default of using the combined bounding box center, and dry_run's rollback semantics. angle_deg and element_ids units/constraints remain unspecified, so it stops short of full compensation.

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 (rotate) plus the resource (elements) and even the precise rotation axis and pivot semantics. This cleanly distinguishes it from siblings like revit_move and revit_mirror without the agent needing to open 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 Guidelines3/5

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

Usage context is implied rather than stated: the description explains dry_run rollback and skip/refusal conditions, but never says when to prefer revit_rotate over revit_move, revit_mirror or revit_copy, nor what prerequisites exist (e.g. an open/active document). Guidance is adequate but leaves selection to inference.

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