Skip to main content
Glama
hlydecker
by hlydecker

list_chromosomes

Retrieve chromosome lists from UCSC Genome Browser assemblies, hubs, or databases, with optional filtering by specific tracks for targeted genomic analysis.

Instructions

List chromosomes in an assembly hub, track hub, or UCSC database genome. Optionally filter by specific track.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genomeYesGenome assembly name
hub_urlNoURL of track/assembly hub (optional)
trackNoSpecific track name to list chromosomes from (optional)

Implementation Reference

  • Registration of the 'list_chromosomes' tool, including its input schema definition.
    Tool( name="list_chromosomes", description="List chromosomes in an assembly hub, track hub, or UCSC database genome. Optionally filter by specific track.", inputSchema={ "type": "object", "properties": { "genome": { "type": "string", "description": "Genome assembly name" }, "hub_url": { "type": "string", "description": "URL of track/assembly hub (optional)" }, "track": { "type": "string", "description": "Specific track name to list chromosomes from (optional)" } }, "required": ["genome"] } ),
  • Handler implementation for 'list_chromosomes': constructs parameters (genome, hubUrl, track) and calls the UCSC Genome API endpoint /list/chromosomes.
    elif name == "list_chromosomes": params = { "genome": arguments["genome"], "hubUrl": arguments.get("hub_url"), "track": arguments.get("track") } url = build_api_url("/list/chromosomes", params) result = await make_api_request(url)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hlydecker/ucsc-genome-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server