Skip to main content
Glama
ChrisChoTW

databricks-mcp

by ChrisChoTW

list_warehouses

Retrieve a list of available SQL warehouses for querying data and managing analytics workloads in Databricks.

Instructions

List SQL Warehouses

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function `list_warehouses` that lists Databricks SQL Warehouses. Note that while the @mcp.tool decorator appears to be missing for this specific function in the provided code, it is intended to be an MCP tool.
    def list_warehouses(ctx: Context) -> List[Dict[str, Any]]:
        """List SQL Warehouses"""
        w = get_workspace_client()
        return [wh.as_dict() for wh in w.warehouses.list()]

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/ChrisChoTW/databricks-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server