Skip to main content
Glama
Axus Revit

Axus Revit

save_document

Save the active Revit document to disk so your work persists. Use it to write changes before closing or restarting Revit, or to save a template-based model to a .rvt path for the first time.

Instructions

Save the active Revit document to disk so work persists.

If file_path is given (or the document was started from a template and has never been saved), performs Save As to that path. Otherwise saves the document in place. Use this to persist a model before closing or restarting Revit.

Args: file_path: Full .rvt path to save to, e.g. "C:\Models\ESB.rvt" (required the first time a template-based model is saved) overwrite: Overwrite an existing file at that path (defaults to True) ctx: MCP context for logging

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

Input Schema

NameRequiredDescriptionDefault
file_pathNo
overwriteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does real work: it explains the Save As vs in-place branching, notes that a template-derived model must supply a path on its first save, and discloses the overwrite default of True. It omits what happens on failure (invalid path, file locked, overwrite=False against an existing file) and any worksharing/central-model caveats, which matters for a mutation 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?

Front-loads the primary action and the branching rule before the Args block, with no filler prose. The Args section mildly duplicates the schema's defaults, but that repetition is justified given zero schema descriptions.

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 a two-parameter mutation tool with no annotations and no output schema, the description covers the decision logic, path format, and overwrite behavior. What remains unstated are error conditions and permission/central-model requirements, leaving a small but real gap for a write operation.

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

Parameters5/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: file_path is defined as a full .rvt path with a concrete example plus a conditional-requirement note, and overwrite is explained as overwriting an existing file with its default. Only 'ctx' is described but absent from the schema, a minor mismatch.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Save the active Revit document to disk') and immediately qualifies the two modes it can take: Save As to a supplied path versus an in-place save. An agent can tell exactly what this does without consulting the schema.

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

Usage Guidelines4/5

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

Gives a clear situational trigger: 'Use this to persist a model before closing or restarting Revit.' It does not name any alternative or exclusion (e.g., when to prefer export_document or a save-as style operation), so it stops short of full routing guidance.

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