Skip to main content
Glama
dream-creo-mcp

dream-creo-mcp

by JaikenWong

measure

Calculates the minimum distance between two geometry references or model points in a Creo part, returning closest points and angle data to verify modeling results.

Instructions

Creates/edits geometry in the running Creo 5 through the DreamFeatureApp plugin. There is no mirror tool: build symmetric shapes with symmetric extrudes, revolves or patterns. Units are mm and degrees. Parts are addressed by name (lowercase, no .prt). Model axes: FRONT is the XY plane (normal +Z), TOP is XZ (normal +Y), RIGHT is YZ (normal +X). Each feature call either ends with an active feature or is rolled back. Nothing is saved unless model_save is called. Check results with model_info (volume, bound_box) and preview_image.

Minimum distance between a and b, each a ref (surface:N, edge:N, axis:N, datum name) or a model point [x,y,z]. Returns distance, the two closest points, and the angle (deg) when both are planes or straight lines. Use it to check a result.

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": {
      "name": "<name>",
      "a": "<a>",
      "b": "<b>"
    },
    "name": "measure"
  }
}

Input Schema

NameRequiredDescriptionDefault
aYes
bYes
nameYesPart name without .prt

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does supply real behavioral context: units are mm and degrees, parts are addressed by lowercase name without .prt, each feature call either commits or rolls back, and nothing persists without model_save. That said, the lead sentence claims the tool 'Creates/edits geometry', which contradicts its read-only measurement nature and could mislead an agent about 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.

Conciseness2/5

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

The second paragraph is tight and front-loaded with the actual operation. The first paragraph, however, is shared plugin boilerplate that occupies roughly half the text, does not describe measuring, and actively misdirects with its 'Creates/edits geometry' opener — content that does not earn its place in this tool's definition.

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?

There is no output schema, and the description does name the return values (distance, two closest points, angle), which is the key compensation. It omits result units for distance beyond the general mm statement, and says nothing about failure behavior when the refs are invalid or the geometry has been rolled back.

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 only 33%, so the description must compensate, and it does so partially by restating the accepted forms (surface:N, edge:N, axis:N, datum name, or [x,y,z] model point) and by clarifying that the angle is only returned when both operands are planes or straight lines. It does not clarify whether the two operands may mix types (point vs surface) or what happens with degenerate inputs, so the coverage gap is not fully closed.

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

Purpose3/5

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

The second paragraph states a specific operation: minimum distance between two refs or points, returning distance, closest points, and angle for planar/straight-line pairs. However, the description opens with 'Creates/edits geometry... through the DreamFeatureApp plugin', which misdescribes a read-only measurement tool and buries the actual purpose in a boilerplate preamble. An agent reading top-down would initially misclassify this as a modeling operation.

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?

'Use it to check a result' gives an implied usage context, reinforced by the earlier pointer to model_info (volume, bound_box) and preview_image as verification tools. There is no explicit statement of when-not to use it or how it differs from list_dimensions/find_geometry for the same verification job, so the agent must infer the boundaries.

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