Skip to main content
Glama

plot_chromaticity_comparison

Plot CIE 1931 xy and CIE 1976 u'v' chromaticity diagrams to compare how selected nebula templates fall under multiple standard observers, with optional reddening.

Instructions

CIE 1931 xy and CIE 1976 u'v' diagrams showing each observer's spectral locus and where each nebula template falls under each observer.

Input Schema

NameRequiredDescriptionDefault
reddenedNoApply each template's typical E(B-V).
observersNoStandard observers to compare; default CIE 1931 2° and CIE 1964 10°.
templatesNoTemplate keys from list_spectrum_templates.

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. It never states that the tool renders/returns an image (versus numeric chromaticity data), whether the operation is read-only or costly, or how many figures are produced; it only enumerates the figure contents.

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 tightly written sentence with no padding, and the key content (both diagram types, spectral loci, templates) is front-loaded. It is efficient but too terse to carry the guidance the tool needs.

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?

With three optional, fully documented parameters and no output schema, the definition is minimally sufficient: an agent can infer the figure contents from the description and the parameter docs. It still omits whether the result is an image or a data structure and offers no hints about typical use, leaving the definition adequate but not complete for a visualization tool.

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%, with defaults and enum lists already documented inline, so the schema does the heavy lifting. The description reinforces the role of 'observers' and 'templates' but adds no syntax, constraints, or format detail beyond the schema, and never mentions the 'reddened' parameter.

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 names the specific output artifacts (CIE 1931 xy and CIE 1976 u'v' diagrams) and the content of each (per-observer spectral locus, template positions), which distinguishes it from siblings like plot_cmf_comparison and render_color_swatches. The only weakness is that it is a noun phrase describing the figure rather than stating the action ('generates a plot'), so the verb must be inferred from the tool name.

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 versus nebula_color, render_color_swatches, or plot_cmf_comparison, nor any statement of prerequisites or exclusions. An agent knows what the figure contains but not what situation calls for it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.