Skip to main content
Glama
mbrummerstedt

PowerBI Analyst MCP

read_query_result

Retrieve paginated results from Power BI DAX queries saved as CSV files. Use offset and limit parameters to efficiently access large datasets without exceeding context limits.

Instructions

Read a page of rows from a CSV file saved by execute_dax.

Use this tool when execute_dax returns a savedTo path instead of inline rows. Combine offset and limit to page through large results without loading the entire file into context.

Returns rows for the requested slice together with pagination metadata:

  • totalRows: total number of rows in the file

  • offset: the offset used

  • limit: the limit used

  • hasMore: whether more rows exist after this page

Example workflow:

  1. Call execute_dax — if rows > 50 you get a savedTo path.

  2. Call read_query_result(file_path=savedTo, offset=0, limit=100).

  3. If hasMore is true, call again with offset=100, then 200, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYes
offsetNo
limitNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden and effectively discloses pagination mechanics, return structure (hasMore, totalRows), and file dependencies. Minor gap: no mention of error handling (e.g., missing files) or file lifecycle.

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?

Well-structured with core purpose front-loaded. The example workflow efficiently illustrates the interaction pattern, and the return value documentation adds necessary context despite the presence of an output schema.

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?

Given the tool's moderate complexity and the existence of an output schema, the description is complete. It successfully explains the relationship with `execute_dax`, pagination strategy, and provides a concrete multi-step workflow example.

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 coverage is 0%, requiring the description to compensate. It demonstrates parameter usage through the example workflow (offset=0, limit=100) and pagination context, but lacks explicit definitions for each parameter's semantics and constraints.

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+resource ('Read a page of rows from a CSV file') and immediately ties it to the sibling tool `execute_dax`, clearly distinguishing its purpose from other list/read tools in the suite.

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?

Explicitly states the trigger condition ('Use this tool when `execute_dax` returns a `savedTo` path instead of inline rows'), providing clear when-to-use guidance and implicitly contrasting it with the inline result alternative.

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/mbrummerstedt/powerbi-analyst-mcp'

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