Skip to main content
Glama

udf_place

Places a user-defined feature into a Creo part or assembly to create real geometry, mapping prompt references and setting variable dimensions from inspected UDF data.

Instructions

Create real geometry by placing a UDF (user-defined feature) into a part or assembly.

references maps each prompt from udf_inspect to model geometry: a name string -> datum plane/axis/csys/point/curve feature name or item name, e.g. "TOP", "A_1", "CS0" an int -> geometry id (e.g. a surface id from creoson geometry.get_surfaces) an object -> {"name"|"id": ..., "type": ...} to override the type "" for a body -> the part's (first) body dims sets variable dimensions by the names udf_inspect lists, e.g. {"DM": 12, "T": 30}. Returns the new group with its features and final dimension values.

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>",
      "references": "<references>"
    },
    "name": "udf_place"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimsNo
fileNo
nameYes
scaleNo
dependencyNoindependent
group_nameNo
referencesYes
orientationsNo
wait_secondsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the behavioral load; it discloses the return value (new group, features, final dimension values) and the reference-acceptance rules, but says nothing about failure modes, what 'wait_seconds' or 'dependency' actually change, or whether the placement is reversible.

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 purpose sentence, then a compact indented breakdown of the reference forms — every line adds information. The dims example is terse but sufficient.

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?

An output schema exists so return values need only light treatment, and the hardest parameter (references) is well covered; however, seven of nine parameters are left entirely undocumented and there is no annotation coverage, so an agent must guess at scale, dependency, orientations, and timeout semantics.

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

Parameters2/5

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

Schema description coverage is 0% across 9 parameters, and the description explains only two of them: references (in genuinely useful, non-obvious detail) and dims. file, scale, dependency, group_name, orientations, and wait_seconds remain completely undefined in both schema and prose.

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 ('Create real geometry by placing a UDF into a part or assembly') and implicitly distinguishes itself from udf_inspect, which is named as the source of the prompts that references must map.

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?

Establishes the workflow prerequisite (references maps each prompt from udf_inspect) which tells the agent it must inspect a UDF first, but it gives no explicit exclusions versus siblings like udf_list or udf_list_groups.

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