Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DSH_NX_MODENoTest-only stateful mock; never creates CAD files. Set to 'mock' to enable.
DSH_NX_ROOTNoNX installation root used by dsh-nx-doctor.
DSH_NX_WORKSPACENoOnly directory the server may use for CAD files.
DSH_NX_BRIDGE_URLNoLoopback-only bridge URL, for example http://127.0.0.1:48161/rpc.
DSH_NX_TIMEOUT_MSNoTool timeout; default 30000.
DSH_NX_BRIDGE_TOKENNoRandom bearer token shared with the local bridge.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
nx_healthA

Check the configured Siemens NX bridge without modifying NX.

nx_get_capabilitiesA

List the NX adapter and its explicitly supported operations.

nx_get_session_stateA

Read current work-part, feature-count and modified state without changing NX.

nx_preflightB

Validate one exact planned operation against current NX state immediately before mutation.

nx_verify_resultB

Verify observed feature/body state after a mutation; mock mode never claims exact geometry.

nx_create_partA

Create a new millimeter NX part below DSH_NX_WORKSPACE. Does not overwrite an existing file.

nx_create_expressionB

Create a named NX expression in the current work part.

nx_create_rectangle_sketchC

Create a constrained, named rectangle sketch on a principal datum plane.

nx_create_circle_sketchC

Create a constrained, named circle sketch on a principal datum plane.

nx_extrudeC

Create a native NX extrusion from an existing sketch.

nx_create_simple_holeB

Create a native simple through or blind hole in the unique current solid.

nx_rectangular_patternC

Create a rectangular native feature pattern from an exact feature id.

nx_filletC

Apply a constant-radius fillet using bridge-validated edge selectors.

nx_chamferC

Apply an equal-distance chamfer using bridge-validated edge selectors.

nx_list_featuresA

Read the current work part feature tree.

nx_measure_bodyA

Read body count, bounding box, area, volume and centroid.

nx_save_part_asA

Save the current part to a new workspace-relative .prt path. Never overwrites.

nx_export_stepA

Export the current work part as STEP AP242 below DSH_NX_WORKSPACE. Never overwrites.

nx_undoB

Undo the most recent dsh-nx transaction after inspecting current state.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.3/5.0

Scored across 19 tools

Disambiguation5/5

Each tool maps cleanly to a distinct resource or action: creation, feature application, inspection, state verification, save/export, or undo. Even the introspective tools (health, capabilities, session state, feature list) are clearly separated by their descriptions, so an agent should not misselect.

Naming Consistency4/5

The set mostly follows the nx_verb_noun pattern: create_part, measure_body, list_features, export_step. A few names deviate slightly—nx_preflight, nx_health, and nx_rectangular_pattern are noun-first or verbless—but the shared nx_ prefix and overall consistency keep the convention readable.

Tool Count4/5

Nineteen tools is slightly above the typical well-scoped range, but every tool represents a distinct CAD capability from part creation, sketching, and feature modeling through measurement, export, and undo. There are no redundant operations, and the count feels justified for an NX-oriented adapter.

Completeness3/5

The set covers a solid create, modify, measure, and export workflow, but it lacks explicit update/delete operations for expressions, sketches, features, or parts—undo is the only lifecycle escape hatch. Common CAD operations such as revolve, sweep, boolean, and trim are also absent, so broader modeling tasks would require workarounds.

Maintenance

ActivityMaintained
ResponsivenessNo issues