Skip to main content
Glama

jean — Molecular Biology & Genomics

check_assay_decay

Read-only

Check a published PCR or sequencing assay against the sequences that are circulating now: for each oligo, where its best binding site is in each genome, how many positions mismatch, and whether a mismatch sits in the 3′ end a polymerase has to extend through. It answers the question an assay's age raises — the design was made against the genomes available on the day, and the target has drifted under it since — as a RATE per oligo with an exact binomial interval, plus the mismatch count at each position of the oligo, which is the shape a manufacturer's own in-silico inclusivity table takes. IUPAC codes in an oligo are read as the breadth its designers meant, so a position a code covers is never a mismatch; a site overlapping ambiguous bases in a submitted assembly is missing data and leaves that genome out of that oligo's denominator rather than counting as a match or a mismatch. A probe gets no 3′-end rate, because it is not extended. Graded against EMBOSS fuzznuc on every oligo of twelve published SARS-CoV-2 assays over 400 genomes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assayNowhat the assay is called, for the result to name.assay
_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.
probesNothe assay's probes, 5′→3′. Scored the same way but with no 3′-end rule: a probe is not extended.
primersNothe assay's primers, 5′→3′, IUPAC allowed. Written `name=SEQUENCE` to carry the published 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.
sequencesYesthe genomes to check against: wire upstream records here, or list library document names.
include_subjectNoalso check the node's subject (the open or wired record).
three_prime_windowNohow many bases from a primer's 3′ end count as its 3′ end. 5 is the window Primer-BLAST's own specificity rule uses. In bp.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
sitesYesevery (oligo, genome) site: strand, start, the mismatching positions and whether the genome could be scored
worstYesthe oligo with the highest mismatch rate, which is the one that decides the assay
oligosYesper oligo: genomes scored, genomes with a mismatch, the rate and its exact 95% interval, the 3′-end count, and the mismatch count at each position
resultYesthe full result
worstRateYesthat oligo's mismatch rate, for a threshold downstream
threePrimeYeshow many (primer, genome) pairs carry a mismatch in the 3′-end window

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses real behavioral rules an agent could not infer: IUPAC positions are never counted as mismatches, ambiguous assembly bases are treated as missing data and drop that genome from the oligo's denominator rather than counting either way, probes receive no 3′-end rate, and results are reported as rates with exact binomial intervals. It also cites external validation (EMBOSS fuzznuc, twelve SARS-CoV-2 assays, 400 genomes), which is unusually informative.

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 purpose is front-loaded, which is good, but the body is a single dense paragraph of stacked em-dash clauses with no ordering or grouping, and the closing EMBOSS validation sentence reads more like a credibility claim than operational guidance. It is not bloated relative to tool complexity, but it is harder to parse 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?

For an 8-parameter tool with nested objects and an output schema, the description covers the hard edge cases (IUPAC breadth, ambiguous bases, probe vs primer extension) that an agent could not infer. The wiring parameters (_subject, _files, include_subject) are left to the schema, which is acceptable since an output schema exists to cover returns.

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%, so the schema already documents assay, primers (name=SEQUENCE, IUPAC allowed), probes, three_prime_window (bp, Primer-BLAST's rule), and sequences. The description adds conceptual behavior for primers vs probes and for IUPAC handling, but that is scoring semantics rather than per-parameter clarification, so the baseline 3 is the right level.

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 opening clause gives a specific verb and resource: "Check a published PCR or sequencing assay against the sequences that are circulating now," and enumerates the concrete outputs (best binding site per genome, mismatch count, 3′-end involvement). It is clearly a drift/decay audit rather than a primer-design or specificity tool, though it never explicitly names the sibling (e.g. check_primer_specificity) it should not be confused with.

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?

Usage context is well framed: "It answers the question an assay's age raises — the design was made against the genomes available on the day, and the target has drifted under it since," which tells an agent exactly when this tool applies. It stops short of stating exclusions or naming alternatives (e.g. when to prefer primer_check or check_primer_specificity).

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