Skip to main content
Glama
Model MCP

Model MCP

Audit Families

revit_family_audit
Read-onlyIdempotent

Audit open Revit families or named project families without saving or loading changes; return parameter counts, unused parameter names, or full parameter metadata for cleanup and review.

Instructions

Audit an open family or named project families without saving or loading changes. Project mode takes exact family names or ["*"]; family mode takes none. detail="summary" returns parameter counts and up to 20 unused parameter names; detail="full" returns all parameter metadata with group IDs and groupName labels. The wildcard audits the first 200 editable families sorted by name; data.skipped lists each remaining name and reason, with skippedCount. 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_family_audit"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNosummary
documentNoSession documentId, full path, title/file substring; selects among several Revit instances.
familiesNo
process_idNoProcess ID; must also match document.
timeout_secondsNo

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. Changed1 schema field changedv2.0.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "summary",
      +  "enum": [
      +    "summary",
      +    "full"
      +  ],
      +  "type": "string"
      +}
  3. Changed9 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 / families / title
      Removed value: -"Families"
    • 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 / response_timeout_s
      Removed value: -{
      -  "default": 600,
      -  "maximum": 3600,
      -  "minimum": 30,
      -  "title": "Response Timeout S",
      -  "type": "integer"
      -}
    • addedInput schema / properties / timeout_seconds
      Added value: +{
      +  "default": 600,
      +  "maximum": 3600,
      +  "minimum": 30,
      +  "type": "integer"
      +}
    • removedInput schema / title
      Removed value: -"revit_family_auditArguments"
    • removedOutput schema / title
      Removed value: -"revit_family_auditDictOutput"
  4. Addedv0.7.0

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, it discloses that nothing is saved or loaded and documents the 200-family wildcard cap along with the skipped/skippedCount reporting behavior. This is meaningful context for interpreting partial results, though permission or error behavior is not covered.

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 description is front-loaded with the core action and mode routing, then the detail modes, then the wildcard/skip behavior. It is dense but mostly earns its space; the closing two clauses explaining skipped and skippedCount are slightly repetitive.

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?

An output schema exists, so return values need not be spelled out, and the description still covers the mode contract, the 200-family limit, and partial-result semantics. The main omission is guidance on choosing among several Revit instances via document/process_id and the timeout implications.

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 coverage is only 40%, so the description must compensate, and it does for the two most ambiguous parameters: families (exact names or ["*"], mode-dependent) and detail (summary versus full payload contents). The remaining parameters (document, process_id, timeout_seconds) are not clarified here, leaving a gap for timeout semantics in particular.

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?

The description names a specific verb (audit) and resource (families), and separates two concrete modes: an open family or named project families. That lets an agent distinguish it from the sibling audit tools (revit_audit_report, revit_model_audit) without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It states the input contract for each mode explicitly: project mode takes exact family names or ["*"], family mode takes none. The detail="summary" versus detail="full" choice is also explained with the output consequence of each. It stops short of naming sibling alternatives or stating when-not to use it.

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