Skip to main content
Glama

part_set_material

Assigns a material density to a Creo part so mass properties report actual mass; expects mmNs units with density in tonne/mm³.

Instructions

Assign a material with this mass density to a part (e.g. steel 7.85, aluminium 1100 2.71, 6061 2.70, brass 8.47, cast iron 7.3, ABS 1.02) so mass properties report real mass. Assumes Creo's mmNs units (density in tonne/mm^3, as in the mm templates).

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": {
      "density_g_cm3": "<density_g_cm3>"
    },
    "name": "part_set_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileNo
nameNo
density_g_cm3Yes

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 must carry the behavior burden. It usefully discloses the unit convention (Creo mmNs, density in tonne/mm^3, matching mm templates), which is the highest-risk detail; however it does not say whether an existing material assignment is overwritten, whether a material library/file must exist, or what errors occur.

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

Conciseness5/5

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

Two tightly packed sentences with zero filler: the action and its purpose come first, followed by the unit caveat. Nothing is redundant.

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 not be described. For a mutation tool with no annotations, however, the description should say more about overwrite semantics and preconditions; the parameter-level silence on file/name compounds the gap.

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 description coverage is 0%, so the description must compensate. It does well for density_g_cm3 by giving concrete reference values (steel 7.85, 6061 2.70, ABS 1.02), but the 'file' and 'name' parameters (target part selection) are never explained in either the schema or the description.

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?

States a specific verb and resource: 'Assign a material with this mass density to a part', plus the outcome 'so mass properties report real mass'. It does not distinguish itself from the sibling part_set_material_props, which an agent could easily confuse with this one.

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 only implied via the rationale that mass properties will then report real mass; there is no explicit when-to-use, when-not-to-use, or naming of alternatives such as part_set_material_props. Adequate to infer intent, but an agent gets no routing guidance.

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