Skip to main content
Glama
freecad-mcp

freecad-mcp

freecad_create_prism

Creates a regular polygonal prism by extruding a chosen number of sides at a given radius to a specified height, enabling parametric 3D CAD modeling in FreeCAD.

Instructions

Create a regular prism (polygon extruded to height)

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": {
      "sides": "<sides>",
      "radius": "<radius>",
      "height": "<height>"
    },
    "name": "freecad_create_prism"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional object name
sidesYesNumber of sides (3=triangular, 6=hexagonal, etc.)
heightYesPrism height in mm
radiusYesCircumscribed circle radius in mm

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?

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether a new document/body is created or the object is appended to the active one, whether the result is parametric, or what happens with invalid inputs like sides < 3. It only implies a mutation ('Create') without stating side effects.

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 short sentence with the core noun and clarifying geometry front-loaded; nothing is wasted. It is terse rather than padded, though the terseness is also why so much is left unsaid.

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 4-parameter mutation tool with no annotations and no output schema, the definition omits essential context: target document/body, whether existing objects affect the result, and error behavior. The schema covers parameter shapes but the description does not fill the remaining behavioral gaps.

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%, with each of the four parameters documented in the schema (sides, height in mm, circumscribed radius in mm, optional name), so the baseline is 3. The description's parenthetical adds a small conceptual hint about what 'radius' and 'sides' produce but no syntax or constraints beyond the 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') plus a specific resource ('regular prism') and clarifies the geometry with '(polygon extruded to height)'. That is enough to separate it from sibling primitives such as freecad_create_box or freecad_create_cylinder, though it never explicitly contrasts itself with them.

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, no preconditions (e.g., whether a document or body must be active first), and no mention of alternatives for producing similar geometry. The agent must infer all selection context from the shape name alone.

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