Skip to main content
Glama

pbi_trace_source_impact

Read-onlyIdempotent

Trace downstream impact from an upstream database, view, table, SharePoint site, or Dataflow to affected Dataflows, semantic models, DAX measures, and reports before a breaking change.

Instructions

Downstream blast-radius impact analysis starting from an upstream physical source (database, server, schema, view, table, SharePoint site, or Dataflow name/ID). Returns every affected Dataflow (Gen1/Gen2), Power BI table, semantic model, impacted DAX measures (up to 40 per model with impacted_measures_total and impacted_measures_truncated disclosure), and downstream bound reports. Use when planning a database, view, or Dataflow breaking change. Do NOT use to trace a single DAX measure backwards to its physical source (use pbi_trace_measure_end_to_end instead).

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": {
      "source": "<source>"
    },
    "name": "pbi_trace_source_impact"
  }
}

Input Schema

NameRequiredDescriptionDefault
sourceYesUpstream database, server, schema/view, SharePoint site, Dataflow name/ID, or table substring.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. Beyond that, the description discloses the shape of the result — affected Dataflows (Gen1/Gen2), tables, semantic models, downstream reports — and notably the truncation behavior (up to 40 impacted DAX measures per model, with impacted_measures_total and impacted_measures_truncated fields). It stops short of noting cost, latency, or how deep the traversal goes on large tenants, which keeps it from a 5.

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 dense sentences, front-loaded with the operation and scope, followed by the returned artifacts and then the exclusion. No filler, no restatement of the tool name, and the parenthetical details carry real information rather than padding.

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

Completeness5/5

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

There is no output schema, so the description must describe what comes back — and it does, down to the per-model measure cap and the truncation flags. Combined with 100% parameter coverage and full annotations, an agent has everything needed to decide when to call it and what to expect.

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

Parameters4/5

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

The single parameter's schema already documents it at 100% coverage, so the baseline would be 3. The description adds meaning by framing 'source' as an upstream physical asset and listing the concrete asset classes it can be (database, server, schema, view, table, SharePoint site, Dataflow name/ID), which helps an agent decide what to pass even if the exact matching syntax is left to the schema.

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 opens with a specific verb and resource: 'Downstream blast-radius impact analysis starting from an upstream physical source', enumerating the accepted source types (database, server, schema, view, table, SharePoint site, Dataflow). It explicitly distinguishes itself from pbi_trace_measure_end_to_end, so an agent can route correctly without opening either schema.

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

Usage Guidelines5/5

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

It states the trigger scenario ('Use when planning a database, view, or Dataflow breaking change') and an explicit exclusion with the named alternative ('Do NOT use to trace a single DAX measure backwards... use pbi_trace_measure_end_to_end instead'). When-to-use, when-not-to-use, and the substitute are all present.

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