support_tickets table.

- Knows curated table semantics and documentation.
- Generates SQL for you and executes it using the Databricks identity/token.
- Enables agents to ask higher-level, business-centric questions instead of raw SQL.
- One row per ticket.
- Important columns include ticket id, customer id (join key), category, priority, sentiment, hours-to-resolution, and a
resolvedboolean.
Initial minimal export (example)
- Previously, the agent needed direct access to data sources and sometimes was responsible for writing SQL.
- With Genie, the agent issues natural-language prompts; Genie generates and executes SQL against the curated semantic layer.
- The agent’s responsibility shifts to higher-level orchestration and interpretation of results rather than SQL generation.
- Create a Databricks personal access token or use an OAuth app for production.
- Send the token as a Bearer token in the
Authorizationheader when calling the MCP/Genie endpoint.
- The token maps to your Unity Catalog identity and governs the resources and tools visible to the agent.
- When the agent asks the MCP server what tools exist, MCP returns only the tools and metadata allowed by the token’s permissions.

Always scope the Databricks token to the minimum privileges needed. Enforce governance at the credential level instead of relying on prompt restrictions.
StreamableHTTPConnectionParams and provide the workspace host, authorization header, and timeout:
Example
.env entries:
cust-0003115?”
Genie writes SQL, runs it on the curated support_tickets table, and returns the detailed rows:
5), but lacked categories, priority, sentiment, resolution times, and resolved status — all of which are crucial for taking action.

cust-0003115) has been fighting with your billing system for three months, complained four separate times, waited nearly two days for answers, and currently has two open tickets. The agent’s risk verdict did not flip (it was high before and remains medium-to-high), but now you have a full picture to act on.

- Databricks: https://databricks.com
- Databricks personal access tokens: https://docs.databricks.com/dev-tools/auth.html#personal-access-tokens
- OAuth 2.0 overview: https://oauth.net/2/
- Unity Catalog: https://docs.databricks.com/data-governance/unity-catalog/index.html
- BigQuery: https://cloud.google.com/bigquery