Databricks Field Guide by TechFabric

v1.11.1
com.techfabric.databricks/field-guide Checked 2 days ago Published 1 month ago

Interactive Databricks learning, certification practice and sourced engineering guidance.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

start_here Start learning Databricks

Start using the Field Guide immediately. Call this for 'help me learn Databricks', 'try the Field Guide', or to begin certification prep. No arguments starts a Unity Catalog diagnostic. A topic opens its concept or chapter quiz; goal certification with an exam opens a covered domain's practice and flashcards, with official sources and honest gaps. An MCP Apps host opens the interactive card first; a terminal asks one question at a time. This is a learning companion, not a replacement for the Databricks development plugin. No sign-in, workspace access or saved personal data.

ParameterTypeDescription
examstringA certification id from exam_prep; implies certification. Defaults to data-engineer-associate.
goalstringLearn by doing (default), or begin certification practice
topicstringA concept or chapter; omit for a Unity Catalog diagnostic

search_guide Search the guide

Search the guide's chapters, margin notes and events for a Databricks question. Returns the best sections first, each with a snippet, its URL with the section anchor, and when the page last changed. Read one in full with get_chapter (pass the URL, or the slug and the anchor).

ParameterTypeDescription
query *stringThe question or topic in plain words, e.g. 'lakebase branch' or 'unity catalog row filters'
kindstringOnly chapters, margin notes (dated news with our position), feature pages or events
limitintegerHow many results (default 10)

get_chapter Read a chapter

One chapter (or margin note) of the guide as clean Markdown with its code blocks intact, or one section of it: with its outline, its code blocks listed separately, its FAQs, when it last changed, and the official docs.databricks.com links it cites for the authoritative detail.

ParameterTypeDescription
slug *stringA chapter's slug (lakebase, unity-catalog, start-here), a note's slug, or a guide URL or path. list_chapters has them; the field-guide-chapter prompt completes them.
sectionstringOne section only: its anchor (from search_guide, list_chapters or the outline) or its heading. Omit for the whole chapter.

get_code_examples Find code examples

The SQL, Python, CLI and config blocks in the guide that match a topic, each with the explanation around it, the section it is from (URL with anchor), and the docs links that section cites. Runnable context for a coding agent; check the linked Databricks docs for current syntax.

ParameterTypeDescription
topic *stringWhat the code should do or touch, e.g. 'lakebase branch', 'auto loader', 'row filter'
chapterstringOnly examples from this chapter or note: its slug (lakebase, unity-catalog), path or URL. list_chapters has them; the field-guide-code prompt completes them.
langstringOnly this language: sql, python, bash, yaml, json, hcl ...
limitintegerHow many examples (default 8)

whats_new What's new in Databricks

Recent Databricks changes the guide tracks, newest first: margin notes (dated news with our position), release-stage changes from the feature register (with links to Databricks' documentation and release note), and chapters updated. Defaults to the last 30 days.

ParameterTypeDescription
limitintegerHow many items (default 30)
sincestringChanges on or after this day, YYYY-MM-DD (default: the last 30 days)

list_chapters List chapters

Every chapter in the guide's order, with its part, summary, dates, URL, Markdown URL and its main sections; and the margin notes.

review_databricks_code Review Databricks code

Check one file of SQL, Python (PySpark, a notebook's source) or YAML (a Databricks Asset Bundle, job, cluster or warehouse config) against the Field Guide's own best-practice rules, deterministically: partitioning where the guide would cluster, secrets and storage paths written into code, grants to people rather than groups, environments in table names, jobs on all-purpose clusters or without timeouts, warehouses and clusters without auto-stop, bundle targets without their modes, and the rest of the rules the chapters state. Each finding gives the line, why, the fix, the guide's passage verbat…

ParameterTypeDescription
code *stringThe file's contents: SQL, Python (PySpark, a notebook's source) or YAML (a Databricks Asset Bundle, job, cluster or warehouse config). At most 48000 characters; review a larger file in parts.
filenamestringThe file's path in the repository, e.g. resources/nightly.job.yml: used to detect the language and echoed back
langstringsql, python or yaml. Omit to detect it from the filename or the code.

estimate_cost Estimate Databricks cost

Estimate a Databricks workload's monthly cost from the figures the Field Guide states (list prices per DBU by compute type, DBUs an hour by SQL warehouse size and classic instance type, model serving prices for pay-per-token, provisioned throughput, GPU and CPU serving, Apps and Genie rates, the Lakebase floor, storage), as a range with its assumptions, and the price per unit under unit_prices. Every number carries its source sentence, section URL, date and the pricing page the guide cites. Where the guide has no figure (cloud VM prices, a serverless job's DBUs an hour, a model or instance typ…

ParameterTypeDescription
workload *stringjobs, all_purpose (interactive notebooks), sql_warehouse, apps, genie, lakebase, model_serving or storage
always_onbooleanlakebase: an always-on 0.5 CU floor (the one Lakebase figure the guide quotes)
clustersintegersql_warehouse: clusters running (default 1)
computestringjobs and all_purpose: serverless or classic; sql_warehouse: serverless, pro, classic, or lakehouse_rt (Beta) priced from DBUs you give
days_per_monthnumberDays it runs a month (default 30 with hours_per_day)
dbus_per_hournumberDBUs the compute uses an hour, when the guide has no figure for its shape (a serverless job, an instance type it does not list): from system.billing.usage or Databricks' pricing calculator
dbus_per_monthnumberOr the DBUs a month outright
dbus_per_usernumbergenie: each user's Genie DBUs a month
hours_per_daynumber
hours_per_monthnumber
input_tokens_millionsnumbermodel_serving, pay_per_token: input tokens a month, in millions
instance_typestringjobs or all_purpose, classic: the AWS instance type (m5.xlarge, m5.2xlarge, m6i.xlarge, m7i.xlarge, r5.xlarge, c5.2xlarge, i3.xlarge, i3.2xlarge are in the guide)
instancesintegerjobs or all_purpose, classic: instances in the cluster, the driver counted as one; model_serving cpu: Medium configurations
max_clustersintegersql_warehouse: the most clusters it scales out to; the estimate ranges from clusters to max_clusters
modelstringmodel_serving, pay_per_token or provisioned_throughput: the model, as in 'Llama 3.3 70B' or 'claude-sonnet-5.5'
model_unitsintegermodel_serving, provisioned_throughput: model units (default 50, the block the rates are quoted for; a reservation takes multiples of 50 and bills every hour of its term)
output_tokens_millionsnumbermodel_serving, pay_per_token: output tokens a month, in millions
reservationstringmodel_serving, provisioned_throughput: on_demand, 1_month or 3_month
servingstringmodel_serving: pay_per_token, provisioned_throughput, gpu or cpu (omit for every price the guide states)
sizestringapps: medium (the default), large or xlarge; sql_warehouse: the t-shirt size, 2x-small, x-small, small, medium, large, x-large, 2x-large, 3x-large, 4x-large, 5x-large (DBUs an hour per cluster, from t…
storage_gbnumberstorage: GB held
usersintegergenie: the people using it

explore_concept Explore a Databricks concept

Interactive: explains one Databricks concept step by step from the Field Guide's chapters: delta-transaction-log, liquid-clustering-vs-zorder, spark-shuffle-and-stages, unity-catalog-privilege-inheritance, photon-vs-classic-cost, cluster-autoscaling, streaming-watermarks, medallion-layers, lakebase-branching, serverless-vs-classic, mlflow-model-lifecycle. Call it first when the user asks "how does the Delta transaction log work?", "show me watermarks step by step" or "visualise Unity Catalog privilege inheritance", rather than answering from memory or running code. Every point comes with the g…

ParameterTypeDescription
conceptstringThe concept: delta-transaction-log, liquid-clustering-vs-zorder, spark-shuffle-and-stages, unity-catalog-privilege-inheritance, photon-vs-classic-cost, cluster-autoscaling, streaming-watermarks, medal…
donearrayWith exam: the plan steps done so far, by number or id
examstringOpened from an exam_prep plan: the exam's id, so the card says which step this is and its Next returns to the plan
formbooleantrue: with no concept (or one that isn't there), in a client that shows forms and no MCP Apps view, ask the reader which concept to step through. Left out, the result is the list.
stepstringWith exam: the plan step this card was opened from (its id, as the plan's call gives it)

quiz_me Quiz me on the guide

Interactive: quizzes the reader. Call it when the user says "quiz me on Unity Catalog", "test me on Lakebase" or "check what I know about the Delta log". Five to eight multiple-choice questions on a chapter of the Field Guide, one section of it, or the whole guide, built deterministically from the guide's own tables, question-headed sections, FAQs and glossary: every question and every option is a phrase the guide states, and no model writes them. Each has its answer, the guide's explanation and the section URL. In a host that renders MCP Apps the reader answers and is scored in the view. In a…

ParameterTypeDescription
answersarrayThe reader's answers, in question order, to score them: a letter (A to H) or an option's exact words, "" or "-" for none. Send the same chapter and section as the quiz that was asked.
chapterstringA chapter's slug (unity-catalog, lakebase), path or URL; list_chapters has them. Omit for questions from across the guide.
domainstringThe exam's domain id, as exam_prep lists them
examstringInstead of a chapter: practice for a certification exam's domain (needs domain): data-engineer-associate, data-engineer-professional, data-analyst-associate, machine-learning-associate, machine-learni…
formbooleantrue: in a client that shows forms (elicitation) and no MCP Apps view, ask the reader each question as a form and return the result. Send it only when the reader wants to answer in forms; left out, th…
resumestringA resume code the reader kept from an earlier quiz (it starts kp1.): picks up where they left off. The code names its own chapter or exam domain, so nothing else is needed.
sectionstringOne section of that chapter: its anchor or heading. Needs chapter.

learn_path Follow a Databricks learning path

Interactive: a curated learning path through the Field Guide, by role or goal (data-engineer-fundamentals, analytics-engineer, ml-engineer, platform-admin, snowflake-to-databricks, cost-control): its steps in order (a section to read, a concept to explore, a quiz), each with the call that opens it. Call it when the user asks "where do I start with Databricks", "a learning path for an analytics engineer" or "what should I learn next". Progress lives with the reader: send the steps done back as done. In a host that renders MCP Apps it opens as a map of the route with each step's story; the text…

ParameterTypeDescription
donearrayThe steps the reader has done, by number or id (from an earlier result): progress lives with the reader, not the server
pathstringThe path: data-engineer-fundamentals, analytics-engineer, ml-engineer, platform-admin, snowflake-to-databricks, cost-control. Omit it for the list.

exam_prep Prepare for a Databricks certification

Interactive: certification prep for Databricks' exams (data-engineer-associate, data-engineer-professional, data-analyst-associate, machine-learning-associate, machine-learning-professional, genai-engineer-associate, context-engineer-associate, apache-spark-developer-associate): each domain with its weight as Databricks publishes it, the guide sections and concepts that bear on it, how much the guide covers it (said honestly, gaps included), the official exam page and guide, and practice questions from the guide's own text for one domain. Call it when the user says "help me prepare for the Dat…

ParameterTypeDescription
domainstringOne of the exam's domains (its id, from the result), for its practice questions
donearrayThe plan steps the reader has done, by number or id (from an earlier result): progress lives with the reader, not the server
examstringThe exam: data-engineer-associate, data-engineer-professional, data-analyst-associate, machine-learning-associate, machine-learning-professional, genai-engineer-associate, context-engineer-associate,…
stepstringThe plan step to open at (its id, as the step's call gives it)

flashcards Flashcards from the guide

Interactive: flashcards for a Databricks exam domain (data-engineer-associate, data-engineer-professional, data-analyst-associate, machine-learning-associate, machine-learning-professional, genai-engineer-associate, context-engineer-associate, apache-spark-developer-associate; exam_prep lists the domains) or a chapter, built deterministically from the Field Guide: glossary terms, FAQs and each mapped section's lead sentence. The back of every card is the guide's own sentence with its section URL; a domain the guide doesn't cover says so. Call it when the user says "flashcards for the Data Engi…

ParameterTypeDescription
chapterstringOr a chapter: its slug or URL
domainstringThe exam's domain id, as exam_prep lists them
donearrayOpened from an exam_prep plan (with exam and domain): the plan steps done so far, so the deck says its step and its Next returns to the plan
examstringAn exam (data-engineer-associate, data-engineer-professional, data-analyst-associate, machine-learning-associate, machine-learning-professional, genai-engineer-associate, context-engineer-associate, a…
resumestringA resume code the reader kept from an earlier flashcards (it starts kp1.): picks up where they left off. The code names its own exam domain or chapter, so nothing else is needed.

visualize Draw an answer

Interactive: draws your answer as a card the reader can use, from an A2UI v0.9.1 document you write: a comparison of options with a verdict, a plan as steps or a timeline, a cost or sizing calculator with sliders and a chart that follows them, a quiz or flashcards, a table, a Mermaid diagram. Call it whenever the answer has a shape: the reader asks to compare ("compare", "X vs Y", "pros and cons", "trade-offs", "which is better for"), for a plan ("plan", "roadmap", "migration steps", "rollout", "timeline"), to "show me", "explain how", "draw", "chart" or "visualise" something, or for "a table…

ParameterTypeDescription
document *stringAn A2UI v0.9.1 document: messages as JSONL, one a line (createSurface, updateDataModel, updateComponents), or a JSON array of them. Use Fabric's catalog (https://agents.fabric.pro/a2ui/v0.9/fabric_cat…
sourcesarrayThe Field Guide URLs (with #anchor) whose facts the document uses, from search_guide or get_chapter. Each is checked: a page of the guide is cited as a source; anything else is listed as not from the…
titlestringThe card's title, in plain words

decide Decide with the guide

Interactive: walks a Databricks decision one question at a time (which-compute, serverless-or-classic, lakebase-or-delta, genie-or-dashboard, streaming-or-batch): every answer rests on the guide's own sentences, verbatim, with the section to read. Call it when the user asks "should I use serverless or classic", "Lakebase or Delta?", "Genie or a dashboard?" or "which compute for this job". The text gives the whole tree; send choices (option numbers so far) for the answer. In a terminal that shows forms, form: true asks each question as a form.

ParameterTypeDescription
choicesarrayThe reader's choices so far, as option numbers from the first question: the result then carries where they are, or the answer
formbooleantrue: in a client that shows forms (elicitation) and no MCP Apps view, ask the reader each question of the decision as a form and return the result. Send it only when the reader wants to answer in for…
questionstringThe decision, in plain words or by id: which-compute, serverless-or-classic, lakebase-or-delta, genie-or-dashboard, streaming-or-batch. Omit it for the list.

explore_diagram Play a chapter's diagrams

Interactive: a chapter's own diagrams, played step by step: each flowchart edge or sequence message in order, each node linking the section of the chapter it is about. Call it when the user says "show me the diagram for Lakebase branching" or "walk me through the medallion diagram". The text lists every diagram's nodes, its edges in order and its Mermaid source, so a terminal can draw it.

ParameterTypeDescription
chapter *stringA chapter's slug (lakebase, medallion-architecture), path or URL; list_chapters has them
sectionstringOnly the diagrams in this section: its anchor or heading

toolkit_info About TechFabric's Databricks Chrome extension

What TechFabric's free Chrome extension for Databricks (TechFabric Toolkit for Databricks 0.10.0) does, how to install it, the permissions it asks for and its privacy model. Call it for "what can the TechFabric Chrome extension do", "does the toolkit support X", "how do I install it" or "what permissions does it need". Each feature says where it shows up, whether it needs the reader's connected workspace, and how to get the same thing from this server: a tool (toolkit_generate, estimate_cost, review_databricks_code, explore_concept) or only the extension. Read-only and deterministic.

ParameterTypeDescription
featurestringOne feature by its id (from a previous answer)
questionstringA question about the extension in plain words, e.g. 'does it show table lineage', 'what permissions does it need', 'can it estimate cost'. Omit for every feature.

toolkit_generate Run a Databricks Toolkit generator

Runs one of the offline generators from the Build tab of TechFabric's Chrome extension for Databricks (TechFabric Toolkit for Databricks 0.10.0) with the extension's own code, so the output matches it: Unity Catalog grants with a rollback script, table DDL / MERGE / GRANT, a table starter kit (tags, constraints, row filter, column mask), schema diff to ALTER, Delta restore, a Delta health check from pasted DESCRIBE output, Auto Loader, Lakeflow and Auto CDC starters, data-quality checks, Declarative Automation Bundle YAML and CLI, Terraform, secrets and external locations, test data, system.bi…

ParameterTypeDescription
generatorstringWhich generator. Omit for the list, with each one's inputs.
inputsobjectThe generator's inputs by id (text, a choice or true/false); anything left out takes the extension's default. Call with no generator to see each one's inputs.