Skip to main content
Glama

document_info

Retrieves the active Revit document’s title, path, units, levels, phases, worksharing status, and element counts by category so you can inspect model details in one call.

Instructions

Active document: title, path, units, levels, phases, worksharing, element counts by category.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 information content returned (a useful trait beyond the schema, which is empty), but it never states that the operation is read-only, that it has no side effects, or how it behaves with no open document. For a zero-parameter info tool the risk is low, but the disclosure is only partial.

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?

It is a single dense fragment with the subject front-loaded ('Active document:') followed by the returned fields, and no wasted words. The telegraphic style borders on under-specification, 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?

With an output schema present, the return values are documented elsewhere, and with zero parameters the schema burden is nil. The description adequately covers scope for a simple getter; the only gap is the absence of any note about requiring an open document or how it fails without one.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate beyond what the empty schema already shows. Baseline 4 applies.

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 names the concrete resource (the active document) and enumerates the data it returns: title, path, units, levels, phases, worksharing, element counts by category. That is specific enough to separate it from new_document/open_document/save_document, which manage documents rather than report metadata. It lacks an explicit verb ('returns'/'gets'), so it reads as a label rather than a statement of action.

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 phrase 'Active document' implicitly conveys the precondition that a document must already be open, which is useful context. However, there is no explicit when-to-use guidance, no mention of what happens if no document is open, and no pointer to siblings such as list_elements for browsing elements rather than counts.

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