Skip to main content
Glama
TommeCAD FreeCAD MCP

TommeCAD FreeCAD MCP

sheetmetal_create_base

Creates a constrained rectangular sketch and base Pad with explicit thickness, providing a flat starting wall for sheet-metal design.

Instructions

Create a live constrained rectangular sketch and base Pad of explicit thickness.

This is a flat starting wall, not evidence that an imported object is sheet metal.
No material, K-factor or process parameters are inferred.

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>",
      "width_mm": "<width_mm>",
      "depth_mm": "<depth_mm>",
      "thickness_mm": "<thickness_mm>"
    },
    "name": "sheetmetal_create_base"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoRequested internal name for a new object/document; FreeCAD may uniquify it. Use the returned name.SheetBase
depth_mmYesPositive length in millimetres.
doc_nameYesInternal document Name, never Label/path. Omitted/null uses active document (legacy); pass explicitly.
width_mmYesPositive length in millimetres.
thickness_mmYesPositive length in millimetres.

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?

No annotations are supplied, so the description carries the full burden, and it does substantial work: it discloses that no material/K-factor/process parameters are inferred, enumerates concrete error codes, and warns that timeout is not cancellation and mutations must not be blindly retried. What it omits is what exactly changes in the document and what the returned object looks like ('legacy return shape preserved' is not self-explanatory).

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 sentence and the disambiguation and contract details follow in a logical order, with every clause carrying information. A few phrases, notably 'Legacy return shape preserved', are terse to the point of opacity and could be tightened or expanded.

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 mutation tool with no annotations and no output schema, the definition covers the important operational ground: defaults not being inferred, unit conventions, the failure modes to handle, and retry safety. The remaining gap is return-value description, which the vague 'legacy return shape' clause does not really close.

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 all five parameters, including the positive-length constraints on width/depth/thickness and the doc_name semantics, are already documented in the schema. The description adds only unit-override precedence and a preference for explicit internal names, which is modest value on top of an already complete schema.

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 gives a specific verb ('Create') and a concrete compound resource ('a live constrained rectangular sketch and base Pad of explicit thickness'), and it explicitly rules out a misreading ('not evidence that an imported object is sheet metal'). It stops short of naming a sibling such as sheetmetal_add_wall, so the agent must still infer which sheet-metal operation is the right entry point.

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?

'This is a flat starting wall' and 'base Pad' imply this is the first step of a sheet-metal workflow, which gives usable but only implicit when-to-use guidance. No explicit alternatives, prerequisites, or exclusions are stated, and the agent is left to reason about ordering relative to add_wall/unfold on its own.

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