Skip to main content
Glama

Publish data products to the OneLake catalog (dry run by default) (experimental)

publish_catalog
DestructiveIdempotent

Prepares the OneLake catalog entry of each data product the plan proves: description, owner, proposed domain, tags, glossary terms, row-check evidence and quality rules. Requires workspace and source. Returns JSON with the product cards, the diff of what it would write as you (item descriptions, existing tags), a confirm value, the undo calls and handover files for what needs a Fabric admin, a Purview steward or a reviewer. Never endorses. Changes Fabric only with dry_run=false, the confirm, and a workspace the operator allows. Errors: {error, kind, hint}.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "workspace": "<workspace>",
      "source": "<source>"
    },
    "name": "publish_catalog"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoMore item names to describe and tag, besides the source and the items Krusgraph built. Default none.
ownerNoThe data products' owner, a person's name or e-mail. Default: not chosen yet.
schemaNoSchema in the source. Default "dbo".dbo
sourceYesLakehouse, warehouse or SQL database, name or id.
confirmNoWith dry_run=false: the confirm value the dry run returned.
dry_runNotrue (default) returns what would be created and the REST calls, changing nothing; false creates or updates.
workspaceYesFabric workspace, name or id.
check_rowsNotrue (default): counts keys and orphans for the evidence line and the rules.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true; the description then adds real context on top: dry run is the default and changes nothing, real writes need both dry_run=false and the confirm value returned by the dry run, and Fabric only changes on an operator-allowed workspace. It also discloses the return shape (product cards, a diff of item descriptions and existing tags, undo calls, handover files) and the error format. It does not spell out whether existing tags or descriptions are overwritten when not in the diff, which is the main remaining gap for a destructive tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded in the first clause, followed by requirements, return shape, gating conditions and error format in a deliberate order with no filler. The only weak sentence is the aphoristic 'Never endorses.', which is too cryptic to earn its place, and the paragraph is densely packed with jargon that costs a little readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter mutation tool with no output schema, the definition covers the write gateway, the dry-run/confirm handshake, what is returned and how errors are shaped, which is nearly everything an agent needs. It leaves unclear what happens to pre-existing catalog values that are not in the diff, and offers no guidance on the check_rows cost or on repeated invocation, which idempotentHint covers only implicitly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already explains items, owner, schema, source, confirm, dry_run, workspace and check_rows; the baseline is 3. The description adds one genuinely useful relationship the schema cannot — that the confirm value must come from a prior dry run — but says nothing about check_rows or items that would deepen parameter meaning beyond the flat schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource — preparing the OneLake catalog entry (description, owner, domain, tags, glossary terms, evidence, rules) for each data product the plan proves. That is far more informative than the tautological title. It stops short of the top mark because no sibling is named as an alternative or boundary, so differentiation from tools like export_item_definitions or domain_draft is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives the precondition for any change ('Changes Fabric only with dry_run=false, the confirm, and a workspace the operator allows') and names the two required inputs, which is clear context for when this tool actually writes. It never states when to prefer a sibling or when this tool is the wrong choice, so it is strong on context but lacks explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.