Skip to main content
Glama
iftahs
by iftahs

color_calibrate

color_calibrate
Destructive

Calibrate colors in linear astrophotography images using SPCC, PCC, or ColorCalibration, with optional background neutralization. Resolves color cast issues for accurate star and nebula hues.

Instructions

SPCC (default; needs plate solution + internet, defaults tuned for a Sony OSC sensor with UV/IR cut) → PCC fallback → ColorCalibration (no astrometry). Optionally neutralizes background. Linear data only. Checkpoints first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
methodNo
paramsNoExtra raw PixInsight process parameters (exact PJSR names)
checkpointNoWrite an .xisf checkpoint before running (default true)
narrowbandNo
limit_magnitudeNo
white_referenceNo
neutralize_backgroundNo
background_reference_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

The description discloses external prerequisites (plate solution + internet), sensor-specific default tuning (Sony OSC with UV/IR cut), the fallback chain between methods, and the linear-data-only restriction. This goes well beyond annotations (destructiveHint true) by explaining what the tool actually does and what it needs before running. No contradiction with annotations.

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 compact at about 36 words and front-loads the method flow, then optional behavior, input constraint, and safety. The arrow notation is dense but every clause earns its place, balancing information density with brevity.

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

Completeness4/5

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

For a complex tool with 9 parameters and no output schema, the description covers the critical decision path: method selection, prerequisites, linear data, and checkpointing. It is enough to invoke minimally with just an id. It leaves advanced parameter semantics ambiguous, but those are optional and the core operation is sufficiently specified.

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?

Only 2 of 9 schema properties have descriptions (22% coverage), so the description must compensate. It does clarify the method parameter (default SPCC, fallback chain) and the neutralization behavior, but leaves narrowband, limit_magnitude, white_reference, and background_reference_id unexplained in both schema and description. This is partial, not full, compensation.

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 identifies the tool's purpose through named PixInsight color-calibration processes (SPCC, PCC, ColorCalibration) and mentions optional background neutralization. It distinguishes itself from siblings like background_neutralize by placing color calibration at the core. However, it never explicitly states a verb phrase like 'calibrate colors', relying on the tool name and process names to convey purpose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit fallback routing: SPCC by default (requiring plate solution + internet), PCC as fallback, and ColorCalibration when no astrometry is available. It also restricts input to linear data and instructs checkpointing first, establishing clear usage windows. It does not explicitly contrast the whole tool against sibling tools such as background_neutralize or plate_solve, leaving some selection inference to the agent.

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