Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

techdraw_create_projection_group

Creates a native first-angle Front/Top/Right projection group on a TechDraw page with linked model sources, enabling consistent multiview drawings.

Instructions

Create a native first-angle Front/Top/Right projection group with linked model sources.

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_projection_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesPaper position in mm from bottom left.
yYesPaper position in mm from bottom left.
nameNoExplicit internal document or drawing object Name.ProjectionGroup
scaleNoPositive paper/model scale ratio; 1 means 1:1.
doc_nameYesExplicit internal document or drawing object Name.
directionYesNonzero document-global front viewing vector.
page_nameYesExplicit internal document or drawing object Name.
source_namesYesUnique shape source Names in the page document.

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.7/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full disclosure burden and does so well: it enumerates the error taxonomy (invalid_arguments, document_not_found, object_not_found, transaction_conflict, operation_failed, execution_timeout), notes transport failures are possible, and clarifies that timeout is not cancellation so mutations must not be blindly retried. That is exactly the mutation-safety context annotations would otherwise provide. It does not state whether an existing object with the same name is overwritten or rejected, which is a remaining gap.

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 sentence is front-loaded, followed by a clearly labeled 'Contract:' block that groups units, errors, and retry semantics. Nearly every clause earns its place, though the dense error-code list and the closing 'Legacy return shape preserved' are terse to the point of being cryptic.

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 eight-parameter mutation tool with an output schema (so return values need not be explained), the description covers units, error handling, and retry safety adequately. The unresolved items are name-collision behavior and what 'Legacy return shape preserved' actually means, both of which leave small ambiguity for an agent calling it.

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 description coverage is 100%, so all eight parameters are already documented in the schema, including x/y in mm, scale ratio, and the direction vector. The description adds only a general unit convention (mm, mm^2, mm^3, field units override defaults) and a recommendation to use explicit internal names, which are modest value-adds rather than parameter-level clarification. Baseline 3 applies when the schema does the heavy lifting.

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: 'Create a native first-angle Front/Top/Right projection group with linked model sources.' That is materially more specific than the sibling names like techdraw_create_view or techdraw_create_section, which implies a distinct drawing object type. It stops short of explicitly naming those siblings as alternatives, so the differentiation is inferential rather than stated.

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: an agent must infer that a projection group (multi-view Front/Top/Right) is the right choice over a single view or section. There is no explicit 'use X instead when' guidance. The retry warning ('never blindly retry mutations') is operational guidance rather than tool-selection guidance.

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