Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABRICKS_HOSTYesDatabricks workspace URL (e.g., https://dbc-1234567890.cloud.databricks.com)
DATABRICKS_TOKENNoPersonal Access Token (PAT) for authentication
DATABRICKS_CLIENT_IDNoOAuth M2M client ID
DATABRICKS_ACCOUNT_IDNoAccount ID for account-level APIs (optional)
DATABRICKS_CLIENT_SECRETNoOAuth M2M client secret

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

Return the authenticated principal (Databricks /api/2.0/preview/scim/v2/Me).

auth_configA

Return the resolved Databricks MCP configuration (host, transport, auth method).

Does NOT include any secrets. Useful for verifying configuration.

workspace_listB

List the contents of a workspace directory.

workspace_get_statusA

Get the status (object_type, path, language) of a workspace object.

workspace_mkdirsA

Create a workspace directory (and any necessary parents).

workspace_deleteB

Delete a workspace object (notebook, file, directory).

workspace_exportA

Export a workspace object (notebook or file).

For notebooks, ``format_`` may be ``SOURCE``, ``HTML``, ``JUPYTER``, or ``DBC``.
For files, use ``RAW`` (returns base64) or omit.
Returns the decoded text where possible.
workspace_importC

Import a workspace object (notebook or file).

workspace_list_filesA

List files under /Workspace/files/<directory_path>.

workspace_read_fileA

Read the text content of a small file under /Workspace/files.

clusters_listA

List all clusters visible to the authenticated principal (paged).

clusters_getB

Fetch a cluster's current state and configuration.

clusters_createA

Create a Databricks cluster. Returns cluster_id on success.

Use :func:`clusters_spark_versions` and :func:`clusters_list_node_types`
to discover valid values for ``spark_version`` and ``node_type_id``.
clusters_editB

Edit a Databricks cluster's configuration. Returns cluster_id.

clusters_startB

Start a terminated cluster.

clusters_restartB

Restart a running cluster.

clusters_resizeA

Resize a cluster (must be RUNNING).

clusters_terminateA

Terminate a cluster (recoverable for 30 days; use :func:clusters_delete to remove permanently).

clusters_deleteA

Permanently delete a cluster (terminates first).

clusters_eventsA

List cluster events (ordered from oldest by default).

clusters_list_node_typesA

List all available node types for cluster creation.

clusters_spark_versionsA

List all available Spark runtime versions.

jobs_listC

List jobs visible to the authenticated principal.

jobs_getA

Fetch a single job's definition.

jobs_createC

Create a Databricks job. Returns job_id.

jobs_updateC

Update a job's settings.

jobs_resetA

Fully replace a job's settings (overwrites all fields not in new_settings).

jobs_deleteA

Delete a job (trash, recoverable for 30 days).

jobs_run_nowC

Trigger a job run and return the run_id. By default, parameters not listed are taken from the job's existing parameter defaults.

jobs_runs_listC

List historical job runs.

jobs_runs_getB

Get details of a single run, including task list and lifecycle.

jobs_runs_get_outputA

Get the output (notebook output, logs, error) of a run. Useful after the run completes.

jobs_runs_cancelA

Cancel a run (no effect if already completed).

jobs_runs_cancel_allA

Cancel all currently active runs of a job.

jobs_runs_repairB

Re-run a failed run (optionally only specific tasks).

jobs_runs_exportA

Export and retrieve a run (returns notebook content and dashboard definitions).

warehouses_listA

List all SQL warehouses visible to the authenticated principal.

Returns an empty list when there are no warehouses.

warehouses_getA

Fetch a single SQL warehouse's configuration and state.

warehouses_createC

Create a new SQL warehouse. Returns the created warehouse's id.

warehouses_editC

Edit an existing SQL warehouse's configuration. Returns the warehouse id.

warehouses_startB

Start a SQL warehouse.

warehouses_stopB

Stop a running SQL warehouse.

warehouses_deleteB

Permanently delete a SQL warehouse.

sql_statements_executeA

Execute a SQL statement against a warehouse. Returns the statement statement_id and result.

Poll :func:`sql_statements_get` (or fetch a chunk via :func:`sql_statements_get_result_chunk`)
to retrieve results once the statement finishes.
sql_statements_getA

Get a statement's status and (when ready) its inline result manifest.

sql_statements_get_result_chunkA

Fetch a single chunk of an EXTERNAL_LINKS result.

sql_statements_cancelA

Cancel a running SQL statement.

queries_listC

List saved SQL queries.

queries_getA

Fetch a single saved SQL query definition.

queries_createC

Create a new saved SQL query. Returns id.

queries_updateC

Update a saved SQL query.

queries_deleteA

Delete a saved SQL query (trash).

alerts_listC

List SQL alerts.

alerts_getA

Fetch a single SQL alert definition.

alerts_createC

Create a new SQL alert. Returns id.

alerts_updateC

Update an existing SQL alert.

alerts_deleteB

Delete a SQL alert.

query_history_listA

List historical SQL query executions with optional filters.

Builds the ``filter_by`` payload for the Databricks query history API
from the supplied keyword arguments. ``include_metrics`` and pagination
parameters are passed as top-level query string parameters.
lakeview_dashboard_listC

List Lakeview dashboards in the workspace.

lakeview_dashboard_getB

Get a Lakeview dashboard's metadata and content.

lakeview_dashboard_createC

Create a Lakeview dashboard.

lakeview_dashboard_updateB

Update a Lakeview dashboard (creates a draft).

lakeview_dashboard_deleteB

Trash a Lakeview dashboard.

lakeview_dashboard_publishC

Publish the latest draft of a Lakeview dashboard.

lakeview_dashboard_unpublishB

Unpublish a Lakeview dashboard.

lakeview_dashboard_trash_listB

List trashed Lakeview dashboards.

lakeview_dashboard_restoreB

Restore a trashed Lakeview dashboard.

lakeview_dashboard_purgeA

Permanently delete a trashed Lakeview dashboard.

lakeview_schedule_getA

Get a Lakeview dashboard schedule.

lakeview_schedule_listC

List Lakeview dashboard schedules.

lakeview_schedule_createB

Create a Lakeview dashboard schedule.

lakeview_schedule_updateC

Update a Lakeview dashboard schedule.

lakeview_schedule_deleteB

Delete a Lakeview dashboard schedule.

legacy_dashboards_listC

List legacy SQL dashboards (/preview/sql/dashboards).

legacy_dashboard_getB

Get a legacy SQL dashboard.

uc_catalog_listB

List catalogs (GET /api/2.1/unity-catalog/catalogs).

uc_catalog_getA

Get a single catalog (GET /api/2.1/unity-catalog/catalogs/{name}).

uc_catalog_createC

Create a catalog (POST /api/2.1/unity-catalog/catalogs).

uc_catalog_updateC

Update a catalog (PATCH /api/2.1/unity-catalog/catalogs/{name}).

uc_catalog_deleteB

Delete a catalog (DELETE /api/2.1/unity-catalog/catalogs/{name}?force=...).

uc_schema_listC

List schemas (GET /api/2.1/unity-catalog/schemas).

uc_schema_getA

Get a single schema (GET /api/2.1/unity-catalog/schemas/{full_name}).

uc_schema_createC

Create a schema (POST /api/2.1/unity-catalog/schemas).

uc_schema_updateC

Update a schema (PATCH /api/2.1/unity-catalog/schemas/{full_name}).

uc_schema_deleteB

Delete a schema (DELETE /api/2.1/unity-catalog/schemas/{full_name}).

uc_table_listB

List tables (GET /api/2.1/unity-catalog/tables).

uc_table_getC

Get a single table (GET /api/2.1/unity-catalog/tables/{full_name}).

uc_table_createC

Create a table (POST /api/2.1/unity-catalog/tables).

uc_table_updateC

Update a table (PATCH /api/2.1/unity-catalog/tables/{full_name}).

uc_table_deleteB

Delete a table (DELETE /api/2.1/unity-catalog/tables/{full_name}).

uc_volume_listC

List volumes (GET /api/2.1/unity-catalog/volumes).

uc_volume_getA

Get a single volume (GET /api/2.1/unity-catalog/volumes/{full_name}).

uc_volume_createC

Create a volume (POST /api/2.1/unity-catalog/volumes).

uc_volume_updateB

Update a volume (PATCH /api/2.1/unity-catalog/volumes/{full_name}).

uc_volume_deleteC

Delete a volume (DELETE /api/2.1/unity-catalog/volumes/{full_name}).

uc_function_listC

List functions (GET /api/2.1/unity-catalog/functions).

uc_function_getB

Get a single function (GET /api/2.1/unity-catalog/functions/{full_name}).

uc_function_createC

Create a function (POST /api/2.1/unity-catalog/functions).

uc_function_updateA

Update a function (PATCH /api/2.1/unity-catalog/functions/{full_name}).

uc_function_deleteB

Delete a function (DELETE /api/2.1/unity-catalog/functions/{full_name}).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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

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