Skip to main content
Glama

jean — Molecular Biology & Genomics

annotate_region

Read-only

Say what a genomic region holds in the reference tracks: the genes and RefSeq transcripts it overlaps, which complete coding sequences it CONTAINS (the only case where a residue-level design is honest), the DGV structural variants seen there in control populations with their frequencies, and how much of it lies in segmental duplications and how similar the best paralogue is. Every track answers with its authority, table and retrieval date. Coordinates are 1-based and inclusive, as a person writes chr17:41196312-41277500.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endYeslast base of the region, 1-based and inclusive.
buildYesthe assembly the coordinates are on, by the UCSC name the cached tracks use (hg19, hg38). A build with no cached track is refused by name rather than answered empty.
startYesfirst base of the region, 1-based.
_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.
dosageNowhich DGV evidence is comparable: `loss` for a deletion call, `gain` for a duplication, `any` for either. Balanced and unclassified variant types (insertions, inversions) are never counted as dosage evidence, and the count of them is reported instead. Values: any (Either direction), loss (Loss), gain (Gain).any
tracksNowhich tracks to read, comma-separated: `genes`, `dgv`, `segdups`. Unset reads all three. The coding verdict comes with `genes`.
_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.
chromosomeYesUCSC-style sequence name; a bare `17` or `X` is read as `chr17`/`chrX`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dgvYesDGV records of comparable dosage with study, sample size, frequency and reciprocal overlap; the fraction of the region they cover; how many balanced or unclassified records were not counted; the track provenance
genesYesoverlapping gene symbols, the ones with coding sequence in the region, and every transcript with the exons it touches; carries the track provenance
codingYesthe coding verdict (none, noncoding, partial, whole), the complete CDSs the region contains, the partial ones with how much of each it holds, and the reason a residue-level action is refused when it is
segdupsYessegmental duplications overlapping the region with their partner locus and identity, the fraction of the region they cover, and the track provenance
summaryYeswhat each track answered for this region, generated from the run

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/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; the description goes well beyond that by disclosing refusal semantics ('a build with no cached track is refused by name rather than answered empty'), provenance reporting ('every track answers with its authority, table and retrieval date'), coordinate convention, and the counting rule that balanced/unclassified variant types are never dosage evidence but are reported instead.

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?

Purpose is front-loaded in the first sentence, and the coordinate convention is placed last where it belongs. The first sentence is a long enumerated run-on that requires re-reading, and a few parentheticals ('the only case where a residue-level design is honest') are interpretive rather than operational, keeping it from a 5.

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, so the description need not document return values, yet it usefully characterizes what each track reports. With 8 parameters (4 required), a nested _subject object and 100% schema coverage, the description plus schema give an agent enough to call the tool correctly; the missing piece is explicit routing against sibling region/variant tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description genuinely adds meaning on top: it explains that 'tracks' controls which of genes/dgv/segdups is read and that the coding verdict is coupled to the 'genes' track, and it restates the build-refusal behavior tied to the 'build' parameter. It adds little for the coordinate parameters beyond what the schema already says (1-based, inclusive), so it is not a 5.

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 names a concrete verb ('say what a genomic region holds') and enumerates exactly what is returned: overlapping genes and RefSeq transcripts, contained complete CDS, DGV structural variants with frequencies, and segmental-duplication/paralogue similarity. That is far more specific than a restatement of the name. It stops short of a 5 because it never distinguishes itself from plausible siblings such as browse_region or lookup_variant, which an agent could reasonably 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?

Usage is only implied: the agent can infer this is the tool for characterizing a coordinate interval, and the note that tracks defaults to all three and that the coding verdict comes with 'genes' guides how to scope a call. However, there is no explicit when-to-use versus when-not, no prerequisite statement, and no alternative sibling is named for region-level questions.

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