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.

Input 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

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.7/5.0
Behavior4/5

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

Annotations already declare this a safe, non-destructive, non-open-world read, so the description only needed to add behavioral context — and it does: hits are reported on both strands, and each motif's threshold is interpreted as a fraction of that matrix's own score range, which materially affects hit counts. It does not discuss runtime, hit limits, or overlapping-hit handling, and the return shape is left to the output 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 with no filler; the core action comes first and the qualifiers follow. It is dense, with nested parentheticals, but every clause carries information, so it reads as economical rather than padded.

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 a full output schema and 100%-documented parameters, the description only needs to convey what a call means — matrix-based scanning across both strands with motif-relative stringency — and it does that. The remaining gap is guidance on choosing this over sibling motif/promoter scanners, which is a routing concern rather than a calling correctness one.

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% and the schema already spells out the motif object (name, counts, relativeThreshold vs absolute threshold, JASPAR pseudocounts) and the open-record default for sequence. The description largely restates the threshold-as-fraction-of-score-range semantics rather than adding new meaning, so the 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?

States a specific verb ('find every place') and a precisely defined resource (a position-frequency matrix matching a DNA sequence), including scope details like both-strand scanning and per-motif thresholds. It explains the mechanism well enough to distinguish matrix-based scanning from a simpler pattern search, but never names the nearest sibling (find_linear_motifs) explicitly.

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 framing: supply a DNA sequence (or rely on the open record) plus a set of matrices. There is no explicit when-to-use/when-not statement, no mention of alternatives such as find_linear_motifs or the promoter/terminator scanners, and no prerequisites or caveats about matrix quality.

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