Skip to main content
Glama
Model MCP

Model MCP

Compare Link Datums

revit_compare_link_datums
Read-onlyIdempotent

Compare host Revit grids and levels against one loaded link without changing the model; skippedCount reports omitted matches.

Instructions

Compare host grids and levels with one loaded Revit link. Changes nothing. skippedCount counts omissions.

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": {
      "link": "<link>"
    },
    "name": "revit_compare_link_datums"
  }
}

Input Schema

NameRequiredDescriptionDefault
linkYes
kindsNo
prefixNo
suffixNo
documentNodoc: ID/path/title across several Revit instances.
name_mapNo
process_idNoRevit PID; must match document.
tolerance_mmNo
reuse_matchingNo
level_offset_mmNo
timeout_secondsNoResult wait in seconds.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv3.0.0
    • changedInput schema / properties / document / description
      Previous value: -"Session documentId, full path, title/file substring; selects among several Revit instances."New value: +"doc: ID/path/title across several Revit instances."
    • changedInput schema / properties / process_id / description
      Previous value: -"Process ID; must also match document."New value: +"Revit PID; must match document."
    • changedInput schema / properties / timeout_seconds / description
      Previous value: -"Seconds to wait for a result (default 120)."New value: +"Result wait in seconds."
  2. Changed2 schema fields changedv2.1.0
    • changedInput schema / properties / document / description
      Previous value: -"Title or file name substring of the target document; needed when several Revit instances run."New value: +"Session documentId, full path, title/file substring; selects among several Revit instances."
    • changedInput schema / properties / process_id / description
      Previous value: -"Revit process ID; takes precedence over document."New value: +"Process ID; must also match document."
  3. Changed1 schema field changedv2.0.0
    • removedInput schema / properties / pickup_timeout_seconds
      Removed value: -{
      -  "default": 300,
      -  "description": "Seconds to wait for the add-in to pick up the job (default 300); unused over HTTP.",
      -  "type": "integer"
      -}
  4. Changed18 schema fields changedv0.10.0
    • changedInput schema / properties / document / description
      Previous value: -"Case-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."New value: +"Title or file name substring of the target document; needed when several Revit instances run."
    • removedInput schema / properties / document / title
      Removed value: -"Document"
    • removedInput schema / properties / kinds / title
      Removed value: -"Kinds"
    • removedInput schema / properties / level_offset_mm / title
      Removed value: -"Level Offset Mm"
    • removedInput schema / properties / link / title
      Removed value: -"Link"
    • removedInput schema / properties / name_map / title
      Removed value: -"Name Map"
    • changedInput schema / properties / pickup_timeout_seconds / description
      Previous value: -"Positive 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."New value: +"Seconds to wait for the add-in to pick up the job (default 300); unused over HTTP."
    • removedInput schema / properties / pickup_timeout_seconds / title
      Removed value: -"Pickup Timeout Seconds"
    • removedInput schema / properties / prefix / title
      Removed value: -"Prefix"
    • changedInput schema / properties / process_id / description
      Previous value: -"Exact positive Revit process ID. Takes precedence over document; if both are supplied they must agree."New value: +"Revit process ID; takes precedence over document."
    • removedInput schema / properties / process_id / title
      Removed value: -"Process Id"
    • removedInput schema / properties / reuse_matching / title
      Removed value: -"Reuse Matching"
    • removedInput schema / properties / suffix / title
      Removed value: -"Suffix"
    • changedInput schema / properties / timeout_seconds / description
      Previous value: -"Positive 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."New value: +"Seconds to wait for a result (default 120)."
    • removedInput schema / properties / timeout_seconds / title
      Removed value: -"Timeout Seconds"
    • removedInput schema / properties / tolerance_mm / title
      Removed value: -"Tolerance Mm"
    • removedInput schema / title
      Removed value: -"revit_compare_link_datumsArguments"
    • removedOutput schema / title
      Removed value: -"revit_compare_link_datumsDictOutput"
  5. Addedv0.7.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so 'Changes nothing' merely restates structured data. The only added behavioral detail is that skippedCount reports omitted datums, which clarifies one output field but leaves matching behavior (tolerance, name mapping, offsets) undisclosed.

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?

Three short sentences with the core operation front-loaded and no filler. The terseness is efficient, though it undersells the complexity of an 11-parameter comparison tool.

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 need not be explained, but for an 11-parameter tool with 27% schema coverage the description omits how datums are matched (tolerance, prefix/suffix, name_map, reuse_matching, level_offset). The one output detail about skippedCount is not enough to let an agent invoke this correctly without reading the schema closely.

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 27% across 11 parameters, so the schema cannot carry the burden, and the description adds no meaning for link, kinds, prefix/suffix, name_map, tolerance_mm, reuse_matching, or level_offset_mm. The 'skippedCount' sentence describes an output, not an input, so parameter semantics remain effectively undocumented beyond the schema.

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 names a specific verb (compare) and specific resources (host grids and levels vs. one loaded Revit link), plus a scope constraint of a single link. It does not distinguish itself from the sibling revit_align_link_datums, which performs the adjacent operation, so an agent must infer the difference from the phrase 'Changes nothing.'

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?

'Changes nothing' hints that this is the read-only counterpart to alignment, but the description never states when to use this versus revit_align_link_datums or any prerequisite (e.g., a link must be loaded in the active document). The phrase 'one loaded Revit link' is a constraint, not usage guidance.

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