Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_pad

Extrude a named sketch into a PartDesign solid with configurable length, direction, and symmetry; creates a Body automatically when needed.

Instructions

Extrude a sketch into a solid (PartDesign Pad). Creates a PartDesign Body if one does not exist.

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": {
      "sketchName": "<sketchName>",
      "length": "<length>"
    },
    "name": "freecad_pad"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name for the Pad feature
lengthYesExtrusion length in mm
reversedNoExtrude in the reversed direction
symmetricNoExtrude symmetrically in both directions
sketchNameYesName of the sketch to extrude

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/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. It does disclose one real side effect — creating a PartDesign Body when none exists — which is genuinely useful, but it says nothing about permission/state requirements, whether the extrude is tied to the originating sketch, what happens on failure, or what the call returns.

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 short sentences with the core action front-loaded and the conditional side effect immediately after. Nothing is padded or repeated.

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?

For a mutation tool with no annotations and no output schema, the definition is thin: it omits what the result looks like (created feature name/handle), error conditions such as a missing or already-used sketch, and any state prerequisites. The schema covers parameters well, but the behavioral picture remains partial.

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 five parameters (length in mm, reversed, symmetric, sketchName, name) are already documented in the schema. The description adds no semantics beyond that, so it sits at the baseline for fully-covered schemas.

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 ('Extrude a sketch into a solid') and ties it to the PartDesign Pad concept, which clearly separates it from sketch-creation and joint siblings. It stops short of naming a related alternative (e.g. additive pipe/helix/loft), so sibling disambiguation relies on the agent's own knowledge.

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: the agent can infer the tool is for turning an existing sketch into a solid, and the second sentence hints at a PartDesign Body prerequisite. There is no explicit when-to-use, when-not-to-use, or named alternative, and no statement about what to do if the sketch is already consumed or invalid.

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