Skip to main content
Glama
Model MCP

Model MCP

Model Health Check

revit_model_health

Reads Revit model quality counts—project metadata, file size, units, top warning groups—and can write an .xlsx health report with up to five snapshots.

Instructions

Read model quality counts: project metadata, file size, counts, units and the ten most frequent warning groups. Unavailable metrics are null and listed in skipped. output_path also writes an .xlsx health report with up to five snapshots. skipped means incomplete; skippedCount is the total skipped.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "revit_model_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentNoSession documentId, full path, title/file substring; selects among several Revit instances.
process_idNoProcess ID; must also match document.
output_pathNoNew .xlsx health report path, resolved on the machine running this server; parent must exist and existing files are refused.
timeout_secondsNoSeconds to wait for a result (default 120).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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."
  2. Changed2 schema fields changedv2.0.0
    • changedInput schema / properties / output_path / description
      Previous value: -"New .xlsx health report path on the MCP server machine; parent must exist and existing files are refused."New value: +"New .xlsx health report path, resolved on the machine running this server; parent must exist and existing files are refused."
    • 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"
      -}
  3. Changed12 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"
    • addedInput schema / properties / output_path
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "New .xlsx health report path on the MCP server machine; parent must exist and existing files are refused."
      +}
    • 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"
    • 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 / save_to
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "default": null,
      -  "description": "New .xlsx health report path on the MCP server machine; parent must exist and existing files are refused.",
      -  "title": "Save To"
      -}
    • 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 / title
      Removed value: -"revit_model_healthArguments"
    • removedOutput schema / title
      Removed value: -"revit_model_healthDictOutput"
  4. Changed1 schema field changedv0.9.1
    • addedInput schema / properties / save_to
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "New .xlsx health report path on the MCP server machine; parent must exist and existing files are refused.",
      +  "title": "Save To"
      +}
  5. Changed2 schema fields changedv0.7.0
    • changedInput schema / properties / document / description
      Previous value: -"Case-insensitive substring of the target active document title or file name; default null leaves requests unaddressed, so any instance may respond. Use a unique substring with multiple instances; revit_list_instances instead returns all matching instances, or all instances when omitted."New 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."
    • addedInput schema / properties / process_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Exact positive Revit process ID. Takes precedence over document; if both are supplied they must agree.",
      +  "title": "Process Id"
      +}
  6. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / document / description
      Added value: +"Case-insensitive substring of the target active document title or file name; default null leaves requests unaddressed, so any instance may respond. Use a unique substring with multiple instances; revit_list_instances instead returns all matching instances, or all instances when omitted."
    • addedInput schema / properties / pickup_timeout_seconds / description
      Added 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."
    • addedInput schema / properties / timeout_seconds / description
      Added 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."
  7. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, which could puzzle an agent given the verb "Read"; the description resolves this by disclosing that output_path writes an .xlsx file, so the non-read-only flag is explained rather than contradicted. It additionally defines the failure semantics: unavailable metrics come back null and appear in skipped, and skippedCount is the total skipped. Missing are rate/timeout behavior and what happens on partial collection.

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 compact sentences, front-loaded with the output inventory, then the conditional file write, then the null/skipped convention. No filler. The closing clause about skippedCount is terse to the point of being slightly cryptic without seeing the output schema.

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?

Four optional parameters, all schema-documented, and an output schema exists so return shape need not be explained. The description covers the one non-obvious side effect (xlsx report with up to five snapshots) and the null/skipped convention, which is what an agent needs to interpret results. Only the absence of sibling routing guidance keeps it from full completeness.

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

Parameters3/5

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

Schema description coverage is 100%, so document, process_id, timeout_seconds and output_path are already well documented in the schema, and the description correctly does not repeat them. It adds one piece of meaning beyond the schema: the generated report holds up to five snapshots. That is useful but narrow, so the baseline of 3 for a fully documented schema applies.

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?

"Read model quality counts" pairs a specific verb with a specific resource and then enumerates the payload (project metadata, file size, counts, units, ten most frequent warning groups). An agent knows exactly what this returns. What it does not do is distinguish itself from nearby siblings like revit_model_audit or revit_audit_report, which an agent could easily confuse with a health check.

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 explicit when-to-use or when-not-to-use guidance, and no alternative tool is named. The only conditional behavior stated is that supplying output_path also produces an .xlsx report, which is a parameter effect rather than selection guidance. An agent must infer this is the lightweight quality-counts call rather than an audit.

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