Skip to main content
Glama

jean — Molecular Biology & Genomics

export_trace

Read-only

Write a Sanger read out in any of the eight formats the trace editor's Export section offers, and hand the file back as TEXT in the pipeline rather than as a download. Reports what the chosen target DROPPED — a read written as FASTA loses its annotations, and every target but FASTQ loses the per-base quality — because those losses are invisible in the file itself. Trims the ends first when asked, by the same three methods the Trim section offers, so a graph does not need a separate step to write a trimmed read.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trimNotrim the ends before writing, the same three ways the Trim section does. `none` writes the file's calls as they are; `auto` uses the file's own Mott record when it has one and the sliding window when it does not; `mott` is the instrument's record, which SCF and ZTR never carry; `window` always computes it here.none
_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.
formatNothe target. FASTQ is the only one that carries the per-base Phred; GenBank and EMBL are the only two that carry annotations; the rest are a bare sequence.fasta
_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.
documentNowhich trace file to write: its name (`read_F.ab1`) or its project file id. A file id is project-specific, so a template ships this unset.
use_internal_nameNoname the record and the filename from the instrument's own sample record (ABIF `SMPL`) rather than from the file name. The instrument's name is often a plate well that means nothing outside the run; a file with no internal record uses its filename either way, and says so.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesthe file, as text. A VALUE and not a download, deliberately: a graph step that wrote to disk could not be composed with the step after it
basesYeshow many bases the file carries
readingYesthe same sentence the editor shows for this export, generated from it
filenameYesthe name this would be saved as, with the user's own extension for this format applied
sequenceYesjust the bases that were written, so a downstream step does not have to parse the record back apart
trimUsedYeswhich trim actually ran. `auto` answers `window` on a file with no Mott record, so a pipeline that assumed otherwise trimmed on a threshold nobody chose — the same trap `trim_trace`'s `methodUsed` exists for
fileBasesYeshow many calls the trace file holds. Read it against `bases`: the difference is what the bounds cut
lastBaseKeptYes1-based inclusive
firstBaseKeptYes1-based inclusive, the same convention `trim_trace` reports in and every trim readout in the editor uses
carriedQualityYeswhether the per-base Phred reached the file. False on every target but FASTQ, and on a read that never had one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only supply the safety profile (readOnlyHint, destructiveHint=false), and the description goes well beyond them by disclosing lossy behavior that is invisible in the output: FASTA drops annotations, every target except FASTQ drops per-base Phred, and it reports those drops back. The text-vs-download distinction also explains why this reads as readOnly despite the verb 'write', so it complements rather than contradicts 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?

Three sentences, front-loaded with the core action and consequence, and each sentence carries distinct information (output mode, data-loss reporting, trimming integration). Slightly dense and wordy in places, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter tool with nested objects and an output schema, the description covers purpose, output mode, format trade-offs and the trim interaction without needing to explain return values. Nothing an agent needs to select and call it correctly is missing.

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 already documents trim, format, _subject, document and use_internal_name in detail, so the baseline is 3. The description adds framing (trim uses the same three methods as the Trim section; format losses drive output fidelity) but no syntax or value details beyond what the schema carries.

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?

States a specific verb (write/export) and resource (a Sanger read) and pins the scope precisely: it returns the serialized file as TEXT in the pipeline rather than a download. That distinguishes it cleanly from siblings like draw_trace, trim_trace, list_traces and restore_trace_file_calls without needing the schema.

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?

Gives clear context for when to reach for it (to get a read out in one of eight export formats and to trim in the same step instead of a separate call), and it names the Trim section's methods as the mechanism. It stops short of naming specific alternative tools or an explicit when-not-to-use, so it is strong context rather than full routing.

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