Skip to main content
Glama

jean — Molecular Biology & Genomics

dot_plot

Read-only

Self-similarity or pairwise comparison of the subject as a dot plot — repeats, inversions and shared regions. Three real engines: exact k-mer (FlexiDot/dottup), windowed identity (seqinr) and windowed substitution-matrix scoring (EMBOSS dotmatcher), which answer different questions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepNoresidues between window starts (seqinr `wstep`). 1 compares every position. Only applies when engine is window. Advanced.
otherNothe sequence to compare against — wire a record or name a library document; leave unset for self-vs-self.
shiftNophase offset applied to the second sequence's windows (seqinr `shift`). Only applies when engine is window. Advanced.
_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.
dedupeNodrop the duplicate runs dotmatcher's two passes leave on the shared diagonal. Off matches upstream; a caller that COUNTS runs wants it on. Only applies when engine is matrix. Advanced.
engineNoexact k-mer (blind to diverged repeats) · windowed identity · matrix-scored windows (the only one that grades a substitution). Values: word (Exact k-mer (dottup)), window (Windowed identity (seqinr)), matrix (Substitution matrix (dotmatcher)).word
matrixNowhich substitution matrix scores the windows. Unset picks EDNAFULL for nucleotide and EBLOSUM62 for protein, as EMBOSS dotmatcher does. Values: EDNAFULL (EDNAFULL (nucleotide)), EBLOSUM62 (EBLOSUM62 (protein)). Only applies when engine is matrix. Advanced.
_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.
max_cellsNorefuse rather than compute past this many window comparisons. A ceiling, not a target: raise it for a large pair. Only applies when engine is window. Advanced.
thresholdNoscore a window must reach (EMBOSS default 23). Only applies when engine is matrix. Advanced.
word_sizeNok for the k-mer engine, or the window length for the other two. In bp.
nucleotideNonucleotide rather than protein. Advanced.
matrix_textNoa custom scoring matrix in EMBOSS/NCBI format, overriding `matrix`. Only applies when engine is matrix. Advanced.
min_matchesNopositions inside the window that must agree for it to be marked (seqinr `nmatch`). At 1 almost every window qualifies; raise it toward the window length to demand real identity. Only applies when engine is window.
best_path_onlyNoreduce forward segments to a non-overlapping best path (EMBOSS dotpath). Only applies when engine is word. Advanced.
convert_wobblesNoexpand IUPAC ambiguity codes so a wobble matches what it stands for (FlexiDot). Only applies when engine is word. Advanced.
reverse_complementNoalso plot matches against the reverse complement (k-mer engine). Only applies when engine is word.
max_unknown_percentNopercentage of a k-mer allowed to be N (or X for protein) before it is skipped. In %. Only applies when engine is word. Advanced.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
plotYesthe full result — segments or points, plus axis lengths
statsYeslongest runs, run counts and per-sequence coverage
coverageYesfraction of the subject covered by at least one forward match (0–1)
longestForwardYesresidues on the longest uninterrupted forward run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/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. Beyond that, the description explains the distinct behavioral character of each engine (e.g., exact k-mer is blind to diverged repeats, matrix scoring grades substitutions), which adds meaningful context about what the computation actually reveals.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two tightly written sentences with no filler. It front-loads the purpose and then gives the engine breakdown, making it easy for an agent to parse before drilling into the schema.

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 a tool with 18 optional parameters, nested objects, and an output schema, the description supplies a clear high-level framing and enough engine context to orient an agent. It does not need to explain return values because an output schema exists, though it could be slightly more explicit about when to prefer each engine.

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 itself already documents all 18 parameters in detail. The description does not add syntax, format, or default guidance beyond what the schema provides; it only repeats the engine choice at a high level. A baseline 3 is appropriate when structured fields carry 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 clearly states that the tool produces a dot plot for self-similarity or pairwise comparison and names the biological features it reveals (repeats, inversions, shared regions). It is a specific purpose for a visualization tool, but it does not explicitly distinguish itself from the sibling dot_plot_grid or other plotting 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?

The opening phrase establishes the use case (self-similarity or pairwise comparison) and the description notes that the three engines answer different questions, which implies engine choice. However, it does not explicitly say when to choose this tool over sibling alternatives such as dot_plot_grid, and it provides no exclusions or preconditions.

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