Skip to main content
Glama
hlydecker
by hlydecker

list_files

Browse and retrieve available download files for specific UCSC genome assemblies like hg38 or mm10 to access genomic data resources.

Instructions

List download files available for a specified UCSC genome assembly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genomeYesGenome assembly name (e.g., 'hg38', 'mm10')
formatNoOutput format (default: json)
max_itemsNoMaximum number of items to return

Implementation Reference

  • Handler implementation for the 'list_files' tool. Extracts parameters from arguments (genome, format, max_items), constructs the API URL for the '/list/files' endpoint, and executes the API request using make_api_request.
    elif name == "list_files": params = { "genome": arguments["genome"], "format": arguments.get("format"), "maxItemsOutput": arguments.get("max_items") } url = build_api_url("/list/files", params) result = await make_api_request(url)
  • Registration of the 'list_files' tool in the list_tools() function, including the tool name, description, and input schema definition.
    Tool( name="list_files", description="List download files available for a specified UCSC genome assembly.", inputSchema={ "type": "object", "properties": { "genome": { "type": "string", "description": "Genome assembly name (e.g., 'hg38', 'mm10')" }, "format": { "type": "string", "enum": ["json", "text"], "description": "Output format (default: json)" }, "max_items": { "type": "integer", "description": "Maximum number of items to return" } }, "required": ["genome"] } ),
  • Input schema definition for the 'list_files' tool, specifying parameters: genome (required), format (json/text), max_items.
    inputSchema={ "type": "object", "properties": { "genome": { "type": "string", "description": "Genome assembly name (e.g., 'hg38', 'mm10')" }, "format": { "type": "string", "enum": ["json", "text"], "description": "Output format (default: json)" }, "max_items": { "type": "integer", "description": "Maximum number of items to return" } }, "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