Skip to main content
Glama
sharafutdinovdi

Revit Model MCP

Compare Link Datums

revit_compare_link_datums
Read-onlyIdempotent

Compare host grids and levels against one loaded Revit link to find datum mismatches without modifying the model or creating coordination warnings.

Instructions

Compare host grids and levels with one loaded Revit link. No model change is made.

A geometric match does not create a monitor relationship or later Coordination Review warnings.

If more than one Revit instance is running, document is required; otherwise any instance may respond. Non-empty skipped means the answer is incomplete; skippedCount includes entries beyond the first 100.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
linkYes
kindsNo
prefixNo
suffixNo
documentNoCase-insensitive substring of the target active document title or file name. Reads require exactly one matching instance; omitted document requires exactly one running instance. Zero or multiple matches fail before publishing. revit_list_instances returns all matching instances, or all running instances when omitted.
name_mapNo
process_idNoExact positive Revit process ID. Takes precedence over document; if both are supplied they must agree.
tolerance_mmNo
reuse_matchingNo
level_offset_mmNo
timeout_secondsNoPositive integer seconds to wait for a result after pickup (120 when omitted); HTTP uses this as its response budget. Expiry raises an error, and increasing it does not override the add-in's execution limits.
pickup_timeout_secondsNoPositive integer seconds to wait for the add-in to pick up a local or SSH job (300 when omitted); ignored over HTTP. A pickup timeout raises an error but the pending job may still execute later.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is free. The description adds genuinely useful behavior beyond that: a geometric match does not create a monitor relationship or trigger Coordination Review warnings, and a non-empty 'skipped' means the answer is incomplete (with a 100-entry cap implication).

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?

The most important facts (compare action, no model change, monitor-relationship caveat) are front-loaded, and the paragraphs are dense with no filler. It is terse to the point of losing some needed detail, but nothing is wasted.

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

Completeness3/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 need not be explained, and the description does cover the key caveats (no mutation, monitor semantics, skipped/incompleteness). For a 12-parameter tool it still leaves most parameter behavior undocumented, which is a real gap for correct invocation.

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?

With 12 parameters and only 33% schema coverage, the description should compensate heavily but does not. It says nothing about tolerance_mm, kinds, prefix/suffix, name_map, level_offset_mm or reuse_matching, leaving the majority of inputs ambiguous in both description and schema. It only reinforces the already-documented document-selection rule.

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 ('Compare') and resource ('host grids and levels') with scope ('one loaded Revit link'), which is clear enough to act on. It does not name the obvious sibling 'revit_align_link_datums', so the agent has to infer the read-only comparison vs. align distinction from the 'No model change is made' line rather than a direct routing cue.

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?

It provides a real conditional ('If more than one Revit instance is running, document is required; otherwise any instance may respond'), which is useful context. However, there is no explicit when-to-use vs. when-not guidance, and no contrast with the read/write sibling 'revit_align_link_datums' that an agent would weigh against it.

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