Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_add_sketch_bspline

Add a B-spline curve to a FreeCAD sketch using control points. Define x, y point arrays and optionally close the curve for parametric wire geometry.

Instructions

Add a B-spline curve to a sketch through control points

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>",
      "points": "<points>"
    },
    "name": "freecad_add_sketch_bspline"
  }
}

Input Schema

NameRequiredDescriptionDefault
closedNoClose the B-spline (default false)
pointsYesArray of {x, y} control points
sketchNameYesName of the sketch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and discloses very little. It does not say whether the sketch must be open/editable, whether the curve is added as unconstrained geometry, whether it can be closed, or what is returned, which are meaningful gaps for a document-mutating tool.

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?

A single nine-word sentence with the verb and target front-loaded and zero filler. It is efficient, though the extreme terseness leaves the remaining dimensions under-served.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter mutation tool with no annotations and no output schema, the description should at least cover prerequisites and the effect on the document. Instead it stops at one sentence, leaving the agent to guess about sketch state requirements and results.

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 baseline is 3 and the schema already documents sketchName, points, and closed. The description does add one useful nuance by identifying the points as control points (as opposed to interpolated points), which affects curve shape, but it adds nothing about ordering, minimum point counts, or how closed interacts with the point list.

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 names a specific verb ('Add'), a specific resource ('B-spline curve'), and the target container ('a sketch'), plus the construction method ('through control points'). That is enough to separate it from siblings like freecad_add_sketch_arc or freecad_draft_bspline, though it never explicitly states the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: nothing says a sketch must already exist and be open for editing, nothing contrasts it with freecad_draft_bspline or with the line/polygon tools, and no conditions or exclusions are given. The agent must infer all routing from the tool name.

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