Skip to main content
Glama

new_document

Create and activate a new FreeCAD document in AnkusDrive, returning its name so agents can start parametric design.

Instructions

Create a new FreeCAD document and make it active. Returns {doc: }.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNopart

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose two useful behaviors: that the new document is made active (a state mutation affecting other tools) and the return shape {doc: <name>}. It omits collision behavior, required permissions, or any rate/limits context.

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?

Two compact sentences, no filler, with the creation action and its side effect front-loaded ahead of the return value.

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?

Adequate for a trivial create tool with no output schema: action, side effect, and return shape are all present. However, nothing is said about the name parameter or what happens when a document with that name already exists, which an agent needs to call it correctly.

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 coverage is 0% and the single parameter name is never mentioned. The return hint '{doc: <name>}' weakly implies the parameter becomes the document name, but its purpose, default ('part'), and format constraints are left entirely to the caller.

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?

States a specific verb and resource ('Create a new FreeCAD document') plus an immediate side effect ('make it active'). The word 'new' implicitly distinguishes it from the sibling open_document, but no sibling is named explicitly, so it falls short of a 5.

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?

No when-to-use guidance, no prerequisites, and no mention of alternatives like open_document or set_active_document. The intended usage (starting a fresh model) is only weakly implied by the verb 'Create'.

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