Skip to main content
Glama
Model MCP

Model MCP

Audit the model against rules

revit_model_audit

Audit live or offline Revit models against rule sets, compare results with previous snapshots, and capture visual evidence for compliance review.

Instructions

Audit live or offline snapshots_dir with per-model history. capture_evidence: 25 PNGs/210s. skippedCount counts omissions.

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_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
saveNo
rulesNo
documentNodoc: ID/path/title across several Revit instances.
process_idNoRevit PID; must match document.
batch_modelsNo
compare_withNoprevious
rules_inlineNo
snapshots_dirNo
timeout_secondsNoResult wait in seconds.
capture_evidenceNo
camera_coordinate_baseNoshared

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. Changed6 schema fields changedv2.1.0
    • addedInput schema / properties / batch_models
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
    • addedInput schema / properties / camera_coordinate_base
      Added value: +{
      +  "default": "shared",
      +  "enum": [
      +    "shared",
      +    "internal"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / capture_evidence
      Added value: +{
      +  "default": false,
      +  "type": "boolean"
      +}
    • 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."
    • addedInput schema / properties / snapshots_dir
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null
      +}
  3. Addedv2.0.0

TDQS

C2.8/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, so the description must carry most behavioral burden. It does add two useful facts: capture_evidence costs 25 PNGs and 210s, and skippedCount reports omissions. It omits what save=true does, whether auditing mutates the model, how batch_models behaves, and what compare_with options mean.

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 terse fragments with zero filler and the cost caveat front-loaded. The telegraphic style is efficient, though 'per-model history' and 'skippedCount counts omissions' are terse enough to be vague without context.

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?

Eleven parameters, zero required, 27% schema coverage, and an output schema present (so return values needn't be explained). Still, for a multi-mode audit with a save flag and rule sources, missing guidance on save, rules vs rules_inline, batch_models, and compare_with leaves real gaps. Contextual completeness is not adequate for this complexity.

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 coverage is only 27%: document and process_id have descriptions and camera_coordinate_base has an enum, but save, rules, rules_inline, batch_models, compare_with, snapshots_dir, and capture_evidence are undocumented. The description compensates for snapshots_dir, capture_evidence cost, and skippedCount, but save, rules, rules_inline, batch_models, and compare_with remain opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Audit live or offline snapshots_dir with per-model history" states the verb (audit) and two modes (live model vs snapshots_dir), which is more than a restatement. But it never says what 'rules' mean or how this differs from siblings like revit_audit_report, revit_family_audit, or revit_model_health. The purpose is narrower than 'Audit the model against rules' implies because offline directory auditing is also included.

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?

No when-to-use or when-not-to-use guidance. The description implies two paths (live document vs snapshots_dir) but does not say when to pick one, nor route an agent to revit_audit_report or revit_model_health instead. The only capability hint is the parenthetical cost note on capture_evidence.

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