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
| Name | Required | Description | Default |
|---|---|---|---|
| genome | Yes | Genome assembly name | |
| hub_url | No | URL of track/assembly hub (optional, required with genome for hub tracks) | |
| track_leaves_only | No | Only show tracks without composite container information |
Implementation Reference
- ucsc-genome-mcp.py:384-391 (handler)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)
- ucsc-genome-mcp.py:167-188 (registration)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"] } ),