Skip to main content
Glama

find_pbix_files

Recursively scan local folders to find Power BI .pbix and .pbit files without requiring Power BI Desktop, returning file paths sorted by newest first.

Instructions

Scan folders recursively for .pbix / .pbit files on disk (no Power BI Desktop needed). Defaults: Desktop, Documents, Downloads and OneDrive Desktop/Documents (add more folders with POWERBI_MCP_SCAN_DIRS). Pass search_dirs to scan specific folders instead. Returns {files (newest first), count, total_found, truncated, searched, missing_dirs}; if truncated is true there are more files than max_results -- raise it or narrow search_dirs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNo
search_dirsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does so well: it discloses that Power BI Desktop isn't required, what the default scan scope is, the env-var extension path, and that `truncated=true` means results were capped. It omits things like scan cost/duration or permission-error handling, keeping it just short of 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.

Conciseness4/5

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

Front-loaded with the core action and the key qualifier, then defaults, then return shape. Dense and mostly waste-free, though the parenthetical return-field enumeration runs long for a tool with an output schema.

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?

For a two-parameter discovery tool with an output schema and no destructive behavior, the description covers scope, defaults, overrides, and truncation semantics. An agent has everything needed to invoke it correctly without guessing.

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?

Schema coverage is 0%, so the description must compensate, and it does: `search_dirs` is explained as an override of the default folders and `max_results` is tied to the `truncated` flag with guidance to raise it. Some detail (e.g., whether search_dirs replaces or adds to defaults, ordering semantics of max_results) is implied rather than stated.

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 specific verb and resource ('Scan folders recursively for .pbix / .pbit files on disk') and an important scope qualifier ('no Power BI Desktop needed'). It is clearly distinguishable from every sibling, which are model/report analysis tools rather than disk discovery.

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?

Explains default behavior (Desktop, Documents, Downloads, OneDrive folders), how to extend it via POWERBI_MCP_SCAN_DIRS, and when to override with `search_dirs`. It doesn't name an alternative sibling to use instead, but none of the listed siblings overlap with file discovery, so context is effectively complete.

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