Skip to main content
Glama

Jean — Molecular Biology & Genomics

read_sequencing_qc

Read-only

Read the QC files a sequencing provider returns alongside the reads: a per-base COVERAGE table, or a Plasmidsaurus summary (k-mer composition and the contamination estimate with its named source).

Input Schema

NameRequiredDescriptionDefault
kindNowhich report this is; `auto` sniffs it. Values: auto (Detect from the contents), perbase (Per-base coverage table), plasmidsaurus (Plasmidsaurus summary).auto
textYesthe file's contents — a per-base coverage TSV (pos / ref / reads_all), or the provider's summary text.
_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.
step_windowNopositions either side of a boundary whose MEDIAN depth is compared, when looking for a sudden change in level. A median over a window rather than two adjacent positions, so one spike is not a step and a real change in level is. Advanced.
coverage_lineNothe depth a position must reach to count as well covered. The default is the provider's own published line and nothing of ours; raise it for a construct you intend to publish.

Output Schema

NameRequiredDescriptionDefault
kindYeswhich report was actually read
shapeYesthe coverage track's SHAPE: its median, how many positions fall under the line and in how many separate runs, the longest such run with its coordinates and its floor, and the largest change in level with the position it is at
perbaseYesper-base coverage: positions counted, mean/min/max read depth, and how many positions reach 20x
readingYeswhat the coverage track says, generated from the profile that was measured rather than from the request, with the provider's own sentence quoted as theirs
longestGapYespositions in the longest unbroken stretch under the coverage line — the provider's first warning shape. 0 means no position falls under it; null for a Plasmidsaurus summary, which has no track
minCoverageYesthe LOWEST depth anywhere in the read — the number that decides whether a disagreement with the reference is believable. Null for a Plasmidsaurus summary, which measures no depth
depthProfileYesthe depth track drawn: the MINIMUM and the mean depth per window, with the coverage line and the track's median as rules, so a drop-out reads as a drop-out rather than being averaged away. Null for a Plasmidsaurus summary, which measures no track
plasmidsaurusYesthe whole parsed summary, including the raw text it came from
largestStepFoldYesthe largest sustained rise in depth, as a multiple — the provider's second warning shape. Branch on this rather than re-deriving it from the profile. Null when no step could be measured (a track shorter than two windows, or a Plasmidsaurus summary): a 0 is not a fold
contaminationPctYesPlasmidsaurus' contamination estimate, as a percentage. Null when the summary states none, and for a coverage table: a 0 would read as a clean run nobody measured
positionsAbove20xYespositions at 20x or better, out of the total. Null for a Plasmidsaurus summary
contaminationSourceYeswhat the provider says the contaminant IS — the half of the estimate that tells you what to do about it. Null when the summary names none, and for a coverage table

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / contaminationPct / x-unit
      Added value: +"%"
  2. Changed2 schema fields changed
    • addedOutput schema / properties / depthProfile
      Added value: +{
      +  "description": "the depth track drawn: the MINIMUM and the mean depth per window, with the coverage line and the track's median as rules, so a drop-out reads as a drop-out rather than being averaged away. Null for a Plasmidsaurus summary, which measures no track",
      +  "properties": {
      +    "mark": {
      +      "enum": [
      +        "line",
      +        "bar",
      +        "point"
      +      ],
      +      "type": "string"
      +    },
      +    "rules": {
      +      "items": {
      +        "properties": {
      +          "label": {
      +            "type": "string"
      +          },
      +          "y": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "y",
      +          "label"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "series": {
      +      "items": {
      +        "properties": {
      +          "name": {
      +            "type": "string"
      +          },
      +          "y": {
      +            "items": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "name",
      +          "y"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "x": {
      +      "items": {
      +        "type": "number"
      +      },
      +      "type": "array"
      +    },
      +    "xLabel": {
      +      "type": "string"
      +    },
      +    "yLabel": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "series",
      +    "xLabel",
      +    "yLabel"
      +  ],
      +  "type": [
      +    "object",
      +    "null"
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "kind",
      -  "perbase",
      -  "minCoverage",
      -  "positionsAbove20x",
      -  "contaminationPct",
      -  "contaminationSource",
      -  "plasmidsaurus",
      -  "shape",
      -  "longestGap",
      -  "largestStepFold",
      -  "reading"
      -]New value: +[
      +  "kind",
      +  "perbase",
      +  "minCoverage",
      +  "positionsAbove20x",
      +  "contaminationPct",
      +  "contaminationSource",
      +  "plasmidsaurus",
      +  "shape",
      +  "longestGap",
      +  "largestStepFold",
      +  "depthProfile",
      +  "reading"
      +]
  3. First observed

TDQS

B3.4/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 the safety profile is covered without the description. The description adds genuinely useful behavioral detail — that it parses two distinct provider formats and surfaces k-mer composition plus a contamination estimate with its named source — but says nothing about how formats are chosen or what happens on unrecognized input.

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?

A single front-loaded sentence with no filler, and the two report types are presented in a scannable parallel structure. It is dense but every clause carries information an agent needs.

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?

With an output schema, a fully documented input schema, and read-only annotations, the description needn't explain returns or safety. It is therefore adequate, but for a tool sitting among many QC-adjacent siblings it leaves the routing question unaddressed, which is the one gap structured fields cannot fill.

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 every parameter including the kind enum, step_window, and coverage_line is already documented in the schema; baseline 3 applies. The description corroborates the two report kinds that kind selects between but adds no formatting, sizing, or interpretation guidance beyond that.

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?

States a specific verb (read) and resource (QC files returned by a sequencing provider), then enumerates the two supported report types — per-base coverage table and Plasmidsaurus summary — so an agent knows exactly what content this tool consumes. It does not name or distinguish itself from plausible siblings such as fastq_qc or screen_contamination, which keeps it out of the top band.

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

Usage Guidelines3/5

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

Usage is implied by the framing (you have provider-supplied QC output), but there is no explicit statement of when to reach for this versus fastq_qc, screen_contamination, or alignment tools, and no exclusions or prerequisites. An agent can infer the trigger condition but must guess at routing among alternatives.

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