Skip to main content
Glama
hlydecker

UCSC Genome Browser MCP Server

by hlydecker

list_genark_genomes

Retrieve available genome assemblies from UCSC's GenArk database or verify if a specific genome exists for genomic analysis and research.

Instructions

List UCSC Genome Browser database genomes from assembly hub host (GenArk). Can also test for existence of a specific genome.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
genomeNoSpecific genome to test for existence (optional)
max_itemsNoMaximum number of items to return (default: 1000000)

Implementation Reference

  • Handler implementation for the 'list_genark_genomes' tool. It extracts parameters from arguments, maps 'max_items' to 'maxItemsOutput', builds the API URL for the /list/genarkGenomes endpoint, and fetches the data using make_api_request.
    elif name == "list_genark_genomes":
        params = {
            "genome": arguments.get("genome"),
            "maxItemsOutput": arguments.get("max_items")
        }
        url = build_api_url("/list/genarkGenomes", params)
        result = await make_api_request(url)
  • Registration of the 'list_genark_genomes' tool in the list_tools() decorator, defining its name, description, and input schema.
    Tool(
        name="list_genark_genomes",
        description="List UCSC Genome Browser database genomes from assembly hub host (GenArk). Can also test for existence of a specific genome.",
        inputSchema={
            "type": "object",
            "properties": {
                "genome": {
                    "type": "string",
                    "description": "Specific genome to test for existence (optional)"
                },
                "max_items": {
                    "type": "integer",
                    "description": "Maximum number of items to return (default: 1000000)"
                }
            }
        }
    ),
  • Input schema definition for the 'list_genark_genomes' tool, specifying parameters for genome (optional string) and max_items (optional integer).
    inputSchema={
        "type": "object",
        "properties": {
            "genome": {
                "type": "string",
                "description": "Specific genome to test for existence (optional)"
            },
            "max_items": {
                "type": "integer",
                "description": "Maximum number of items to return (default: 1000000)"
            }
        }
    }

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