Skip to main content
Glama

Set Polarization

zemax_set_polarization

Configure the current optical system's default input polarization by setting Jones X/Y amplitudes and phases, polarization-axis method, or unpolarized rays.

Instructions

Update the current optical system's default input polarization settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jxNoX-component Jones amplitude
jyNoY-component Jones amplitude
methodNoPolarization-axis reference method
xPhaseNoX-component phase
yPhaseNoY-component phase
unpolarizedNoTreat rays as unpolarized
convertThinFilmPhaseToRayEquivalentNoConvert thin-film phase to its ray-equivalent value

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?

With no annotations, the description carries full behavioral burden. It says it updates settings but does not disclose side effects, whether changes are reversible, required system state, defaults, or how partial parameter omission is handled. For a mutation tool, this is a significant gap.

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?

The description is a single front-loaded sentence with no wasted words. It is appropriately sized for its content, though it is minimal given the tool's complexity.

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 7-parameter mutation tool with no annotations and no output schema, the description is incomplete. It does not explain parameter interactions, default behavior, or how the update affects the current system, leaving important context absent.

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 schema fully documents all seven parameters. The description adds no extra semantic detail about parameters, but 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.

Purpose4/5

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

The description states a specific verb ('Update') and resource ('default input polarization settings') for the current optical system. It distinguishes from the read counterpart get_polarization by implication of 'update', but does not name or explicitly contrast with any sibling tool.

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 guidance is provided on when to use this tool, prerequisites, or alternatives such as get_polarization. The only implied usage is that it sets polarization, which is minimal and leaves the agent without context for selection.

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