Skip to main content
Glama

feature_datum_curve_equation

Creates a datum curve from Cartesian or cylindrical equations in Creo, letting you define custom sweep trajectories such as helices, threads, and springs.

Instructions

Datum curve from equation (Creo's Curve from Equation): relations in t from t_min to t_max, one per line, in csys. Cartesian: x = ..., y = ..., z = ...; cylindrical: r = ..., theta = ... (degrees), z = ... (z along the csys Z axis). Angles need their unit (Creo's relations are unit-sensitive; without it a trig function or theta silently gives no curve): sin(t90[deg]), theta = t720[deg]. A helix of radius R, pitch P and N turns: cylindrical "r = R theta = tN360[deg] z = tNP". Use it as a sweep trajectory, with feature_sweep(pivot=) for a helical sweep (threads, springs).

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": {
      "equation": "<equation>"
    },
    "name": "feature_datum_curve_equation"
  }
}

Input Schema

NameRequiredDescriptionDefault
csysNoPRT_CSYS_DEF
fileNo
nameNo
t_maxNo
t_minNo
equationYes
csys_typeNocartesian

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does valuable work by disclosing a silent failure mode (missing degree units yield no curve) and the allowed equation syntax, but it is silent on mutation/permission implications, what happens on a bad relation, and whether the resulting feature lands in the feature tree.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and front-loaded with the purpose, and the helix example earns its place. However, literal newlines are embedded inside the quoted equation examples, muddling readability, and the unit-warning sentence is repeated in parentheses mid-thought.

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?

An output schema exists, so return values need not be described, and the core complexity (equation syntax, units, csys_type) is well covered. The remaining shortfall is the undocumented `name` and `file` parameters for a 7-parameter tool.

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 0% across 7 params, so the description must compensate. It thoroughly explains `equation`, t_min/t_max bounding, csys_type syntax differences, and the target `csys`, but leaves `name` and `file` entirely undocumented, which is a meaningful gap at this coverage level.

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?

It opens with a specific verb+resource, 'Datum curve from equation (Creo's Curve from Equation)', and describes the parametric construction in t. An agent can distinguish it from feature_datum_curve (point-defined) by the equation-based mechanism, though the sibling is never named explicitly as the alternative.

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?

It gives positive usage guidance, telling the agent to use the result as a sweep trajectory and to pair it with feature_sweep(pivot=<axis>) for helical sweeps such as threads and springs. It offers no when-not-to-use rule or comparison against the other curve-creation sibling.

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