Skip to main content
Glama
Model MCP

Model MCP

Parameter Fill Check

revit_parameter_fill_check
Read-onlyIdempotent

Count filled, empty, and missing parameters by category and parameter in Revit models, with sample element IDs for empty and missing values.

Instructions

Count filled, empty and missing parameters per parameter and category, with samples of empty and missing element IDs. Numeric zero counts as filled. 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": {
      "categories": "<categories>",
      "parameters": "<parameters>"
    },
    "name": "revit_parameter_fill_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewNoExact non-template view name; limits the search to that view.
levelNo
worksetNo
documentNodoc: ID/path/title across several Revit instances.
categoriesYesCategory names (1 to 20) from the categories catalog; matches any listed category.
parametersYesExact localized parameter names (1 to 30); names that do not match count as missing.
process_idNoRevit PID; must match document.
sample_limitNoMaximum sampled element IDs per empty and missing list, 1 to 100 (default 20); counts always cover all elements.
include_typesNo
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. Changed21 schema fields changedv0.10.0
    • changedInput schema / properties / categories / description
      Previous value: -"Required list of 1-20 category names from the categories catalog; no default. Matches any listed category and combines with level, workset and view filters."New value: +"Category names (1 to 20) from the categories catalog; matches any listed category."
    • removedInput schema / properties / categories / title
      Removed value: -"Categories"
    • 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 / include_types / title
      Removed value: -"Include Types"
    • removedInput schema / properties / level / title
      Removed value: -"Level"
    • changedInput schema / properties / parameters / description
      Previous value: -"Required list of 1-30 exact localized parameter names; no default. Each name uses the first LookupParameter match, with type fallback controlled by include_types; missing names are counted as missing."New value: +"Exact localized parameter names (1 to 30); names that do not match count as missing."
    • removedInput schema / properties / parameters / title
      Removed value: -"Parameters"
    • 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"
    • changedInput schema / properties / sample_limit / description
      Previous value: -"Maximum element IDs sampled per parameter for each empty and missing list, an integer from 1 to 100. Default 20 limits samples only; all matching elements contribute to counts."New value: +"Maximum sampled element IDs per empty and missing list, 1 to 100 (default 20); counts always cover all elements."
    • removedInput schema / properties / sample_limit / title
      Removed value: -"Sample Limit"
    • 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"
    • changedInput schema / properties / view / description
      Previous value: -"Exact non-template view name from the views catalog, matched case-insensitively, to restrict the element collector. Default null searches the document without a view filter; combines with the other model filters."New value: +"Exact non-template view name; limits the search to that view."
    • removedInput schema / properties / view / title
      Removed value: -"View"
    • removedInput schema / properties / workset / title
      Removed value: -"Workset"
    • removedInput schema / title
      Removed value: -"revit_parameter_fill_checkArguments"
    • removedOutput schema / title
      Removed value: -"revit_parameter_fill_checkDictOutput"
  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. Changed7 schema fields changedv0.1.1
    • addedInput schema / properties / categories / description
      Added value: +"Required list of 1-20 category names from the categories catalog; no default. Matches any listed category and combines with level, workset and view filters."
    • 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 / parameters / description
      Added value: +"Required list of 1-30 exact localized parameter names; no default. Each name uses the first LookupParameter match, with type fallback controlled by include_types; missing names are counted as missing."
    • 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 / sample_limit / description
      Added value: +"Maximum element IDs sampled per parameter for each empty and missing list, an integer from 1 to 100. Default 20 limits samples only; all matching elements contribute to counts."
    • 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."
    • addedInput schema / properties / view / description
      Added value: +"Exact non-template view name from the views catalog, matched case-insensitively, to restrict the element collector. Default null searches the document without a view filter; combines with the other model filters."
  7. First observed

TDQS

A3.6/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 safety is covered. The description adds genuine behavioral rules beyond that: numeric zero counts as filled, missing names count as missing parameters, and skippedCount reports omissions. It does not explain result caps or performance behavior, but for a read-only analysis tool this is useful added context.

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 with the core operation front-loaded and the two counting rules following. No filler, though the sentences are dense enough that the count-rule caveats could be separated more clearly.

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?

With an output schema present, the description need not explain return values, yet it helpfully clarifies skippedCount and sample semantics. However, for a 10-parameter tool it omits the scope parameters (level, workset, include_types) and any usage context, so it is adequate rather than complete.

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 70%, so most parameters are already documented. The description adds interpretive meaning about how counts and samples behave, but says nothing about the undocumented level, workset and include_types parameters, leaving that gap unaddressed.

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?

States a specific verb and resource: counts filled, empty and missing parameters broken down per parameter and category, with sampled element IDs. This clearly separates it from mutation siblings like revit_set_parameter and from generic element tools like revit_aggregate_elements, though no sibling is named explicitly.

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?

The purpose implies a data-quality audit use case, but the description never states when to choose this over alternatives (e.g. revit_audit_report) or any prerequisites such as needing an active document. Usage is inferable rather than guided.

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