Skip to main content
Glama
hlydecker
by hlydecker

list_tracks

Retrieve available data tracks from UCSC Genome Browser databases or assembly hubs to identify genomic datasets for analysis.

Instructions

List all data tracks available in a specified hub or UCSC database genome.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genomeYesGenome assembly name
hub_urlNoURL of track/assembly hub (optional, required with genome for hub tracks)
track_leaves_onlyNoOnly show tracks without composite container information

Implementation Reference

  • Handler implementation for the 'list_tracks' tool. Constructs API parameters from tool arguments (genome, optional hub_url, track_leaves_only) and makes a request to the UCSC Genome Browser API endpoint '/list/tracks'.
    elif name == "list_tracks": params = { "genome": arguments["genome"], "hubUrl": arguments.get("hub_url"), "trackLeavesOnly": 1 if arguments.get("track_leaves_only") else None } url = build_api_url("/list/tracks", params) result = await make_api_request(url)
  • Registration of the 'list_tracks' tool in the list_tools() function, including its description and input schema definition.
    Tool( name="list_tracks", description="List all data tracks available in a specified hub or UCSC database genome.", inputSchema={ "type": "object", "properties": { "genome": { "type": "string", "description": "Genome assembly name" }, "hub_url": { "type": "string", "description": "URL of track/assembly hub (optional, required with genome for hub tracks)" }, "track_leaves_only": { "type": "boolean", "description": "Only show tracks without composite container information" } }, "required": ["genome"] } ),

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