Skip to main content
Glama
ahelja

FreeCAD MCP

by ahelja

close_document

Close an active FreeCAD document, optionally saving changes first to avoid losing unsaved work.

Instructions

Close a document, optionally saving it first. Unsaved changes are lost.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
saveNo
documentNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

The description warns 'Unsaved changes are lost,' which is a critical behavioral disclosure for a destructive operation. However, with no annotations, it does not explain what happens when document is null, whether permissions are required, or what the return value indicates. Some behavioral context is added but significant gaps remain.

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 a single well-structured sentence. It front-loads the core action ('Close a document'), then adds the optional save behavior and the key warning. No unnecessary words.

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?

Despite being a low-complexity tool, the description leaves out essential usage details such as how to specify which document to close and the effect of the save boolean. The presence of an output schema reduces the need to describe return values, but the missing parameter semantics and lack of usage guidance make it incomplete for reliable agent invocation.

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

Parameters2/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. The phrase 'optionally saving it first' loosely references the save parameter, but the document parameter is never mentioned or explained. The description adds minimal meaning beyond the raw schema.

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?

The description clearly states the verb 'close' and the resource 'document', and explicitly notes the optional save behavior. This distinguishes it from siblings like open_document and save_document.

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?

The description does not say when to use this tool vs alternatives. It does not mention save_document for saving without closing, nor does it clarify how this differs from open_document or list_documents. Usage context is only implied by the name.

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/ahelja/FreeCAD-MCP'

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