Skip to main content
Glama

Jean — Molecular Biology & Genomics

detect_trace_indel

Read-only

Ask whether a Sanger trace splits into TWO READS OF DIFFERENT LENGTH, which is what a heterozygous insertion or deletion does: clean up to the indel, then a superposition of two sequences offset by its length.

Input Schema

NameRequiredDescriptionDefault
tableNothe instrument and polymer the quality scale was calibrated on. There is no universal default: a base scores differently under a different table, and the detector gates on a quality JUMP.3730pop7
_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.
documentNowhich trace file to read: its name (`read_F.ab1`) or its project file id. LEAVE IT EMPTY to run on the chromatogram tab that is open, in which case the answer also appears in the rail. A file id is project-specific, so a template ships this unset.
breakpoint_scanNoskip the search and measure the indel at this scan position on the x axis. -1 searches for it.
quality_value_readingNocorrected = read the quality values as TraceTuner's own header declares them, which is the only reading that can detect anything; upstream = reproduce the program as shipped, whose detector never fires.corrected

Output Schema

NameRequiredDescriptionDefault
foundYeswhether a heterozygous indel was detected. Wire it into a gate
reportYesthe whole finding, including the size in scans and the stutter verdict
longAlleleYesthe allele with the extra bases, from the breakpoint on. N marks a position the deconvolution would not commit to, not a low-quality base
qualityJumpYesthe drop in quality values across the breakpoint. It must exceed 7 for a position to be considered at all, so this is what a negative answer is checkable against
shortAlleleYesthe allele without them, from the breakpoint on
sizeInBasesYeshow many bases the longer allele carries that the shorter one does not
startsAtBaseYesthe 1-based base the split starts at, or 0 when none was found

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds the internal detection model (clean sequence up to the breakpoint, then two offset superpositions), which genuinely helps an agent interpret a positive result. It does not say how confident the call is, what happens with noisy or short traces, or how the breakpoint_scan and quality_value_reading switches affect the outcome – that material lives only in the schema.

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 that opens with the question the tool answers and then supplies the mechanism; no filler. The all-caps emphasis on the key terms is functional but slightly informal, and the colon-clause makes it denser 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?

With an output schema present and every parameter richly documented in the schema, the description's remaining burden is conceptual, and it delivers that. A six-parameter trace-analysis tool would ideally also hint at the open-tab default and the 'upstream never fires' caveat, but those are already in the schema, so nothing essential 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%, so the schema already explains table, document, breakpoint_scan, quality_value_reading and the _subject record. The description mentions the indel's length and offset conceptually but adds no syntax or selection advice for any of the six parameters. Baseline 3 applies when the schema carries the parameter burden.

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 states a concrete question the tool answers ('whether a Sanger trace splits into TWO READS OF DIFFERENT LENGTH') and ties it to the biological cause (heterozygous insertion or deletion), so the verb and resource are unambiguous. It stops short of naming a sibling such as tide_quantify_indels or call_mixed_bases_from_trace, so an agent must infer the distinction between this detector and other indel/mixed-base tools.

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 phrase 'which is what a heterozygous insertion or deletion does' – call it when you suspect a heterozygous indel in a Sanger trace. There is no explicit when-not guidance, no named alternative for homozygous indels, mixed bases, or quantification, and no prerequisites stated.

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