Skip to main content
Glama

Nsc Set Object

zemax_nsc_set_object

Set placement, material, comment, and reference properties of a non-sequential Zemax object. Use it to position, orient, or assign materials to NSC components by object number.

Instructions

Set common placement, material, comment, and reference properties of an NSC object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commentNoComment
materialNoMaterial
refObjectNoReference object
xPositionNoX position
yPositionNoY position
zPositionNoZ position
objectTypeNoObject type
tiltAboutXNoTilt X
tiltAboutYNoTilt Y
tiltAboutZNoTilt Z
objectNumberYesOne-based object number

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Set' implies mutation, but the description does not disclose required permissions, whether changes are persistent, error behavior for invalid object numbers, or side effects on the NSC system.

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 no filler or repetition. It is efficiently sized, though its brevity contributes to the gaps in behavioral and contextual detail.

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

Completeness2/5

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

For an 11-parameter mutation tool with no annotations and no output schema, the description is sparse. It omits objectType and specific tilt details, gives no preconditions or side effects, and does not explain the relationship between this tool and zemax_nsc_set_object_parameter.

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 100%, so the baseline is 3. The description groups properties (placement, material, comment, reference) that map to schema parameters, but adds no format, range, or interdependency details beyond what the schema already states.

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 'Set' and resource 'common placement, material, comment, and reference properties of an NSC object', listing the categories of properties affected. It does not explicitly differentiate from the sibling zemax_nsc_set_object_parameter, so an agent must still infer which tool to choose for individual properties.

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?

No when-to-use guidance, preconditions, or alternatives are given. The description only says what the tool does, leaving the agent to infer when it applies versus zemax_nsc_set_object_parameter or zemax_nsc_get_object.

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