Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_add_sketch_external

Projects an edge from another object into a sketch as external geometry so you can constrain sketch elements to existing 3D features.

Instructions

Add external geometry reference to a sketch (project an edge from another object into the sketch for constraining)

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>",
      "objectName": "<objectName>",
      "edgeName": "<edgeName>"
    },
    "name": "freecad_add_sketch_external"
  }
}

Input Schema

NameRequiredDescriptionDefault
edgeNameYesEdge reference (e.g., "Edge1")
objectNameYesName of the external object
sketchNameYesName of the sketch

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does disclose that the operation creates a projected external reference rather than copying geometry, but it omits key traits for a mutation: whether the sketch must be in edit mode, whether the projection stays linked to the source object, and what happens if objectName/edgeName do not resolve. For a mutation tool with zero annotation coverage this is a notable 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?

A single sentence with the core action front-loaded and the parenthetical definition placed immediately after, so there is no wasted wording. It could surface prerequisites as briefly as it surfaces the purpose.

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?

With no annotations and no output schema, the description must stand alone for a three-required-parameter mutation tool. It covers what the tool does but leaves prerequisites, failure modes, and the linked-reference behavior unstated, so it is adequate rather than complete.

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% (all three parameters documented, including an Edge1-style example for edgeName), so the schema already does the heavy lifting. The description only loosely maps to the parameters via "an edge from another object" and adds no syntax or format detail beyond what the schema provides, making the baseline 3 appropriate.

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 and resource ("Add external geometry reference to a sketch") and clarifies the term with a parenthetical explaining it is projecting an edge from another object. That distinguishes it conceptually from the geometry-creation siblings like freecad_add_sketch_line or freecad_add_sketch_arc, though it does not name them explicitly.

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 by the phrase "for constraining", which hints at why an agent would do this, but there is no explicit when-to-use/when-not guidance and no stated prerequisite (for example that the sketch must be open for editing). An agent must infer the context.

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