Skip to main content
Glama

list_elements

List Revit element instances filtered by category or API class, with optional active-view and name-substring filters to quickly locate model elements.

Instructions

List element instances filtered by category name (e.g. 'Walls', 'Doors') or API class (e.g. 'Wall', 'FamilyInstance'), optionally only in the active view and/or by name substring.

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": "list_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
categoryNo
view_onlyNo
class_nameNo
name_containsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the filter dimensions and that they are optional and combinable, but says nothing about the 200-element cap implied by the limit parameter, whether results are truncated silently, or what happens with an unrecognized category — the most operationally relevant behavior for a listing tool.

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?

A single front-loaded sentence with the resource first and the filters after, and no filler. The nested parentheticals and stacked 'and/or' make it slightly denser than it needs to be, but nothing is wasted.

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?

An output schema exists, so return values need not be described. However, with no annotations and five params at 0% schema coverage, the description should have covered the result-cap semantics and default behavior; as written an agent could call it and be surprised by truncation.

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 description coverage is 0%, so the description must compensate, and it does for four of five parameters: category (with example values), class_name (with API-class examples), view_only, and name_contains. The limit parameter and its default cap of 200 are left entirely unexplained, which is the one meaningful gap.

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+resource ("List element instances") and names the two filtering axes with concrete examples ('Walls', 'Wall'). It is clearly a read/list tool distinguishable in spirit from delete_elements or select_elements, but it never explicitly contrasts itself with those siblings.

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 rather than stated: the agent learns you can filter by category name or API class and optionally combine with view scoping and name substring. There is no explicit when-to-use/when-not guidance, no mention of what to do when neither filter is supplied, and no pointer to a sibling such as select_elements.

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