Skip to main content
Glama

jean — Molecular Biology & Genomics

check_value

Read-only

A QC gate. Compares a wired value against a threshold and PASSES or FAILS the pipeline there — every node downstream of a failed gate is skipped, so a run stops at the first check that does not hold. This is how a pipeline expresses 'only continue if the clone is right'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
maxNoupper bound, inclusive. Only applies when operator is between.
minNolower bound, inclusive. Only applies when operator is between.
setNothe values the checked value must be one of (or none of), compared as text, so `1` matches 1. Only applies when operator is in or not_in.
textNothe text the value must contain. Only applies when operator is contains.
labelNowhat this gate is checking, in your words — it becomes the message when the gate fails (e.g. 'single EcoRI site').
valueYesthe value to check — wire a number (cut count, product size, tip count, Tm) or any output; a list is compared by its length.
_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.
recordNooptional: the record this gate is guarding. It comes straight back out of the `record` output when the check passes, so the gate sits in the middle of a chain.
againstNooptional: compare against another step's value instead of the fixed threshold. When wired, this wins over `threshold`. Only applies when operator is == or != or > or >= or < or <=.
_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.
operatorNohow to compare. Values: == (equals), != (does not equal), > (greater than), >= (at least), < (less than), <= (at most), between (between (inclusive)), in (is one of), not_in (is none of), contains (contains text), is_true (is true), not_empty (is not empty).>=
thresholdNothe value to compare against. Leave it unset and wire `against` instead to compare two steps. Only applies when operator is == or != or > or >= or < or <=.
report_onlyNoreport the verdict instead of stopping the run: wire `passed` (or `failed`) into another step's condition to choose a branch.
against_factorNomultiply the compared-against value by this first, so `at least twice the smallest band` is one gate rather than an arithmetic step. Only applies when operator is == or != or > or >= or < or <=.
against_offsetNothen add this, so `within 50 bp of the predicted size` is expressible against a computed value. Only applies when operator is == or != or > or >= or < or <=.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesthe value that was checked, passed straight through so the gate can sit mid-chain
failedYesthe opposite verdict, so the ELSE arm of a branch needs no extra step. Only meaningful with `report_only` on
passedYeswhether the check held. As a gate this is true whenever it is read downstream, since a failure stops the run; with `report_only` on it is the real verdict, for driving a branch
recordYesthe guarded record, unchanged — wire it into the next node's $subject to make that step conditional on this check
messageYeswhat was compared, in words

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?

With annotations already declaring readOnlyHint=true and destructiveHint=false, the description adds genuinely useful non-obvious behavior: downstream nodes are skipped on failure and the run stops at the first failing check. It does not discuss what happens on the pass path beyond passing, though the output schema covers return values.

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?

Three sentences, front-loaded with the 'QC gate' label, zero filler, and each sentence adds a distinct fact (what it does, fail-fast scope, pipeline idiom).

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 15-parameter gate with full schema coverage, existing annotations, and an output schema, the description covers the essential control-flow semantics an agent needs. The notable omission is that the report_only branch mode is never surfaced outside the schema, which is a material alternative use of the same 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% across all 15 parameters, so the schema already carries full parameter meaning including operator enums, min/max, against, and factors. The description adds only the conceptual notion of a 'wired value' and 'threshold', not syntax or parameter-level detail; baseline 3 is appropriate.

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 precise verb and resource — compares a wired value against a threshold and passes/fails the pipeline — and the 'QC gate' framing makes its role unmistakable. An agent can tell this is a control-flow assertion step rather than a data-transform sibling like filter_items or summarize_rows.

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?

'This is how a pipeline expresses "only continue if the clone is right"' gives clear when-to-use context for gating a chain. It does not, however, name alternatives or the branching (report_only) mode as a distinct usage path, so guidance is clear but incomplete.

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