Skip to main content
Glama

Set Material

set_material

Assigns an engineering material such as 6061 Alloy, AISI 304, or ABS to the active SolidWorks part so CAD models use the correct material properties.

Instructions

Assigns an engineering material to the active part (e.g., '6061 Alloy', 'Plain Carbon Steel', 'AISI 304', 'Brass', 'ABS').

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": {
      "material_name": "<material_name>"
    },
    "name": "set_material"
  }
}

Input Schema

NameRequiredDescriptionDefault
databaseNosolidworks materials
material_nameYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses very little. It does not say whether an existing material is overwritten, whether the operation is reversible or modifies the model file, whether the named material must exist in the library, or what happens if it does not. For a mutation tool with zero annotation coverage these are material gaps.

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?

A single front-loaded sentence with the core action first and value examples after; nothing is wasted. The example list is slightly long but earns its space by establishing the expected string format.

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?

The output schema is present, so return values need no explanation, and the material_name format is covered by examples. However, the unexplained database parameter and the silent overwrite semantics leave real gaps for a mutation tool.

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%, so the description must compensate, and it only partially does. The parenthetical examples clarify the expected value format for material_name, but the second parameter, database (default 'solidworks materials'), is never mentioned — the agent has no idea what other databases are valid or when to change it.

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 uses a specific verb and resource: 'Assigns an engineering material to the active part.' Concrete example material names ('6061 Alloy', 'AISI 304') make the domain unambiguous, so an agent can distinguish this from modeling siblings like add_boss_to_part or feature_fillet. It stops short of explicit sibling differentiation, which keeps it at a 4.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus other setup steps, no mention that an active/open part is a precondition, and no statement about whether it replaces an existing material assignment. The agent must infer all of this from the phrase 'active part'.

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