Skip to main content
Glama

Set Current Configuration

zemax_set_current_configuration

Set the active configuration in Ansys Zemax OpticStudio by providing a one-based configuration number to switch between optical system variants.

Instructions

Set the active configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
configurationNumberYesOne-based configuration

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/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 disclosure burden, and it discloses almost nothing. It implies a state mutation (changing the active configuration) but says nothing about whether the operation is reversible, what happens to other configurations, required permissions, or how errors (e.g., out-of-range index) manifest.

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?

It is a single short sentence with no wasted words and the intent is front-loaded. The brevity leans toward under-specification, but there is no structural bloat.

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 state-mutating tool with no annotations and no output schema, the description is too thin. It omits side effects, error conditions, and the relationship to the configuration-management siblings, leaving meaningful gaps for an agent trying to call it correctly.

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?

With a single parameter at 100% schema coverage, the schema already explains that configurationNumber is one-based. The description adds no meaning beyond that, so the baseline of 3 applies.

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 gives a clear verb and resource (set the active configuration), so the basic purpose is unambiguous. However, it essentially restates the tool name and title verbatim and offers no differentiation from siblings such as zemax_get_configuration or zemax_set_number_of_configurations, leaving an agent to infer the distinction from the name alone.

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 tool versus alternatives. It does not say whether it must follow zemax_set_number_of_configurations, how it relates to zemax_get_configuration, or what preconditions (existing configurations) must hold before calling it.

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