Skip to main content
Glama

Export Glass Catalog

zemax_export_glass_catalog

Export filtered optical glasses from source Zemax catalogs into a new AGF catalog file using wavelength, index, cost, and other filter criteria.

Instructions

Export filtered glasses to a new AGF catalog.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
waNoVd weight
wnNoNd weight
wpNodPgF weight
ndMaxNoMaximum Nd
ndMinNoMinimum Nd
vdMaxNoMaximum Vd
vdMinNoMinimum Vd
tceMaxNoMaximum TCE
tceMinNoMinimum TCE
dpgfMaxNoMaximum dPgF
dpgfMinNoMinimum dPgF
maxCostNoMaximum cost
ndTargetNoTarget Nd
vdTargetNoTarget Vd
overwriteNoOverwrite existing
dpgfTargetNoTarget dPgF
catalogNameYesNew catalog name without .agf
preferredOnlyNoOnly preferred glasses
distanceRadiusNoMaximum distance
sourceCatalogsYesComma-separated source catalogs
outputDirectoryYesExplicit caller-owned output directory outside installed Glasscat directories
maxMeltFrequencyNoMaximum melt frequency
maxWavelengthCoverageNoMaximum wavelength coverage
minWavelengthCoverageNoMinimum wavelength coverage

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 disclosure burden for a 24-parameter write-to-disk operation, and it says almost nothing. It never mentions overwrite semantics, permission/connection prerequisites, what happens if the directory does not exist, or whether source files are modified; only the outputDirectory schema text hints at a sandboxing constraint.

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 zero filler, and the verb/resource come first. It is arguably under-specified rather than bloated, but as a matter of conciseness there is nothing wasted.

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 tool with 24 parameters, three required fields, no annotations, and no output schema, one sentence is not enough. The agent gets no picture of the export workflow, the filtering semantics powering the many optional bounds, or the failure modes of writing a catalog file.

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 all 24 parameters are already documented at the field level; baseline is 3. The description adds no meaning beyond the schema — notably it does not explain how the weighted parameters (wa, wn, wp) interact the numeric filter bounds, which is the one place prose could have helped.

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 (Export) and resource (filtered glasses) with a concrete artifact (new AGF catalog). An agent can infer this is the catalog-writing counterpart to the filtering tools. It does not, however, distinguish itself from the nearby zemax_filter_glasses or zemax_get_glass_catalogs, leaving the agent to infer that this is the step that persists filtered results.

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 or when-not-to-use guidance, and no alternative is named. The relationship to zemax_filter_glasses (does this tool filter internally, or only export an already-filtered set?) is left entirely to inference, despite the schema containing a full set of filter parameters.

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