Skip to main content
Glama

set_lineage_tag

Assign a stable lineage tag to Power BI model objects (tables, columns, measures, etc.) to preserve identity across renames, schema syncs, and git merges.

Instructions

Set the LineageTag (a stable identity that survives schema sync / git merge across renames) on a model object. objectType = model | table | column | measure | hierarchy | partition | relationship; pass the object's table for column/measure/hierarchy/partition. Needs compatibility level 1540+ (auto-bumped, reported back).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagYesthe lineage tag (any stable id, e.g. a GUID)
nameYesthe object's name
tableNothe object's table (for column/measure/hierarchy/partition)
sessionIdYes
objectTypeYesmodel | table | column | measure | hierarchy | partition | relationship
Behavior3/5

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

With no annotations, the description must carry the full burden. It usefully discloses the compatibility-level side effect ('auto-bumped, reported back') and explains the tag's persistence across renames/merges. It does not mention overwrite behavior, permissions, or reversibility, leaving significant gaps for a mutation tool.

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

Conciseness5/5

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

Three concise sentences front-load the core purpose, then cover parameter relationship and compatibility side effect. No filler; every sentence adds information.

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?

The description covers the key operational nuances: object types, the conditional table requirement, and the auto-bump/reporting of compatibility level. It doesn't describe the return value or error scenarios, but for a targeted setter tool this is mostly adequate.

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 80%, so the schema already documents the parameters. The description adds context about LineageTag semantics and the compatibility-level requirement, but the parameter-level guidance (objectType values, when to pass table) largely repeats the schema descriptions.

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

Purpose5/5

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

The description clearly states the action ('Set the LineageTag') and the target ('on a model object'), and defines what a LineageTag is ('stable identity that survives schema sync / git merge across renames'). The object types are enumerated, so an agent can distinguish this from related tag tools.

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?

Gives explicit context for when to use: setting LineageTag on model objects, including the conditional rule 'pass the object's table for column/measure/hierarchy/partition.' It does not name an alternative or state when not to use, so it misses explicit exclusions, but the selection context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyphonica/powerbi-pbix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server