Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

techdraw_create_view

Creates a native model-linked single projection on a TechDraw page at given paper coordinates, using a nonzero viewing direction and optional scale.

Instructions

Create a native model-linked single projection. Direction is a nonzero document-global viewing vector.

Coordinates locate the view center on paper; no automatic fit or overlap prevention is promised.

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>",
      "source_names": "<source_names>",
      "direction": "<direction>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "techdraw_create_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesPaper position in mm from bottom left.
yYesPaper position in mm from bottom left.
nameNoExplicit internal document or drawing object Name.View
scaleNoPositive paper/model scale ratio; 1 means 1:1.
doc_nameYesExplicit internal document or drawing object Name.
directionYesNonzero dimensionless document-global viewing vector [x,y,z].
page_nameYesExplicit internal document or drawing object Name.
source_namesYesUnique shape object Names in the page document; sources remain visible.

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

A3.6/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 load and does so well: it warns that no auto-fit or overlap prevention occurs, lists concrete error codes, and flags that a timeout is not cancellation so mutations must not be blindly retried. Gaps remain — no permission or transaction semantics beyond the error name, and 'Legacy return shape preserved' is opaque rather than informative.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded and the error/retry guidance is useful, but the 'Length mm, area mm^2, volume mm^3' unit boilerplate is irrelevant to a tool with no area or volume parameters, and 'Legacy return shape preserved' spends words without conveying meaning. The dense 'Contract:' run-on reduces scannability.

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 an 8-parameter mutation with no annotations and an output schema present, the description covers the essential unknowns: direction semantics, paper-coordinate placement, naming expectations, unit conventions, failure modes, and retry caution. It omits what model-linking implies for subsequent document edits, but that is a minor gap given the schema already documents source visibility.

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 baseline is 3. The description adds only modest value beyond the schema: it restates the direction vector's nonzero document-global nature and that x/y locate the view center on paper, both already documented per-field. 'Explicit internal names recommended' and the unit-override rule are the only genuinely additive parameter guidance.

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 first sentence gives a specific verb and resource ('Create a native model-linked single projection'), and 'single' implicitly contrasts with the projection-group sibling. It stops short of naming the alternative explicitly, so an agent must infer the boundary rather than read it.

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 only implied: 'no automatic fit or overlap prevention is promised' hints that fit_view or manual layout may be needed afterward, but no alternative is named and no condition for choosing this over techdraw_create_projection_group is given. The agent must infer when a single view is preferred over a group.

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