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.

Input 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

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

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, openWorldHint=false and an output schema exists, so the safety/return profile is covered elsewhere. The description adds only the interpretive framing that repeats, inversions and shared regions are what such plots reveal — nothing about cost, the max_cells ceiling, or which engine consumes which parameters.

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 zero filler, which is structurally clean. For a tool this configurable it is arguably too terse, but nothing is redundant or buried.

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 18 parameters, three mutually exclusive engines, and a nested subject object, the description never mentions that engine selection changes which parameters matter or what the result is (a plotted figure). The rich schema and output schema compensate, making this adequate rather than inadequate.

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 all 18 parameters — including the word/window/matrix engine gating and advanced flags — are already documented where the agent reads them. The description adds no meaning beyond the schema; 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 states a specific verb (self-similarity or pairwise comparison) and resource (the subject), and names concrete outputs of interest — repeats, inversions, shared regions. It does not differentiate itself from the sibling dot_plot_grid, which an agent could easily confuse it with.

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?

It implicitly frames two modes — compare the subject to itself, or to a pairwise partner — which maps to leaving `other` unset or set. However there is no explicit when-to-use guidance, no exclusion against dot_plot_grid or alignment tools, and no note about which engine to pick for which question.

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