list_hub_genomes
Retrieve available genomes from a specified UCSC Genome Browser track or assembly hub URL to identify compatible genomic datasets for analysis.
Instructions
List all genomes available in a specified track or assembly hub.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub_url | Yes | URL of the track hub or assembly hub |
Implementation Reference
- ucsc-genome-mcp.py:370-373 (handler)Handler implementation for the 'list_hub_genomes' tool. It extracts the hub_url from arguments, builds the API URL for '/list/hubGenomes', and makes the request.elif name == "list_hub_genomes": params = {"hubUrl": arguments["hub_url"]} url = build_api_url("/list/hubGenomes", params) result = await make_api_request(url)
- ucsc-genome-mcp.py:130-143 (registration)Registration of the 'list_hub_genomes' tool in the list_tools() function, including name, description, and input schema.Tool( name="list_hub_genomes", description="List all genomes available in a specified track or assembly hub.", inputSchema={ "type": "object", "properties": { "hub_url": { "type": "string", "description": "URL of the track hub or assembly hub" } }, "required": ["hub_url"] } ),
- ucsc-genome-mcp.py:133-141 (schema)Input schema definition for the 'list_hub_genomes' tool.inputSchema={ "type": "object", "properties": { "hub_url": { "type": "string", "description": "URL of the track hub or assembly hub" } }, "required": ["hub_url"]