Skip to main content
Glama

feature_sweep

Sweeps a constant 2D section along a curve or edge path to create solid, cut, or surface geometry such as bent pipes, tubes, rails, and grooves.

Instructions

Sweep a constant section along a trajectory (Creo's Sweep tool: bent pipes and tubes, rails, handles, grooves along a path). trajectory: datum curve features (trajectory_type="curve_features", default; make them with feature_datum_curve; several features = one path in order), or curve / edge refs. entities: the 2D section; its origin (0,0) is the trajectory's start point. Creo picks which end is the start, so draw sections centred on the path (pipe: two circles at 0,0) or give x_dir (model direction of the section's X axis, e.g. [0,0,1]) and optionally y_dir (the side of +Y); the result's "sketches" location shows where Creo put the section. Without x_dir the entities are in Creo's sketch frame. kind: solid, cut (removes material along the path) or surface (capped=true closes its ends). thin: wall thickness for a thin sweep of an open or closed section (thin_side one/two/both). pivot: a datum axis (or plane): the section stays normal to the path's projection square to it. Along a helix about that axis (feature_datum_curve_equation) the section plane holds the axis: Creo's Helical Sweep, e.g. a thread cut with its profile drawn in the axial plane. Volume check: section area x path length (constant section).

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": {
      "trajectory": "<trajectory>",
      "entities": "<entities>"
    },
    "name": "feature_sweep"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
kindNosolid
nameNo
refsNo
thinNo
pivotNo
x_dirNo
y_dirNo
cappedNo
entitiesYes
thin_sideNoone
trajectoryYes
trajectory_typeNocurve_features

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does well on the subtle behavior that matters here – that Creo chooses which trajectory end is the start, that sections should be centred on the path, and that the result's "sketches" location reveals where the section landed – but it never states that this creates a persistent model feature, whether it requires an active part, or what happens on failure.

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?

Front-loaded with the one-line purpose, then organised as a per-parameter glossary, so it is scannable. It is dense and lengthy for a single tool, but each line carries non-obvious geometry semantics rather than filler.

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 13-parameter geometry tool with an output schema (so return values need no explanation), the coverage of orientation, section placement, sweep kind, thin walls, and helical pivot is close to sufficient. The volume-check heuristic at the end adds a useful sanity rule; only creation side effects and failure modes are missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description compensates well: it defines trajectory, entities (with the crucial note that section origin (0,0) maps to the trajectory start), x_dir/y_dir orientation vectors, kind values including cut semantics and capped surfaces, thin/thin_side, and pivot. Only file, name, and refs are left unexplained, and those are conventional.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Sweep a constant section along a trajectory") and immediately grounds it with concrete Creo examples (bent pipes, rails, handles, grooves along a path). An agent can distinguish this from feature_extrude or feature_revolve from the description alone.

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

Usage Guidelines4/5

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

Gives clear operational context: trajectory_type defaults to curve_features and those must be made with feature_datum_curve first; curves/edges are the alternative. It also explains when to reach for pivot (helical sweep / thread cut) and thin (wall thickness). It does not explicitly exclude sibling operations like extrude or revolve, so it stops short of full alternative routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.