Skip to main content
Glama
Model MCP

Model MCP

Capture Elements

revit_capture_elements

Capture 1-500 Revit elements as PNG in 3D or plan view, with temporary views that roll back; skipped items are reported for incomplete captures.

Instructions

Capture 1-500 elements as PNG (3d/plan, local/SSH); temporary view rolls back. skipped means incomplete; skippedCount is the total skipped.

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": {
      "element_ids": "<element_ids>"
    },
    "name": "revit_capture_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo3d
documentNoSession documentId, full path, title/file substring; selects among several Revit instances.
padding_mmNo
pixel_sizeNoPNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images.
process_idNoProcess ID; must also match document.
element_idsYes
output_pathNoNew PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath.
camera_coordinate_baseNoshared

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.1.0
    • addedInput schema / properties / camera_coordinate_base
      Added value: +{
      +  "default": "shared",
      +  "enum": [
      +    "shared",
      +    "internal"
      +  ],
      +  "type": "string"
      +}
    • 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
    • changedInput schema / properties / output_path / description
      Previous value: -"New PNG path on the MCP client machine; an existing file is an error. Default null downloads to a temporary directory and returns localPath."New value: +"New PNG path, resolved on the machine running this server; an existing file is an error. Default null downloads to a temporary directory and returns localPath."
  3. Changed13 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 / element_ids / title
      Removed value: -"Element Ids"
    • removedInput schema / properties / mode / title
      Removed value: -"Mode"
    • addedInput schema / properties / output_path
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "New PNG path on the MCP client machine; an existing file is an error. Default null downloads to a temporary directory and returns localPath."
      +}
    • removedInput schema / properties / padding_mm / title
      Removed value: -"Padding Mm"
    • changedInput schema / properties / pixel_size / description
      Previous value: -"PNG size in pixels along the fitted image dimension, an integer from 1 to 4000. Default 1600 fits the view at that size while preserving its aspect ratio."New value: +"PNG size in pixels along the fitted dimension, 32 to 4000 (default 1600); Revit rejects smaller images."
    • changedInput schema / properties / pixel_size / minimum
      Previous value: -1New value: +32
    • removedInput schema / properties / pixel_size / title
      Removed value: -"Pixel Size"
    • 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 PNG file path on the MCP client machine, not the Revit host; an existing destination causes an error. Default null downloads to a local temporary directory and returns localPath.",
      -  "title": "Save To"
      -}
    • removedInput schema / title
      Removed value: -"revit_capture_elementsArguments"
  4. Addedv0.9.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false, and the description adds real value on top by disclosing that the temporary view rolls back and by explaining the partial-failure semantics ('skipped means incomplete; skippedCount is the total skipped'). It still omits permission/authentication needs, whether existing output files fail the call (only the schema says that), and how failures affect already-written PNGs.

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?

Two dense, front-loaded clauses with no filler; the constraint and the rollback guarantee come first and the result semantics second. The telegraphic phrasing ('skipped means incomplete') costs a little readability but nothing is redundant.

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?

For an 8-parameter, non-idempotent tool that writes a PNG file and has no output schema, the description covers the critical behaviors: element cap, view mode, disk/S SH resolution, transactional rollback, and the meaning of skipped/skippedCount in the result. Remaining gaps (padding and camera base semantics, permission prerequisites) are moderate rather than blocking.

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 50%, so half the parameters are undocumented in either place. The description compensates partially by supplying the element_ids range (1-500) and the concrete mode values (3d, plan) plus the local/SSH distinction for output resolution, but padding_mm, camera_coordinate_base, and the enum's full semantics get no help.

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 gives a specific verb and resource ('Capture ... elements as PNG') plus scope ('1-500') and supported view/output modes ('3d/plan, local/SSH'). It is clearly distinct from query/aggregate siblings, though it never names an alternative, so sibling differentiation is implied rather than explicit.

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?

Usage is implied by the parenthetical modes (3d/plan, local/SSH) and the 1-500 bound, so an agent can infer that this is the image-rendering tool. However, there is no explicit when-to-use, when-not-to-use, or comparison against image/aggregate siblings, leaving routing decisions to inference.

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