Skip to main content
Glama

pbi_audit_catalog_health

Read-onlyIdempotent

Audit all scanned Power BI models for governance, refresh, staleness, non-prod endpoint, performance, broken visual, deleted-dataflow, and RLS risks; triage catalog-wide health by severity.

Instructions

Returns governance, refresh failure, staleness, non-production endpoint, performance (bidirectional relationships, auto-date bloat, heavy PQ merges), broken visual reference, deleted-dataflow, and RLS findings across all scanned Power BI models. Use for catalog-wide governance triage. Do NOT use to enumerate individual unused columns or measures (use pbi_find_unused_fields instead).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pbi_audit_catalog_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
severityNoOptional severity filter: 'bad' (critical) or 'warn'. Omit to return all severities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuine scope information beyond that: it audits every scanned model rather than one, and names the specific anti-patterns checked (bidirectional relationships, auto-date bloat, heavy PQ merges), which tells the agent how deep the scan goes. It does not say how results are shaped or how voluminous they will be on a large catalog, which is the remaining gap.

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?

Front-loaded with the return content, then the usage rule, then the exclusion — the right order for an agent scanning for routing signal. The parenthetical list of performance checks is dense but each item is informative; the only cost is a long first sentence.

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?

There is no output schema, so the description must convey what comes back, and it does so by enumerating the finding categories and the scan scope. What it omits is result structure (per-model grouping? finding objects with severity?) and expected volume on a large catalog, which matters for a whole-estate scan.

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% and the single severity parameter already carries an enum plus per-value meaning, so the schema does the work. The description never mentions severity filtering, so it adds nothing beyond the structured field; baseline 3 applies.

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?

States a concrete verb ("Returns ... findings") and a concrete resource scope ("across all scanned Power BI models"), then enumerates the finding families: governance, refresh failure, staleness, non-production endpoints, performance anti-patterns, broken visual references, deleted dataflows, and RLS. An agent can tell this is a catalog-wide audit rather than a single-model inspection without opening any 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?

Gives an explicit positive trigger ("Use for catalog-wide governance triage") and an explicit negative with the correct substitute ("Do NOT use to enumerate individual unused columns or measures (use pbi_find_unused_fields instead)"). The when/when-not/alternative triad is fully present.

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