Skip to main content
Glama

jean — Molecular Biology & Genomics

dot_plot_grid

Read-only

All-against-all dot plot over a sequence SET — EMBOSS polydot. Every ordered pair is plotted with the exact k-mer engine and laid out as an N×N grid, so shared regions, repeats and inversions across a whole family are visible in one picture. Answers a different question from dot_plot, which compares exactly two: this one ranks which members share material and how much. Wire many upstream record/sequence outputs into sequences, or name library documents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gapNoresidues of blank space drawn between panels in the composite layout (EMBOSS default 10). 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.
_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.
sequencesYesthe set to compare all against all — wire several upstream outputs here, or list library document names/ids.
word_sizeNok. EMBOSS polydot's default is 6, which is smaller than dottup's because a grid of short panels needs a shorter word to show anything. In bp.
nucleotideNonucleotide rather than protein. Advanced.
max_residuesNorefuse when the set's total residue count exceeds this. In bp. Advanced.
max_sequencesNorefuse a set larger than this rather than starting N² comparisons. Advanced.
best_path_onlyNoreduce each panel's forward runs to a non-overlapping best path (EMBOSS dotpath). Advanced.
convert_wobblesNoexpand IUPAC ambiguity codes so a wobble matches what it stands for. Advanced.
include_subjectNoalso include the node's subject (the open or wired record) as a member of the set.
reverse_complementNoplot each pair against the reverse complement too. Not an EMBOSS capability — ours, so an inversion between two members is visible.
max_unknown_percentNopercentage of a k-mer allowed to be N (or X for protein) before it is skipped. In %. Advanced.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gridYesthe full result — every panel's runs plus its offset in the composite coordinate space
summaryYesEMBOSS's per-sequence table — name, length, and the matches drawn in that sequence's whole column
sequencesYesthe set as plotted, in grid order, with each member's length
memberCountYesmembers in the set (the grid is this squared)
sharingPairsYesoff-diagonal panels carrying at least one shared word — how connected the set is, the leading diagonal excluded because a member always matches itself

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the all-ordered-pair N×N layout, that it ranks which members share material, and that reverse-complement plotting is a non-EMBOSS extension for spotting inversions. It does not restate the refusal thresholds for oversized sets, which live 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?

Three sentences, front-loaded with the core action before the sibling differentiation and the input guidance. Every sentence contributes, though the third sentence's wiring hint overlaps with the schema and could be trimmed.

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, the description need not explain return values, and annotations plus 100% schema coverage carry the parameter and safety detail. The description supplies the remaining needed context: what a grid comparison is for and why it differs from the pairwise sibling. Complete enough for a 13-parameter tool.

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 documents all 13 parameters including `sequences`, `word_size`, and the guard rails. The description's guidance on `sequences` ('wire many upstream record/sequence outputs, or name library documents') largely repeats the schema text, adding little beyond it. Baseline 3 is appropriate.

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 (all-against-all dot plot), the resource (a sequence SET), the underlying engine (EMBOSS polydot), and the output shape (N×N grid). It explicitly distinguishes itself from sibling `dot_plot` by scope: this one compares a whole family, that one exactly two.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Names the alternative (`dot_plot`) and the condition that selects this tool over it ('Answers a different question from dot_plot, which compares exactly two'). It also tells the agent how to populate the required `sequences` argument, either by wiring upstream outputs or naming library documents.

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