Databricks Field Guide by TechFabric
Search and read TechFabric's Databricks Field Guide, with interactive views in MCP Apps hosts.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"field-guide": {
"url": "https://databricks.techfabric.com/mcp"
}
}
}远程端点
https://databricks.techfabric.com/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢search_guide(query, kind, limit)
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).
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The question or topic in plain words, e.g. 'lakebase branch' or 'unity catalog row filters'"
},
"kind": {
"type": "string",
"enum": [
"chapter",
"note",
"feature",
"event"
],
"description": "Only chapters, margin notes (dated news with our position), feature pages or events"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "How many results (default 10)"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"kind": {
"type": [
"string",
"null"
]
},
"total": {
"type": "integer"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"chapter",
"note",
"feature",
"event"
]
},
"title": {
"type": "string",
"description": "The chapter, note or event"
},
"section": {
"type": [
"string",
"null"
],
"description": "The section that matched; null for the introduction"
},
"anchor": {
"type": [
"string",
"null"
],
"description": "The section's anchor on the page"
},
"url": {
"type": "string",
"description": "Links straight to the section"
},
"snippet": {
"type": "string"
},
"updated": {
"type": [
"string",
"null"
],
"description": "When the page last changed, YYYY-MM-DD (an event: its day)"
},
"score": {
"type": "number"
}
},
"required": [
"kind",
"title",
"section",
"anchor",
"url",
"snippet",
"updated",
"score"
]
}
},
"build": {
"type": [
"string",
"null"
],
"description": "The commit of the deploy that answered"
},
"index_built": {
"type": [
"string",
"null"
],
"description": "When this deploy's index was built (ISO 8601)"
},
"ttlMs": {
"type": "integer",
"description": "How long this answer may be kept before asking again, in milliseconds"
}
},
"required": [
"query",
"kind",
"total",
"results",
"build",
"index_built",
"ttlMs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_chapter(slug, section)
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.
输入模式
{
"type": "object",
"properties": {
"slug": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "A chapter's slug (lakebase, unity-catalog, start-here), a note's slug, or a guide URL or path"
},
"section": {
"type": "string",
"maxLength": 200,
"description": "One section only: its anchor (from search_guide or the outline) or its heading. Omit for the whole chapter."
}
},
"required": [
"slug"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"chapter",
"note",
"feature"
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"part": {
"type": [
"string",
"null"
]
},
"summary": {
"type": "string"
},
"published": {
"type": [
"string",
"null"
]
},
"updated": {
"type": [
"string",
"null"
],
"description": "When the page last changed, YYYY-MM-DD"
},
"section": {
"type": [
"object",
"null"
],
"properties": {
"anchor": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"anchor",
"title",
"url"
]
},
"outline": {
"type": "array",
"items": {
"type": "object",
"properties": {
"anchor": {
"type": "string"
},
"title": {
"type": "string"
},
"depth": {
"type": "integer"
}
},
"required": [
"anchor",
"title",
"depth"
]
}
},
"markdown": {
"type": "string",
"description": "The chapter or section as Markdown, code blocks intact; links are absolute"
},
"code": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"filename": {
"type": [
"string",
"null"
]
},
"code": {
"type": "string"
},
"section": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
}
},
"required": [
"lang",
"filename",
"code",
"section",
"url"
]
}
},
"faqs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"question": {
"type": "string"
},
"answer": {
"type": "string"
}
},
"required": [
"question",
"answer"
]
}
},
"docs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"section": {
"type": [
"string",
"null"
]
}
},
"required": [
"text",
"url",
"section"
]
}
},
"build": {
"type": [
"string",
"null"
],
"description": "The commit of the deploy that answered"
},
"index_built": {
"type": [
"string",
"null"
],
"description": "When this deploy's index was built (ISO 8601)"
},
"ttlMs": {
"type": "integer",
"description": "How long this answer may be kept before asking again, in milliseconds"
}
},
"required": [
"kind",
"slug",
"title",
"url",
"markdown_url",
"part",
"summary",
"published",
"updated",
"section",
"outline",
"markdown",
"code",
"faqs",
"docs",
"build",
"index_built",
"ttlMs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_code_examples(topic, lang, limit)
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.
输入模式
{
"type": "object",
"properties": {
"topic": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "What the code should do or touch, e.g. 'lakebase branch', 'auto loader', 'row filter'"
},
"lang": {
"type": "string",
"maxLength": 20,
"description": "Only this language: sql, python, bash, yaml, json, hcl ..."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"description": "How many examples (default 8)"
}
},
"required": [
"topic"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"topic": {
"type": "string"
},
"lang": {
"type": [
"string",
"null"
]
},
"total": {
"type": "integer"
},
"examples": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lang": {
"type": "string"
},
"filename": {
"type": [
"string",
"null"
]
},
"code": {
"type": "string"
},
"explanation": {
"type": "string",
"description": "The guide's prose just before the block"
},
"after": {
"type": "string",
"description": "The guide's prose just after it"
},
"chapter": {
"type": "string"
},
"section": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string"
},
"updated": {
"type": [
"string",
"null"
]
},
"docs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string",
"description": "An official Databricks documentation page"
}
},
"required": [
"text",
"url"
]
}
},
"score": {
"type": "number"
}
},
"required": [
"lang",
"filename",
"code",
"explanation",
"after",
"chapter",
"section",
"url",
"updated",
"docs",
"score"
]
}
},
"build": {
"type": [
"string",
"null"
],
"description": "The commit of the deploy that answered"
},
"index_built": {
"type": [
"string",
"null"
],
"description": "When this deploy's index was built (ISO 8601)"
},
"ttlMs": {
"type": "integer",
"description": "How long this answer may be kept before asking again, in milliseconds"
}
},
"required": [
"topic",
"lang",
"total",
"examples",
"build",
"index_built",
"ttlMs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢whats_new(since, limit)
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.
输入模式
{
"type": "object",
"properties": {
"since": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Changes on or after this day, YYYY-MM-DD (default: the last 30 days)"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "How many items (default 30)"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"since": {
"type": "string"
},
"total": {
"type": "integer"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"note",
"note_updated",
"feature_page",
"feature_page_updated",
"feature_stage",
"chapter_updated"
]
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"summary": {
"type": [
"string",
"null"
]
},
"stage": {
"type": [
"string",
"null"
],
"description": "A feature's release stage, as Databricks states it"
},
"docs": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"url": {
"type": "string",
"description": "An official Databricks documentation page"
}
},
"required": [
"text",
"url"
]
}
}
},
"required": [
"date",
"kind",
"title",
"url",
"summary",
"stage",
"docs"
]
}
},
"board": {
"type": "string",
"description": "The feature status board"
},
"register_updated": {
"type": [
"string",
"null"
]
},
"build": {
"type": [
"string",
"null"
],
"description": "The commit of the deploy that answered"
},
"index_built": {
"type": [
"string",
"null"
],
"description": "When this deploy's index was built (ISO 8601)"
},
"ttlMs": {
"type": "integer",
"description": "How long this answer may be kept before asking again, in milliseconds"
}
},
"required": [
"since",
"total",
"items",
"board",
"register_updated",
"build",
"index_built",
"ttlMs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢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.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"total": {
"type": "integer"
},
"chapters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"number": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"part": {
"type": [
"string",
"null"
]
},
"summary": {
"type": "string"
},
"url": {
"type": "string"
},
"markdown_url": {
"type": "string"
},
"published": {
"type": [
"string",
"null"
]
},
"updated": {
"type": [
"string",
"null"
]
},
"sections": {
"type": "array",
"items": {
"type": "object",
"properties": {
"anchor": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"anchor",
"title"
]
}
}
},
"required": [
"slug",
"number",
"title",
"part",
"summary",
"url",
"markdown_url",
"published",
"updated",
"sections"
]
}
},
"notes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"published": {
"type": [
"string",
"null"
]
},
"updated": {
"type": [
"string",
"null"
]
}
},
"required": [
"slug",
"title",
"url",
"published",
"updated"
]
}
},
"build": {
"type": [
"string",
"null"
],
"description": "The commit of the deploy that answered"
},
"index_built": {
"type": [
"string",
"null"
],
"description": "When this deploy's index was built (ISO 8601)"
},
"ttlMs": {
"type": "integer",
"description": "How long this answer may be kept before asking again, in milliseconds"
}
},
"required": [
"total",
"chapters",
"notes",
"build",
"index_built",
"ttlMs"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据