Skip to main content
Glama

jean — Molecular Biology & Genomics

check_color_balance

Read-only

Will the sequencer SEE these indexes? Per-cycle channel occupancy for a set of index sequences under an instrument's own SBS chemistry, checked against Illumina's rules (no dark cycle, both channels preferred, no GG in the first two cycles), each violation citing the vendor article it comes from — and the same set scored across EVERY chemistry generation at once, because XLEAP moved the dual-color base from A to C and a set balanced on a NovaSeq 6000 is not balanced on a NovaSeq X. This is the color question alone; check_index_pool asks it alongside distance, duplicates and hopping for a whole pool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_filesNoThe project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name.
_subjectNoThe record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several.
barcodesYesthe index sequences to score, one per sample.
instrumentNothe instrument whose chemistry the set is judged under, and whose index-2 orientation applies.NovaSeq X / X Plus

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYeswhether the set clears every rule for this chemistry
tierYesIllumina's own grading of this set on this instrument: `ideal`, `acceptable` or `unacceptable`
cyclesYesper-cycle channel occupancy — the census the tier is computed from
violationsYeseach rule broken, the cycles it was broken at, and the vendor article it comes from
acrossChemistriesYesthe SAME set scored under every chemistry generation, so a set that passes here and fails on another instrument says so before the run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, so the safety profile is covered. The description adds real behavioral context beyond that: every violation cites the vendor article it derives from, and the whole set is scored across every chemistry generation simultaneously (with the XLEAP A-to-C dual-color shift explained). It does not discuss cost, latency, or failure modes when an instrument is unknown.

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

Conciseness3/5

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

The rhetorical opening ('Will the sequencer SEE these indexes?') and dense em-dash clauses carry real information but are stylistically inflated for the ~3 underlying ideas (per-cycle occupancy vs rules, cross-chemistry scoring, sibling distinction). It is front-loaded with the core question and contains no filler sentences, but it is longer than it needs to be.

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?

An output schema exists, so return values need not be described, and the description covers scope, the specific rule set, multi-chemistry scoring, and the sibling boundary. For a tool with nested plumbing objects (_files/_subject) the definition is adequate, though it says nothing about how large a barcode set can be or what happens with mixed instrument assumptions.

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?

Schema coverage is 100%, so the baseline is 3; the schema already documents barcodes and instrument. The description nonetheless adds interpretive meaning for the instrument parameter by explaining why chemistry generation matters (a set balanced on a NovaSeq 6000 is not balanced on a NovaSeq X), which the enum list alone does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

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

The description states a concrete verb+resource: scoring per-cycle channel occupancy of a set of index sequences under a given instrument's SBS chemistry, with the specific Illumina rules cited. It explicitly differentiates itself from the sibling check_index_pool ('this is the color question alone'). An agent can tell the two apart without opening a schema.

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?

It names the alternative (check_index_pool) and the condition that selects it: this tool answers the color question alone, while the sibling bundles it with distance, duplicates and hopping. That is clear routing guidance, though it stops short of stating an explicit trigger such as 'call this before ordering index oligos' or any exclusion of when this tool is unnecessary.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources