Skip to main content
Glama

Nsc Insert Object

zemax_nsc_insert_object

Insert a non-sequential object at a specified row in Ansys Zemax OpticStudio to build or modify NSC systems via zemax-mcp.

Instructions

Insert a non-sequential object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
objectTypeNoOptional Zemax object type
objectNumberYesOne-based insertion row

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/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 burden. It does not disclose whether insertion shifts the indices of existing objects, whether it requires an active non-sequential system, whether the change persists to file, or what side effects occur — all important for a mutating insert operation.

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

Conciseness3/5

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

The single sentence is front-loaded and free of waste, but it is under-specified rather than genuinely concise — brevity here reflects missing information, not tight editing.

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 a mutation tool with no annotations and no output schema, the description is too thin: it omits index-shifting behavior, system-state requirements, and the distinction from sibling insert/add tools. The schema covers parameters but nothing else is filled in.

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 objectType and objectNumber are already documented in the schema ('Optional Zemax object type', 'One-based insertion row'). The description adds no syntax or format detail beyond that, so the baseline 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb (insert) and resource (non-sequential object), so the basic action is clear. However, it does not distinguish this tool from close siblings like zemax_nsc_add_object, zemax_nsc_set_object, or zemax_nsc_remove_object, leaving the agent unsure which insertion/modification tool applies.

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 statement of when to use this tool versus zemax_nsc_add_object or zemax_nsc_set_object, nor any prerequisite or context. The agent must infer usage entirely from the name.

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