Skip to main content
Glama
Model MCP

Model MCP

Close Views

revit_close_views
Read-only

Close open UI views in the active Revit document, optionally keeping the active view open, to clean up the workspace before auditing or editing.

Instructions

Close open UI views in the active document.

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_close_views"
  }
}

Input Schema

NameRequiredDescriptionDefault
viewsNo
process_idNo
keep_activeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.10.0
    • removedInput schema / properties / keep_active / title
      Removed value: -"Keep Active"
    • removedInput schema / properties / process_id / title
      Removed value: -"Process Id"
    • removedInput schema / properties / views / title
      Removed value: -"Views"
    • removedInput schema / title
      Removed value: -"revit_close_viewsArguments"
    • removedOutput schema / title
      Removed value: -"revit_close_viewsDictOutput"
  2. Addedv0.9.1

TDQS

C2.6/5.0
Behavior2/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=false, so safety is nominally covered. But the description adds nothing about the behavior that actually matters here: whether omitting 'views' closes all views, whether the active view can be closed, or whether unsaved view state is lost. The only hint at such behavior lives in an undocumented parameter name.

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 no filler or redundancy. It is appropriately tight, though the brevity comes at the cost of the substance penalized in other dimensions rather than from good editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists, so return values need not be described, but nothing about the three optional parameters or the all-views default is covered. For a tool whose entire behavior depends on optional arguments, one sentence is not sufficient context for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across three parameters, and the description mentions none of them. 'views', 'process_id', and 'keep_active' (defaulting to true, which strongly implies it prevents closing the active view) are entirely unexplained, so the agent gets no help resolving name lists, process scoping, or the keep-active semantics.

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?

"Close open UI views in the active document" gives a specific verb (close) and resource (UI views) plus a scope qualifier (active document). It does not distinguish itself from siblings such as revit_close_document, revit_activate_view, or revit_list_views, so an agent must infer the boundary itself.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus revit_close_document or revit_activate_view, no prerequisites, and no mention of what happens when the views parameter is omitted. The agent is left to infer whether a call with no arguments closes every open view or does nothing.

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