Skip to main content
Glama

sw_static_study

Runs linear static stress analysis on SolidWorks models to compute maximum von Mises stress, displacement, and safety factor from fixed faces, forces, pressures, and gravity; set material first.

Instructions

Linear static stress analysis (SolidWorks Simulation): max von Mises stress, displacement, safety factor.

Set the material first (sw_set_material). Loads use faces picked by model points.

Input Schema

NameRequiredDescriptionDefault
docNoDocument title or path. Defaults to the active document.
nameNoMCP Static
forcesNoNormal forces on faces.
gravityNo
pressuresNoPressures on faces.
element_sizeNomm; default lets Simulation choose.
mesh_qualityNohigh
fixed_face_pointsYesFaces held fixed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false / destructiveHint=false, so the agent knows this mutates state without being destructive. The description adds that loads are specified via picked model points and what metrics come back, but omits that it presumably creates a named study (default 'MCP Static'), whether it saves to the document, and that running a solver is slow.

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?

Two short sentences, front-loaded with purpose and outputs, with the prerequisite second. No filler; nothing is buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly compensates by enumerating the returned metrics. For an 8-parameter solver invocation the remaining gaps are output units and runtime/state-persistence caveats, both relatively minor.

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 63%, so the baseline is 3. The description usefully clarifies that face_point values act as face pickers rather than load locations, which is genuine added meaning, but it says nothing about gravity, mesh_quality, element_size, or the study name parameter.

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 ('linear static stress analysis' in SolidWorks Simulation) and names the outputs returned (max von Mises stress, displacement, safety factor). This clearly distinguishes it from the geometry-listing and mass-property siblings, though it does not explicitly say so.

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?

Explicitly gives a prerequisite and names the sibling that satisfies it ('Set the material first (sw_set_material)'), which is the key ordering constraint. It does not state when not to use it or what happens if the prerequisite is skipped.

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

Deploy Server

Other Tools