Skip to main content
Glama

Jean — Molecular Biology & Genomics

align_read

Read-only

Pairwise-align ONE sequencing read against a reference and hand on the two gapped rows, so the read can be graded.

Input Schema

NameRequiredDescriptionDefault
readYesthe read's bases — wire a trace reader's `sequence` output here, or paste them.
_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.
referenceNowhat to align against. Unset, it is the record this step runs on (the open plasmid, or an upstream product wired into the subject).

Output Schema

NameRequiredDescriptionDefault
columnsYesthe alignment's width, gaps included
identityYes% identity over the columns where both rows have a base (gaps excluded)
mismatchesYescolumns where the two rows carry different bases
alignedReadYesthe read with gaps inserted — wire into `verify_read.aligned_read`
referenceLengthYesthe reference's ungapped length in bp — wire into `verify_read.target_len`
alignedReferenceYesthe reference with gaps inserted — wire into `verify_read.aligned_ref`

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / identity / x-unit
      Added value: +"%"
    • addedOutput schema / properties / referenceLength / x-unit
      Added value: +"bp"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare a safe read-only, non-destructive, closed-world operation, so the safety profile is covered. The description adds the handoff detail that the result is 'the two gapped rows' passed onward for grading, which is useful behavioral context, but it says nothing about alignment parameters, ambiguity handling, or failure modes.

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 tight sentence with the action and scope front-loaded and the downstream payoff trailing. No wasted clauses, though the phrasing is dense enough that the purpose clause takes a second read.

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?

With an output schema, full annotation coverage, and 100% parameter documentation, the description only needs to frame what the tool is and what it produces. It does both, though it leaves the relationship to the many alignment/grading siblings for the agent to infer.

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 coverage is 100%, so the read/reference/_subject/_files semantics are already fully documented in the schema, including the default-reference behavior. The description's mention of aligning 'against a reference' restates rather than extends that, so the baseline 3 applies.

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 pairs a specific verb ('Pairwise-align') with a precise resource and scope ('ONE sequencing read against a reference'), which is enough to separate it from multi-sequence siblings like align_sequences or compare_reads_to_reference. It stops short of naming any sibling explicitly, so differentiation is inferred from the 'ONE read' scoping rather than stated.

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?

'so the read can be graded' hints at the downstream purpose (evaluating a read against its reference), which implies a usage context. However, the description never states when to pick this over align_sequences, verify_read, compare_reads_to_reference, or map_reads, and gives no prerequisites or exclusions.

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