Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

techdraw_create_section

Create a model-linked orthogonal section view from a base view, using a cut plane origin and normal to place it on a drawing page; invalid bases or cuts are rejected.

Instructions

Create a model-linked orthogonal native section; reject missing bases and invalid cuts.

Contract: explicit internal names recommended. Length mm, area mm^2, volume mm^3; field units override defaults. Errors: invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout; transport failures are possible. Timeout is not cancellation: never blindly retry mutations. Legacy return shape preserved.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "doc_name": "<doc_name>",
      "page_name": "<page_name>",
      "base_view": "<base_view>",
      "origin": "<origin>",
      "normal": "<normal>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "techdraw_create_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesPaper position in mm from bottom left.
yYesPaper position in mm from bottom left.
nameNoExplicit internal document or drawing object Name.Section
scaleNoPositive paper/model scale ratio; 1 means 1:1.
normalYesNonzero cut normal perpendicular to base viewing direction.
originYesCut plane origin in document-global mm.
doc_nameYesExplicit internal document or drawing object Name.
base_viewYesExplicit internal document or drawing object Name.
page_nameYesExplicit internal document or drawing object Name.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
statusYes
warningsNo
referencesNo
contract_versionNo1.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.2

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description bears the full disclosure burden. It does useful work by listing error codes, stating units and that field units override defaults, and warning that timeouts are not cancellation so mutations must not be blindly retried. But it never says what object is produced or where it lands (page vs. document container), whether the operation is reversible, or what permissions/state the base view and page must be in beyond "missing bases" rejection.

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?

The purpose is front-loaded in the first clause, followed by a compact contract block of preconditions, units, errors, and retry safety. A few phrases are filler or cryptic, notably "transport failures are possible" and the unexplained "Legacy return shape preserved," but overall there is little waste.

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 nine-parameter mutation with an output schema and no annotations, the description covers error taxonomy, unit conventions, and retry safety, which are the highest-risk gaps. What remains missing is the object lifecycle side: whether a new section view is added to the named page, and what existing geometry or views are unaffected. That is a real but narrow gap given the output schema exists.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all nine parameters including the mm units on x/y and the cut plane origin. The description adds only the units-override rule and the recommendation to use explicit internal names, which is mild added meaning over structured data and justifies the baseline rather than exceeding it.

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 opens with a specific verb and resource plus qualifying attributes: "Create a model-linked orthogonal native section." That distinguishes it from a plain view or detail creation tool, though it never names how it differs from sibling section producers like part_section. An agent can identify the operation, but the differentiator is left implicit.

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?

Usage is implied by "reject missing bases and invalid cuts," which tells the agent preconditions (a base view must exist and the cut must be valid) but not when to pick this over techdraw_create_detail or part_section. There are no explicit when/when-not rules or named alternatives, leaving routing to inference.

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