Skip to main content
Glama
ChrisChoTW

databricks-mcp

by ChrisChoTW

get_table_detail

Retrieve detailed metadata and properties for Delta Lake tables in Databricks, including schema, partitioning, and table statistics.

Instructions

View Delta table details (DESCRIBE DETAIL)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
catalogYes
schemaYes
tableYes

Implementation Reference

  • Implementation of the get_table_detail tool, which executes a DESCRIBE DETAIL SQL query for the provided catalog, schema, and table.
    def get_table_detail(ctx: Context, catalog: str, schema: str, table: str) -> List[Dict[str, Any]]:
        """View Delta table details (DESCRIBE DETAIL)"""
        cat = safe_identifier(catalog, "catalog")
        sch = safe_identifier(schema, "schema")
        tbl = safe_identifier(table, "table")
        return execute_sql(ctx, f"DESCRIBE DETAIL {cat}.{sch}.{tbl}")

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