Skip to main content
Glama

Opd Fan

zemax_opd_fan

Calculate optical path difference (OPD) fans across all fields and wavelengths to evaluate optical aberrations and wavefront performance in Zemax OpticStudio.

Instructions

Calculate optical-path-difference fans for all fields and wavelengths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It discloses the computation scope (all fields and wavelengths) but nothing about whether it mutates state, opens a viewer, requires a loaded lens file, or how results are returned. For an analysis tool this is a meaningful gap.

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

Conciseness5/5

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

A single front-loaded sentence with the verb and resource first and no filler. Nothing to trim.

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

Completeness3/5

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

For a zero-parameter analysis tool with no output schema, the description omits whether a system must be loaded/connected before invoking. It is minimally viable but leaves an agent to infer prerequisites.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is nothing for the description to disambiguate and the baseline is 4. The description cannot add parameter semantics because none exist.

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 ('Calculate') and resource ('optical-path-difference fans'), which is clearly distinct from data-retrieval siblings. It does not explicitly say how it differs from the adjacent analysis tools zemax_ray_fan or zemax_pupil_aberration_fan, so it stops short of a 5.

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 choose this over related fan/aberration analyses, and no stated preconditions (e.g., an open system or connected session). The only hint of scope, 'for all fields and wavelengths,' is a computational scope rather than a usage rule.

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