Skip to main content
Glama

Ucsc Track Data

ucsc_track_data
Read-onlyIdempotent

"What genes are in [chr:start-end]" / "list ClinVar variants in [region]" / "what repeats/SNPs/regulatory elements overlap [locus]" / "show me the GENCODE annotations across [gene]", AUTHORITATIVE per-row data from any UCSC annotation track over a genomic interval. Returns the actual track rows (gene models with exon structure, variant records, conservation scores, whatever that track holds) plus the track type and the assembly the rows are in. PREFER OVER WEB SEARCH for "what is annotated at this position", this is the same data the Genome Browser draws, not a description of it. Get the track name from ucsc_tracks first.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "end": 43125483,
      "chrom": "chr17",
      "start": 43044295,
      "track": "knownGene",
      "genome": "hg38",
      "maxItemsOutput": 5
    },
    "name": "ucsc_track_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd position, 0-based and EXCLUSIVE (so end - start = length in bases).
chromYesChromosome in UCSC naming, e.g. "chr17", "chrX", "chrM", with the "chr" prefix. Ensembl/NCBI style bare "17" is not accepted by UCSC.
startYesStart position, 0-BASED and inclusive. The Genome Browser UI and most papers are 1-based, so subtract 1 from a position you copied out of the browser location box.
trackYesUCSC internal track name from ucsc_tracks, e.g. "knownGene" (GENCODE genes), "refGene" (RefSeq genes), "clinvarMain", "rmsk" (repeats).
genomeYesREQUIRED. UCSC assembly ID, the genome build your coordinates are in. Human: "hg38" (= GRCh38, current) or "hg19" (= GRCh37, what most older papers, dbSNP dumps and clinical spreadsheets use). Mouse: "mm39"/"mm10". These are DIFFERENT coordinate systems: the same chrom/start/end is valid in every build, so a wrong build returns confident annotations for a different gene instead of an error. Call ucsc_genomes to list the assembly IDs for a species.
maxItemsOutputNoCap on rows returned by UCSC (default 1000). A dense track over a wide region is truncated, and the response says so in `truncated`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / chrom / description
      Previous value: -"Chromosome in UCSC naming, e.g. \"chr17\", \"chrX\", \"chrM\" — with the \"chr\" prefix. Ensembl/NCBI style bare \"17\" is not accepted by UCSC."New value: +"Chromosome in UCSC naming, e.g. \"chr17\", \"chrX\", \"chrM\", with the \"chr\" prefix. Ensembl/NCBI style bare \"17\" is not accepted by UCSC."
    • changedInput schema / properties / genome / description
      Previous value: -"REQUIRED. UCSC assembly ID — the genome build your coordinates are in. Human: \"hg38\" (= GRCh38, current) or \"hg19\" (= GRCh37, what most older papers, dbSNP dumps and clinical spreadsheets use). Mouse: \"mm39\"/\"mm10\". These are DIFFERENT coordinate systems: the same chrom/start/end is valid in every build, so a wrong build returns confident annotations for a different gene instead of an error. Call ucsc_genomes to list the assembly IDs for a species."New value: +"REQUIRED. UCSC assembly ID, the genome build your coordinates are in. Human: \"hg38\" (= GRCh38, current) or \"hg19\" (= GRCh37, what most older papers, dbSNP dumps and clinical spreadsheets use). Mouse: \"mm39\"/\"mm10\". These are DIFFERENT coordinate systems: the same chrom/start/end is valid in every build, so a wrong build returns confident annotations for a different gene instead of an error. Call ucsc_genomes to list the assembly IDs for a species."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description adds real behavioral context beyond them: it discloses what the response contains (rows + track type + assembly) and, critically, that a wrong `genome` build silently returns confident annotations for a different gene instead of erroring. Truncation behavior is noted but largely duplicated from the schema's maxItemsOutput description.

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-loaded with the user phrasings it should match, then the capability statement, then the preference and prerequisite in short imperative sentences. The quoted example strings are slightly verbose but each earns its place as retrieval signal; nothing is filler.

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?

No output schema exists, and the description compensates by naming the return payload (actual track rows, track type, assembly) and the truncation flag. Combined with the build-mismatch warning and track-discovery prerequisite, an agent has enough to call it correctly; only paging/recovery past truncation is left implicit.

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 baseline is 3, but the description adds meaning not in the schema: it tells the agent where the `track` value must come from (ucsc_tracks) and illustrates track names through realistic query phrasings. Coordinate and build semantics are handled in the schema itself, so no further gap.

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+resource: returns authoritative per-row data from any UCSC annotation track over a genomic interval, including track rows, track type and assembly. The leading user-query examples ("what genes are in chr:start-end", "list ClinVar variants") make the resource unambiguous and separate it from ucsc_tracks (discovery) and ucsc_sequence.

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?

Gives explicit use/prefer guidance ("PREFER OVER WEB SEARCH for 'what is annotated at this position'") and an explicit prerequisite/alternative ("Get the `track` name from ucsc_tracks first"). An agent knows both the routing decision and the call ordering without inference.

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.