Skip to main content
Glama

get_current_view_elements

Retrieve elements from the active Revit view, filtering by model or annotation categories to manage BIM data efficiently.

Instructions

Get elements from the current active view in Revit. You can filter by model categories (like Walls, Floors) or annotation categories (like Dimensions, Text). Use includeHidden to show/hide invisible elements and limit to control the number of returned elements.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelCategoryListNoList of Revit model category names (e.g., 'OST_Walls', 'OST_Doors', 'OST_Floors')
annotationCategoryListNoList of Revit annotation category names (e.g., 'OST_Dimensions', 'OST_WallTags', 'OST_TextNotes')
includeHiddenNoWhether to include hidden elements in the results
limitNoMaximum number of elements to return
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses some behavioral traits: it's a read operation ('Get'), mentions filtering by categories, and describes what 'includeHidden' and 'limit' do. However, it lacks details on permissions, rate limits, error conditions, or what happens if no view is active, leaving gaps for a mutation-free tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core purpose, followed by concise explanations of key parameters. Every sentence adds value without redundancy, making it efficient and well-structured for quick understanding.

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?

Given no annotations and no output schema, the description is moderately complete. It covers the tool's purpose and parameters but lacks details on return values, error handling, or dependencies. For a read tool with 4 parameters, it's adequate but has clear gaps in behavioral context.

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 the schema already documents all parameters thoroughly. The description adds minimal value by briefly mentioning 'model categories' and 'annotation categories' and explaining 'includeHidden' and 'limit' in simple terms, but it doesn't provide additional syntax or format details beyond the schema. Baseline 3 is appropriate here.

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 clearly states the tool's purpose: 'Get elements from the current active view in Revit.' It specifies the verb ('Get') and resource ('elements'), and mentions filtering capabilities. However, it doesn't explicitly differentiate from sibling tools like 'get_selected_elements' or 'get_current_view_info', which would require a 5.

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 description implies usage context by mentioning filtering options and parameters like 'includeHidden' and 'limit', but it doesn't provide explicit guidance on when to use this tool versus alternatives. For example, it doesn't compare to 'get_selected_elements' or specify prerequisites like needing an active view.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mohamed-Elnahla/revit-mcp-github-copilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server