Skip to main content
Glama

part_set_material_props

Create or update a material with specified mechanical and thermal properties, then assign it as the current material for a Creo part.

Instructions

Create or update a material and make it the part's current one. props: Creo property names without MTL_PROP_ (MASS_DENSITY, YOUNG_MODULUS, POISSON_RATIO, TENSILE_YIELD_STRESS, TENSILE_ULTIMATE_STRESS, THERMAL_EXPANSION_COEFFICIENT, THERMAL_CONDUCTIVITY, SPECIFIC_HEAT...) in the part's units. In mmNs: tonne/mm3, MPa, 1/C, mW/(mm C) (same number as W/(m K)), mJ/(tonne C) (J/(kg K) x 1e6). Temperature curves are not in this API: keep hot values as model parameters.

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>",
      "props": "<props>"
    },
    "name": "part_set_material_props"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
nameYes
propsYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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; it does disclose that the operation is a create-or-update mutation and that it changes the part's current material, which is a meaningful side effect. It does not state whether unspecified properties of an existing material are preserved or wiped, nor what permissions are required, leaving notable gaps for a mutation tool.

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?

The purpose is front-loaded in the first sentence, followed by dense but necessary unit guidance that earns its place given the 0% schema coverage. The parenthetical lists are long but functional; minor tightening of the unit examples would help readability.

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?

For a 3-parameter mutation tool with no annotations, the units and property-name guidance are strong and the output schema covers return values. However, the role of the 'file' parameter and the merge/overwrite behavior on existing materials are unaddressed, leaving real gaps an agent would need filled before calling confidently.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate, and it does so well for the hardest parameter: 'props' is explained as Creo MTL_PROP_-prefixed names, with concrete examples, unit conventions per system (tonne/mm3, MPa, 1/C, mW/(mm C), mJ/(tonne C)) and conversion factors. The 'name' and 'file' parameters receive no explanation at all, which keeps this from a 5.

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 opens with a specific verb and resource: 'Create or update a material and make it the part's current one,' which tells an agent both the mutation and its side effect (setting the part's current material). It does not, however, distinguish this from the sibling part_set_material, so the agent must infer the boundary between setting a material and setting its property values.

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?

Usage is implied rather than stated: the agent can infer this is the tool to call when assigning numeric property values by Creo property name. It adds a useful negative guideline — temperature curves are not supported and hot values should be kept as model parameters — but gives no explicit when-to-use-this-vs-part_set_material routing.

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