powerbi-orchestrator-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PBI_AUTH_MODE | Yes | Authentication mode for Power BI. In the example configuration it is set to 'interactive'. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Power BI & Microsoft Fabric Orchestrator MCP Server.
You are an expert Power BI and Microsoft Fabric solutions architect and data analyst assistant. Use this server's tools to inspect, audit, query, author, and deploy Power BI and Fabric assets.
Core Workflows & Tool Selection:
Environment Health & Diagnostics:
Call
powerbi_healthfirst if you need to inspect available external engines (TMDL tools, DAX compilers, Tabular Editor) or provide setup guidance.
Auditing & Quality Gates:
Use
audit_model_and_reportfor full project audits (Tabular BPA, DAX linting, WCAG 2.1 accessibility, naming conventions).Use
optimize_report_performanceto evaluate report page rendering times and identify slow visual containers.Use
audit_report_ux_and_storytellingto critique dashboard UX, visual hierarchy, and cognitive load.Use
pre_deploy_checkto evaluate audit findings against gate profiles before publishing.
Live Data & DAX Testing:
Use
execute_dax_queryto query live semantic models in Power BI Service / Fabric. Inspect table rows, test measures, or verify Row-Level Security viaimpersonated_user_name.Use
run_dax_regressionto compare measure query outputs against a golden baseline.
Model Authoring & Changes:
Use
add_measure_with_validationto write measures with automated syntax and best-practice linting.Use
create_semantic_model_from_schemato generate complete TMDL models and PBIP directories from YAML or JSON.Use
setup_rls_and_rolesto configure and test Row-Level Security roles.Use
refactor_to_calculation_groupsto consolidate repetitive time-intelligence measures.Use
plan_change(withintent='safe_rename') andapply_planfor safe column/measure renames across model and visuals.
Visuals & Report Design:
Use
select_visuals_for_kpisto find the most effective visual types for given business metrics and target audiences.Use
design_report_page_from_requirementsto automatically generate a PBIR page layout from a natural language brief.Use
create_report_from_datasetto scaffold a starter report for a model.Use
edit_report_visualfor surgical edits on individual chart containers.Use
apply_theme_and_accessibility_rulesto apply colorblind-safe themes (e.g. Okabe-Ito) and backfill alt text.Use
screenshot_report_pagesto capture visual wireframes or image snapshots.
Deployment & Governance:
Use
deploy_to_workspaceto run gates, publish PBIP, and configure scheduled refresh in Fabric.Use
run_refreshto trigger or poll dataset refreshes.Use
promote_in_pipelinefor Fabric Deployment Pipelines (Dev -> Test -> Prod).Use
commit_workspace_to_gitandsync_git_to_workspacefor Git source-control integration.Use
set_sensitivity_labelsfor Microsoft Purview information protection.Use
generate_data_dictionaryto export dataset documentation and Mermaid ER diagrams.
Rules & Guidelines:
Parameters accepting JSON (findings_json, dax_measures_json, spec_json, kpis_json, fields_json) accept both serialized JSON strings and native JSON lists/dictionaries.
Always prefer non-destructive dry-run checks (
dry_run=True) when available before applying structural modifications.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| connect_targetA | Connect to a Power BI target and initialize an orchestrator session. Use this tool when the user asks to:
Args:
target_type: One of "pbi_desktop", "fabric_workspace", "pbip_folder", "pbix_file".
target_ref: Reference path (for PBIP/PBIX) or workspace UUID (for Fabric).
auth_mode: "interactive" (browser login) or "service_principal". When
omitted, Returns: ConnectResult with session_id, engines_available status, and any diagnostic warnings. |
| plan_changeA | Create a versionable, multi-step execution plan from an intent template. Use this tool when the user asks to:
Args: intent: One of the supported templates ("safe_rename", "audit", "deploy", "dax_regression"). options: Template-specific arguments (e.g. for safe_rename: old_path, new_path, scope). May also contain PlanOptions fields (auto_rollback, max_impact_threshold, dry_run_first). Returns: PlanResult with plan_id, plan_yaml, steps, risk_score, estimated_changes. |
| apply_planA | Execute an approved plan with automatic rollback on step failure. Use this tool when the user asks to:
Args: plan_id: ID of the plan previously created by plan_change. dry_run: If True (DEFAULT), simulate execution without modifying files or cloud resources. Pass dry_run=False explicitly to apply for real. confirm_each_step: If True, ask the user to approve every step before it runs. Declining (or having no interactive client) stops execution and reports the remaining steps as not run. Returns: ApplyResult with execution status, executed steps, and rollback details if needed. |
| audit_model_and_reportA | Composite quality and compliance audit on a Power BI project (PBIP). Use this tool when the user asks to:
Args: pbip_path: Path to the root .pbip directory or folder. bpa_ruleset: Best practice ruleset to run ("default", "strict", "lenient"). dax_measures_json: Optional JSON string or dictionary mapping measure names to DAX expressions. bpa: Whether to execute Tabular BPA checks. dax_lint: Whether to execute static DAX linting checks. accessibility: Whether to audit WCAG 2.1 accessibility on report pages. naming: Whether to validate column, measure, and table naming conventions. Returns: Dict with overall score (0-100), pass/fail status, and categorized findings. |
| deploy_to_workspaceA | Deploy a PBIP project to a Fabric/Power BI workspace with pre-deploy gates. Use this tool when the user asks to:
Args:
pbip_path: Local filesystem path to the root .pbip directory.
workspace_id: Target Fabric / Power BI workspace ID (UUID).
refresh_daily_hour: Daily UTC hour (0-23) for scheduled refresh (default: 6 AM UTC).
findings_json: Optional list or JSON string of pre-existing audit findings to evaluate.
gate_profile: Quality gate profile ("strict", "standard", "lenient").
auth_mode: "interactive" (browser login) or "service_principal". When omitted,
Returns: Dict with deployment status, gate evaluation results, published item IDs, and refresh configuration. |
| run_refreshA | Trigger, monitor, and optionally wait for a Power BI dataset refresh. Use this tool when the user asks to:
Args:
workspace_id: Fabric / Power BI workspace ID (UUID).
dataset_id: Dataset / semantic model ID (UUID).
refresh_type: "full", "automatic", "data_only", "calculate", or "clearValues".
wait: Whether to poll and wait for the refresh to complete before returning.
timeout_s: Maximum wait time in seconds (default: 1800).
auth_mode: "interactive" or "service_principal". When omitted,
Returns: Dict with refresh status, duration, error details, and rollback status if applicable. |
| run_dax_regressionA | Run DAX queries against a baseline and assert regression tolerance. Use this tool when the user asks to:
Args: baseline_path: Path to the JSON baseline file containing expected results. queries_json: Optional list or JSON string of DAX queries to execute. tolerance_pct: Maximum allowed percentage difference between actual and expected numeric values (default: 0.1%). workspace_id: Fabric / Power BI workspace ID holding the dataset. dataset_id: Published semantic model / dataset ID to query. auth_mode: "interactive" or "service_principal". tenant_id: Azure AD tenant ID. client_id: Azure AD client ID. fabric_client: Optional injected FabricClient instance (for testing). Returns:
Dict containing diff summary, passed/failed queries, and variance details.
|
| execute_dax_queryA | Execute a DAX query against a published Power BI semantic model / Fabric dataset. Use this tool when the user asks to:
Args: workspace_id: Fabric / Power BI workspace ID (UUID). dataset_id: Published semantic model / dataset ID (UUID). dax_query: The DAX query expression (e.g. "EVALUATE TOPN(10, 'Sales')" or "EVALUATE ROW("Total", [Total Sales])"). impersonated_user_name: Optional User Principal Name (UPN) to test RLS rules as that user. auth_mode: "interactive" (default, browser login) or "service_principal". tenant_id: Azure AD tenant ID (required for service_principal). client_id: Azure AD client ID (for service_principal). max_rows: Maximum number of rows returned to the caller (default 1000, hard ceiling 10000). Prevents bulk extraction of business records into the model context. fabric_client: Optional injected FabricClient instance (for testing). Returns: Dict containing query execution results with tabular rows, columns, and execution metadata. |
| diff_modelsA | Compare two semantic models and report structural differences. Use this tool when the user asks to:
Args: before: Path to the baseline PBIP directory. after: Path to the target PBIP directory. Returns: Dict detailing added, removed, and modified tables, columns, measures, and relationships. |
| pre_deploy_checkA | Evaluate audit findings against a pre-deployment quality gate profile. Use this tool when the user asks to:
Args: findings_json: List or JSON string of audit findings to evaluate. profile: Gate profile to evaluate against ("strict", "standard", "lenient"). Returns: Dict with gate decision (passed=True/False), blocking findings, and warnings. |
| generate_data_dictionaryA | Generate Markdown documentation and Mermaid ER diagram for a semantic model. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory. output_path: Optional file path to save the generated Markdown. inspector: Optional model inspector. Returns: Dict with data dictionary markdown content, table count, measure count, and output path. |
| apply_theme_and_accessibility_rulesA | Apply a colorblind-safe theme, backfill visual alt text, and re-audit WCAG. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory. palette: Colorblind-safe palette name ("okabe_ito", "colorbrewer"). auto_backfill_alt_text: Whether to generate missing alt text on visuals. alt_text_template: Format template for generated alt text. Returns: Dict with updated WCAG score, modified visual count, and theme update details. |
| add_measure_with_validationA | Add a DAX measure to a semantic model with automated linting and validation. Use this tool when the user asks to:
Args: target: Target PBIP directory or TMDL path. measure_name: Name of the measure to create. table: Target table where the measure will reside. expression: DAX formula for the measure (e.g. "DIVIDE([Total Sales], [Units], 0)"). format_string: Format string (e.g. "$#,##0.00", "0.0%"). description: Measure documentation or business description. is_hidden: Whether the measure should be hidden in report view. fail_on_severity: Minimum lint severity that blocks creation ("error", "warning", "info"). dry_run: If True (DEFAULT), validate lint rules without writing to disk. Pass dry_run=False explicitly to persist the measure. runtime_check: Whether to execute the measure against an active engine if connected. measure_writer: Optional custom measure writer callable. Not reachable from an MCP client — the server wires the modeling engine instead. Returns: Dict with success status, lint findings, and modified file paths. |
| simplify_dax_measureA | Rewrite a DAX expression in its shorter, equivalent form. Use this tool when the user asks to:
Args: expression: The DAX expression to simplify. Mutually exclusive with pbip_path. pbip_path: A PBIP project to read the measures from. measure: The measure to simplify. Requires pbip_path. all_measures: Simplify every measure in the project and report which ones could be written shorter. Requires pbip_path. apply_lint: Include the linter verdict before and after, so a rewrite that silences a finding — or creates one — is visible. Returns: Dict with the simplified expression and the rewrites that produced it. The equivalence is structural: the expression is never evaluated against data, so the rewrite changes the shape and not the meaning, and a reader can check it. An expression that could not be parsed comes back unchanged, with the reason. |
| abstract_measuresA | Find the logic that is written more than once in a semantic model. Use this tool when the user asks to:
Args: pbip_path: Path to the root .pbip directory. table: Only look at the measures of this table. min_group_size: How many measures have to share a shape before it is reported. Two is the minimum. Returns: Dict with the groups found and, for each, what the duplication looks like: which measures share it and where exactly they differ. |
| abbreviate_namesA | Propose shorter names for the measures and columns that need them. Use this tool when the user asks to:
Args: pbip_path: Path to the root .pbip directory. kind: "measures", "columns" or "both". max_length: Above this length, a name is a candidate. abbreviate_words: Shorten the words that have a standard abbreviation ("Amount" to "Amt", "Quantity" to "Qty"). drop_filler_words: Drop the words that carry no meaning ("of", "the", "in"). Returns: Dict with the proposals and a rename map ready for plan_change(intent="safe_rename"). |
| create_report_from_datasetA | Scaffold a PBIR report folder and layout from an existing semantic model. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory containing the dataset. page_name: Name of the initial report page (default: "Overview"). visual_count: Number of starter visuals to generate. theme: Theme name to apply (default: "okabe_ito"). include_card: Whether to generate a top-line KPI card visual. inspector: Optional model inspector. Returns: Dict with created page path, visual IDs, and scaffolded report files. |
| edit_report_visualA | Modify a visualContainer in a PBIR report page (type, fields, formatting, layout). Use this tool when the user asks to:
Args: pbip_path: Path to the root .pbip directory. page_name: Name of the page containing the visual. visual_id: Unique ID of the visualContainer to edit. type: New visual type if changing (e.g. "barChart", "lineChart", "card"). fields_json: Optional dict or JSON string specifying field bindings to update. format_json: Optional dict or JSON string specifying formatting options. position_json: Optional dict or JSON string with x, y, width, height layout. alt_text: New alt text for accessibility. is_hidden: Whether to hide the visualContainer. Returns: Dict with success status, changes applied, and page path. |
| refactor_to_calculation_groupsA | Consolidate repetitive measures (e.g. YTD, QTD, PY) into calculation groups. Use this tool when the user asks to:
Args: target: Target PBIP directory or TMDL path. min_candidates: Minimum measure patterns needed to trigger consolidation. reconcile_strategy: "strict" or "lenient". preserve_originals: Whether to keep original measures alongside the calculation group. auto_apply: If True, write calculation items immediately; if False, return proposed refactoring plan. inspector: Optional model inspector. measure_writer: Optional measure writer callable. Returns: Dict with proposed or applied calculation items, candidate measures, and impact assessment. |
| select_visuals_for_kpisA | Recommend optimal visual types and chart configurations for given KPIs. Use this tool when the user asks to:
Args: kpis_json: List of KPIs or JSON string (each with name, semantic_type, fields, etc.). audience: Target persona ("executive", "analytical", "operational"). max_results: Maximum number of alternative visual recommendations per KPI. inspector: Optional model inspector providing column cardinality and schema info. Returns: Dict with recommended primary visual, alternatives, and rationale for each KPI. |
| design_report_page_from_requirementsA | Synthesize a complete PBIR report page layout from a natural language brief. Use this tool when the user asks to:
Args: pbip_path: Path to the target .pbip directory. brief: Natural language description of what the report page should convey. page_name: Display name for the newly created report page (default: "Overview"). audience: Target audience ("executive", "analytical", "operational"). palette: Color palette name (default: "okabe_ito"). inspector: Optional model inspector for schema context. Returns: Dict containing synthesized visual containers, positions, and page metadata. |
| optimize_report_performanceA | Analyze PBIR report pages for visual performance bottlenecks and anti-patterns. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory. target_load_ms: Desired maximum page load latency in milliseconds (default: 5000 ms). Returns: Dict with performance score (0-100), estimated load time, and actionable recommendations. |
| audit_report_ux_and_storytellingA | Evaluate report storytelling, visual hierarchy, cognitive load, and UX design. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory. page_name: Optional specific page name to audit; audits all pages if omitted. audience_assumed: Target audience ("executive", "analytical", "operational"). strictness: Scoring strictness ("lenient", "standard", "strict"). Returns: Dict with UX score (0-100), category breakdowns (hierarchy, density, narrative), and suggestions. |
| screenshot_report_pagesA | Capture screenshots or structural wireframes of Power BI report pages. Use this tool when the user asks to:
Args: pbip_path: Path to the .pbip directory. pages: Optional list of specific page names to capture. format: Output format ("png", "svg", "pdf"). resolution: Target resolution ("desktop", "mobile", "tablet"). output_dir: Directory where captured images are written. wait_ms: Time in ms to wait for visual rendering. Returns: Dict with output image paths, warnings, and rendering metadata. |
| create_semantic_model_from_schemaA | Generate a TMDL semantic model and PBIP project from a declarative schema spec. Use this tool when the user asks to:
Args: spec_yaml: YAML specification of tables, columns, types, and relationships. spec_json: JSON specification (either as a string or a structured object/dict). output_pbip_path: Target directory to write the generated .pbip project. dry_run: If True, validate specification without writing files to disk. Returns: Dict with tables created, relationships created, hierarchies created, and validation status. |
| setup_rls_and_rolesA | Configure Row-Level Security (RLS) roles and validation rules in a TMDL model. Use this tool when the user asks to:
Args: target: Target PBIP directory or TMDL path. spec_yaml: YAML specification of security roles, members, and DAX filters. spec_json: JSON specification (either as a string or a structured object/dict). dry_run: If True, validate role specification without writing to disk. rollback_on_test_failure: Whether to revert modifications if test queries fail. workspace_id: Optional Power BI workspace ID for live RLS EffectiveIdentity checks. dataset_id: Optional Power BI dataset ID for live RLS checks. auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. fabric_client: Optional injected FabricClient (for testing). Returns: Dict with roles created, test query outcomes, and rollback status if applicable. |
| promote_in_pipelineA | Promote artifacts across Microsoft Fabric Deployment Pipeline stages. Use this tool when the user asks to:
Args: pipeline_id: Fabric deployment pipeline ID (UUID). source_stage: Source stage ("dev", "test", "prod"). target_stage: Target stage ("test", "prod"). items: Optional list of specific item IDs to promote. Promotes all if omitted. quality_gates_json: Optional list/JSON of quality gates to run before promotion. pbip_path: Optional PBIP directory for audit quality gate. baseline_path: Optional DAX regression baseline JSON for regression quality gate. auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True (DEFAULT), validate stages and gate checks without triggering actual promotion. Pass dry_run=False explicitly to promote for real — this moves live artifacts between stages. fabric_client: Optional injected bridge/client (for testing). Returns: Dict with promotion status, gate outcomes, and affected items. |
| commit_workspace_to_gitA | Export and commit a Fabric workspace into a local Git repository. Use this tool when the user asks to:
Args: workspace_id: Source Fabric workspace ID (UUID). output_repo_path: Local path to destination Git repository. branch: Git branch to commit into. commit_message: Commit message describing the snapshot. exclude_items: Optional list of item IDs to exclude. auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True, inspect items without creating git commits. fabric_client: Optional injected bridge/client (for testing). Returns: Dict with committed items, commit SHA, and repository status. |
| sync_git_to_workspaceA | Deploy a local Git repository with PBIP projects to a Fabric workspace. Use this tool when the user asks to:
Args: repo_path: Path to the local Git repository. workspace_id: Target Fabric workspace ID (UUID). branch_or_commit: Git ref to sync (default: "HEAD"). conflict_resolution: Conflict handling strategy ("manual", etc.). auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True, calculate changes without publishing. fabric_client: Optional injected bridge/client (for testing). Returns: Dict with synchronized items, skipped items, and deployment results. |
| set_sensitivity_labelsA | Apply Microsoft Purview information protection sensitivity labels to items. Use this tool when the user asks to:
Args: items: List of dicts specifying item IDs and types (e.g. [{"id": "...", "type": "Report"}]). label_id: Microsoft Purview label GUID. label_name: Display name of the sensitivity label. admin_scopes: Optional list of administrative authorization scopes. redact_names: Whether to redact item names in returned logs for security. auth_mode: Optional auth mode ("interactive", "service_principal", "managed_identity"). tenant_id: Optional Azure AD tenant ID. client_id: Optional Azure AD client ID. dry_run: If True, validate permissions without applying labels. fabric_admin_client: Optional injected admin bridge/client (for testing). Returns: Dict with updated items, failed items, and compliance status. |
| powerbi_healthA | Diagnose orchestrator health, detected modeling engines, and storage readiness. Use this tool when the user asks to:
Args: include_engine_details: Whether to return full diagnostic info and remediation tips for each engine. Returns: Dict with system status, engine availability matrix, active store counts, and remediation advice. |
| define_kpi_catalogA | Create, merge, and validate a versioned YAML KPI catalog. Args: catalog_path: Target YAML path inside PBI_WORKSPACE_ROOT. kpis: Optional list (or JSON string) of KPI definition objects. version: Catalog semantic version string. approver: Optional human approver / owner tag. merge: Merge incoming KPIs into existing catalog when True. include_process_preset: Seed the 7 built-in operational/process KPIs. dry_run: Preview diff/validation without writing to disk (default True). Returns: Dict with validation result, catalog SHA-256, and unified YAML diff. |
| ingest_source_tableA | Validate and stage an Excel/CSV source table into a PBIP semantic model. Args: source_path: Path to source .xlsx/.xlsm/.csv file inside PBI_WORKSPACE_ROOT. target_pbip_dir: Path to target PBIP workspace directory. table_name: Validated target Power BI table identifier. expected_schema: Dict (or JSON string) mapping column names to expected types. sheet_name: Optional Excel worksheet name. key_columns: Optional key columns checked for nulls and duplicates. allow_extra_columns: Permit unmapped source columns when True. max_rows: Safety row cap per file (capped at 100,000). dry_run: Validate only without writing TMDL/staged CSV files (default True). Returns: Dict with schema/key validation findings, row counts, and staged artifacts. |
| compute_process_kpisB | Deterministically compute process KPIs from Excel/CSV or Power BI dataset. Args: source_path: Optional Excel/CSV file path inside PBI_WORKSPACE_ROOT. sheet_name: Optional Excel sheet name. workspace_id: Optional Power BI / Fabric workspace GUID for DAX queries. dataset_id: Optional Power BI / Fabric dataset GUID. catalog_path: Optional YAML KPI catalog path (defaults to built-in preset). kpi_ids: Optional subset of KPI IDs to compute. as_of_date: Optional ISO date YYYY-MM-DD for overdue/cycle calculations. area_filter: Optional area filter (operaciones, proyectos, compras, hsec, etc.). dax_table_name: Fallback table name when executing DAX expressions. impersonated_user_name: Optional RLS effective username (requires write scope). fabric_client: Optional injected FabricClient for testing. auth_mode: Optional auth mode override. tenant_id: Optional Entra ID tenant. client_id: Optional Entra ID client ID. Returns: Dict with deterministic KPI values, Decimal precision metadata, and warnings. |
| export_kpi_report_bundleA | Render deterministic KPIs into printable PDF and styled Excel files. Args: computed_kpis: ComputeProcessKpisResult dict (or JSON string). output_dir: Destination folder inside PBI_WORKSPACE_ROOT. report_title: Printable report header/title. summary_text: Optional verified executive summary text to embed in PDF/XLSX. detail_rows_path: Optional source Excel/CSV to include as bounded detail tab. detail_sheet_name: Optional worksheet name for detail_rows_path. formats: Output formats subset of ["xlsx", "pdf"]. include_pii_columns: Preserve PII-named columns in detail tab when True (default False). dry_run: Plan artifact paths without writing files when True (default True). Returns: Dict with generated file paths, SHA-256 checksums, stripped PII columns, and status. |
| draft_report_summaryB | Build bounded executive summary prompt and verify cited KPI figures. Args: computed_kpis: ComputeProcessKpisResult dict (or JSON string). audience: Target reader profile ("operations", "contract_admin", "external_client"). cadence: Reporting cadence ("daily", "weekly", "monthly"). candidate_narrative: Optional LLM-drafted prose to verify against KPI numbers. language: Prompt language ("es" or "en"). allowed_extra_numbers: Explicit whitelist for non-KPI reference figures (e.g. years). Returns: Dict with bounded prompt bundle, verification flag, and any unverified numeric tokens. |
| send_report_emailA | Validate recipients/attachments and send a report bundle via Graph or SMTP. Args: recipients_to: Primary recipient email addresses (logged redacted as SHA-256 hashes). subject: Email subject line. body_markdown: Email body content (markdown/plain text). recipients_cc: Optional CC recipient email addresses. attachment_paths: Optional attachment paths inside PBI_WORKSPACE_ROOT. audience_profile: Target audience profile ("internal_ops", "internal_admin", "external_client"). report_cadence: Report cadence ("daily", "weekly", "monthly"). confirm_external_send: Explicit confirmation required before external client sends. transport: Delivery transport ("auto", "graph", "smtp"). sender_address: Sender address / UPN override. dry_run: Validate domains, external gate, and attachment sizes without sending (default True). max_attachment_bytes: Maximum allowed total attachment size in bytes. graph_client: Optional injected Graph client for testing. smtp_sender: Optional injected SMTP callable for testing. Returns: Dict with delivery status, transport used, redacted recipient hashes, and block reasons. |
| check_report_data_consistencyB | Reconcile expected or source-file KPIs against a live Power BI dataset. Args: workspace_id: Power BI / Fabric workspace GUID. dataset_id: Power BI / Fabric dataset GUID. source_path: Optional Excel/CSV source file for independent baseline calculation. sheet_name: Optional Excel worksheet name. catalog_path: Optional YAML KPI catalog path. expected_kpis: Optional dict (or JSON string) of explicit expected KPI numbers. tolerance_pct: Allowed relative discrepancy ratio before flagging mismatch (default 0.001). as_of_date: Optional ISO date YYYY-MM-DD for source baseline calculation. query_executor: Optional injected DAX query executor callable for testing. fabric_client: Optional injected FabricClient for testing. auth_mode: Optional auth mode override. tenant_id: Optional Entra ID tenant. client_id: Optional Entra ID client ID. Returns: Dict with overall consistency flag and per-KPI source vs dataset discrepancy details. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 38 tools
Most tools have a distinct anchor action (deploy, refresh, diff, screenshot), but several clusters overlap: audit_model_and_report vs audit_report_ux_and_storytelling vs optimize_report_performance, and compute_process_kpis vs check_report_data_consistency vs run_dax_regression vs execute_dax_query all touch 'verify numbers against a dataset'. Descriptions do carry 'use this tool when' cues that help, but an agent must read carefully to pick correctly.
Nearly everything is snake_case verb_noun (create_report_from_dataset, deploy_to_workspace, execute_dax_query, add_measure_with_validation), which is predictable and scannable. Minor deviations include noun-first powerbi_health and adjective-first pre_deploy_check, plus a few long four-word names, but the convention holds throughout.
38 tools is heavy even for a broad Power BI orchestration domain, and the surface is split across many sub-domains (modeling, DAX authoring, reporting/UX, KPI pipelines, Git sync, deployment, governance). Several near-duplicate audit and validation tools suggest the count grew by accretion rather than by distinct need.
Coverage is genuinely broad: connect/plan/apply lifecycle, deploy, refresh, DAX execution, RLS, sensitivity labels, Git round-trip, pipeline promotion, KPI catalog/compute/report/email, and report design/UX. Remaining gaps are minor (no workspace/dataset discovery-listing tool, no explicit delete/remove-item operation), which agents can work around via existing targets.