Skip to main content
Glama

UCSC Genome Browser Reference Genomics MCP

Get UCSC DNA sequence

get_ucsc_dna_sequence
Read-onlyIdempotent

Extract reference DNA sequence bases from a UCSC genome assembly for a specified chromosome and zero-based start/end coordinate window.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "genome": "<genome>",
      "chrom": "<chrom>",
      "start": "<start>",
      "end": "<end>"
    },
    "name": "get_ucsc_dna_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd coordinate, up to 50,000 bp after start (e.g. 100).
chromYesChromosome or contig name (e.g. "chrM", "chr17").
startYesZero-based start coordinate (e.g. 0).
genomeYesUCSC genome assembly ID (e.g. "hg38", "hg19", "mm39").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds that the returned bases are reference (not variant/consensus) sequence and that coordinates are zero-based, which is useful context beyond the annotations, but it does not describe the return format or the 50 kb window limit.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no redundant wording; the resource is named before the qualifying coordinate details, which is the right ordering for scanning.

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?

For a simple read-only extraction tool with annotations and a fully described four-parameter schema, the description covers the essentials. The only gap is the return shape (a sequence string) and size limits, which are minor given the absence of an output schema but not zero.

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 all four parameters are documented with examples and constraints in the schema itself. The description only restates the zero-based start/end window and adds no format, boundary, or coordinate-system detail beyond what the schema provides, 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 and resource: "Extract reference DNA sequence bases from a UCSC genome assembly" scoped to a chromosome and coordinate window. This clearly separates it from the sibling list_* tools and from get_ucsc_track_data by naming the reference-sequence resource, though it does not explicitly name a contrasting sibling.

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 resource and by the required parameters (genome, chrom, start, end), so an agent can infer this is the tool for pulling sequence over a coordinate range. There is no explicit when-to-use/when-not guidance, no mention of limits such as the 50,000 bp cap or how to handle coordinates out of range.

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.