Progressive Disclosure and Agent Skills
Databricks Context Engineer Associate · Lesson 14 of 18 · 1:43:06
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Prepare for the Databricks Certified Context Engineer Associate exam. In this lesson: staged tool discovery with context-efficient execution instead of raw tool dumps, why staging saves tokens, agent skills in Unity Catalog with Unity Gateway Skills, and which rarely used capabilities to package as skills. Includes three original practice questions.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Full before the first question
Thistledown's maintenance agent connects to four MCP servers, and its system prompt explains every procedure the company has. Before it reads the first question, its context already holds thousands of tokens of tool schemas and instructions it will rarely use. This lesson covers progressive disclosure for tools, and agent skills for instructions.
Staged tool discovery
Loading every full tool schema up front is a raw tool dump: dozens of schemas, with every parameter and its description, sent before the first question. Progressive disclosure stages what enters the context instead. First, the agent sees only a short index: tool names and one line descriptions, or a search tool that finds tools on demand. Next, it loads the full schema of only the tool it has chosen. Then it runs the tool, and filters or summarizes a large result before passing it back, so the context gets the answer, not the dump.
Why staging saves tokens
Compare the cost at each stage. A dump pays for every schema on every call, whether a tool is used or not. A staged approach pays a small, fixed cost for the index, then a full schema only for the few tools each task uses, and a filtered result instead of a raw one. It also improves selection, since the model compares short, distinct entries, instead of scanning dozens of long schemas.
Agent skills in Unity Catalog
Agent skills apply the same idea to instructions. A skill teaches an agent how to do one task well, like following a runbook, or applying a team's SQL conventions, and it is written as a skill file, in an open format, with supporting files. On Databricks, Unity Gateway Skills make each skill a Unity Catalog securable, shared with the same permissions, tags, and audit as tables. The agent keeps only a small set of skill metadata in its context, like names and short descriptions, and loads the full skill when a task needs it. Agents can discover and read these skills through the Databricks Skills MCP server.
What to package as a skill
Look for capability instructions that are long, specific, and rarely invoked, like a yearly audit, a rare migration, or a complex monthly report. Those are candidates for skills, loaded on demand, which cuts the baseline cost of every call. Keep in the system prompt what nearly every turn needs, like the agent's role, its safety rules, and its output format, since loading those on demand would add calls, and risk missing them. Then compare task success with and without the change on an evaluation set, to confirm that the lower cost does not harm results.
Recap
Let's recap. A raw tool dump loads every full schema up front, used or not. Progressive disclosure stages it: an index first, then the chosen tool's schema, then a filtered result. This saves tokens on every call, and makes tool selection easier. Agent skills package rarely used instructions, with only their metadata in context, and Unity Gateway Skills govern them in Unity Catalog. And keep what every turn needs in the system prompt, then confirm task success on an evaluation set.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
The agent connects to four MCP servers and loads the full schemas of ninety tools every session, while most tasks use two or three. Which change cuts token use most, keeping every tool reachable?
- Remove all but three tools from the agent
- Stage discovery: an index, then the chosen schema
- Shorten the descriptions of all ninety tools
- Use a model with a larger context window
Show the answer
Stage discovery: an index, then the chosen schema
Staged discovery loads a short index first, and a full schema only for the tool the agent picks, so most schemas never enter the context. “Remove all but three tools from the agent” is wrong, since removing tools breaks the tasks that need them. “Shorten the descriptions of all ninety tools” is wrong, since shorter descriptions still load ninety schemas, and make tools harder to tell apart. And “Use a model with a larger context window” is wrong, since a larger window holds the dump, but still spends the tokens and the attention.
The system prompt holds 4,000 tokens of instructions for the yearly fire safety audit, used a few days a year. What should the team do?
- Keep them in the system prompt, to be safe
- Move them into a sample question
- Delete them, and rely on the model
- Package them as a skill, loaded for the audit
Show the answer
Package them as a skill, loaded for the audit
Rarely used instructions are ideal skills, since only their short metadata stays in context, and the full text loads when the audit runs. “Keep them in the system prompt, to be safe” is wrong, since the prompt pays for those tokens on every call, all year. “Move them into a sample question” is wrong, since a sample question cannot carry a full procedure. And “Delete them, and rely on the model” is wrong, since the model does not know Thistledown's audit procedure, and the audit would fail.
Which instruction should stay in the system prompt, rather than become a skill?
- Never reveal another tenant’s data
- Steps of the yearly boiler inspection
- How to migrate leases to a new system
- Format of the quarterly board report
Show the answer
Never reveal another tenant’s data
A safety rule applies to every turn, so it must always be in context, never loaded on demand. “Steps of the yearly boiler inspection” is wrong, since a yearly inspection is rare, and suits a skill. “How to migrate leases to a new system” is wrong, since a migration is a rare, long procedure, which is a typical skill. And “Format of the quarterly board report” is wrong, since a quarterly report is used a few times a year, and can load when needed.