Skip to main content
Glama

jean — Molecular Biology & Genomics

scan_motif_sites

Read-only

Find every place a transcription-factor binding motif (a position-frequency matrix, such as a JASPAR matrix's counts) matches a DNA sequence, on both strands, at a threshold set per motif as a fraction of that matrix's own score range. It is the scan the optimizer's avoid-motif specification counts, so the sites it lists are the ones an optimisation with that motif would remove. Each site carries its log-odds score and where that score falls in the matrix's range. A match is a sequence resemblance to the matrix, not evidence of binding.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
_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.
motifsYesthe matrices, each {name, counts: {A, C, G, T} per position, relativeThreshold (0-1 of the matrix's score range) or threshold (absolute log-odds)}. Pseudocounts are JASPAR's sqrt(N) by default.
_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.
sequenceNothe DNA to scan - leave unset to use the open record.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYeshow many matches in total
sitesYesevery match, by position: motif name, start and end (0-based, end exclusive), strand, log-odds score and its fraction of the matrix's range
perMotifYesthe number of matches for each motif, by name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so this dimension is about added context. The description adds real behavioral value: both-strand scanning, per-motif threshold as a fraction of the matrix's own score range, log-odds score-and-rank per site, and the important interpretive caveat that a match is sequence resemblance, not evidence of binding.

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?

Front-loads purpose, then context, return content, and caveat in a logical order. The phrasing 'the scan the optimizer's avoid-motif specification counts' is slightly convoluted, but overall size is appropriate for the tool's complexity.

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?

An output schema exists, and the description still usefully signals what each site carries. Covers mechanism, threshold semantics, return content, and interpretation. The only real gap is explicit routing versus sibling scan tools.

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 coverage is 100%, so the schema already documents the relativeThreshold vs absolute-threshold semantics. The description restates the fraction-of-score-range idea in natural language, adding marginal meaning but not going beyond the schema's own parameter documentation. Baseline 3 applies.

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 (Find) and resource (transcription-factor binding motif matches in a DNA sequence), and pins down the matrix-based scoring model in the parenthetical, which cleanly distinguishes it from pattern-based siblings like find_linear_motifs and promoter-specific scans like scan_sigma70_promoters. An agent can identify the operation without opening 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 Guidelines3/5

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

The relation to the optimizer's avoid-motif specification gives context about anticipated use, but there is no explicit when-to-use/when-not statement and no named alternative among the many scan_*/find_* motif siblings. Usage is implied rather than routed.

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