Skip to main content
Glama

Jean — Molecular Biology & Genomics

check_invariants

Read-only

Decide whether a sequence is scientifically admissible: protein unchanged, forbidden restriction sites absent, reading frame intact, length/GC/CAI inside stated bounds.

Input Schema

NameRequiredDescriptionDefault
tableNoNCBI translation table. Advanced.
_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.
max_gcNomaximum GC fraction (0-1).
min_gcNominimum GC fraction (0-1).
min_caiNominimum CAI (needs cai_organism). Advanced.
_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.
sequenceNothe sequence to judge — defaults to the open record.
gc_windowNojudge every window of this many bases instead of the whole sequence — a synthesis is rejected on a local GC peak, not on the mean. In bp. Advanced.
max_lengthNomaximum length [bp]. In bp. Advanced.
min_lengthNominimum length [bp]. In bp. Advanced.
cai_organismNohost for the codon-adaptation check, e.g. sce. Advanced.
forbid_sitesNoenzyme names that must not cut, e.g. BsaI, BsmBI.
require_stopNowith require_frame: the last codon must be a stop. Only applies when require_frame is true. Advanced.
require_frameNolength divisible by 3 and no premature stop.
require_startNowith require_frame: the first codon must be a start codon. Only applies when require_frame is true. Advanced.
preserve_protein_ofNothe ORIGINAL coding sequence (or its protein): the result must still translate to it.

Output Schema

NameRequiredDescriptionDefault
failedYeshow many invariants did not hold
checkedYeshow many invariants were asked
summaryYesone line per failure: value, requirement, remedy
verdictsYesper-invariant verdicts, with breach coordinates
admissibleYesevery invariant was decided and held

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / require_start / description
      Previous value: -"with require_frame: the first codon must be a start codon. Advanced."New value: +"with require_frame: the first codon must be a start codon. Only applies when require_frame is true. Advanced."
    • changedInput schema / properties / require_stop / description
      Previous value: -"with require_frame: the last codon must be a stop. Advanced."New value: +"with require_frame: the last codon must be a stop. Only applies when require_frame is true. Advanced."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds the notion of a pass/fail scientific verdict but omits behavior beyond that — notably that all listed criteria are opt-in via parameters, so the sentence reads as if every check always runs. That is a mild transparency gap rather than a contradiction with the 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?

One front-loaded sentence states the verdict and then lists the four check families; nothing is wasted. The colon-separated enumeration is compact and scannable, though it stops just short of routing information.

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?

An output schema exists, so return values need not be explained, but with 16 parameters including the nested _subject/_files project context, the description never mentions the default behavior when no criteria are supplied, nor the record-versus-raw-sequence input modes. For a tool of this complexity that is adequate but leaves real gaps.

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% and the schema documentation is unusually rich (e.g. gc_window explaining that synthesis is rejected on a local GC peak rather than the mean). The description only names check categories generically ('protein unchanged', 'length/GC/CAI inside stated bounds') without mapping them to the specific options like preserve_protein_of, min_gc/max_gc, min_cai with cai_organism, or the require_frame/require_start/require_stop interaction. Baseline 3 is appropriate.

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 gives a specific verb and resource — 'Decide whether a sequence is scientifically admissible' — and enumerates the concrete checks (protein preservation, forbidden sites, frame, length/GC/CAI bounds). It does not differentiate the tool from overlapping siblings such as verify_construct, check_manufacturability, check_golden_gate_parts, or codon_optimality, so an agent must infer the boundary.

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 when-to-use guidance, no prerequisites, and no named alternative. With many sibling tools performing adjacent validation (check_manufacturability, verify_construct, audit_cds_annotations), the description leaves selection entirely to inference from the word 'admissible'.

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