Skip to main content
Glama
Power BI MCP Server

Power BI MCP Server

by mbmccormick

get_tables

List tables in a Power BI push dataset via REST API by providing dataset ID and optional workspace ID. Use discover_model for regular semantic models.

Instructions

List tables in a Power BI push dataset via the REST API. NOTE: This only works for push datasets. For regular semantic models, use the discover_model tool 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": {
      "datasetId": "<datasetId>"
    },
    "name": "get_tables"
  }
}

Input Schema

NameRequiredDescriptionDefault
datasetIdYesThe dataset (semantic model) ID.
workspaceIdNoThe workspace (group) ID. Omit for 'My Workspace'.

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 disclose the critical behavioral constraint that the tool fails outside push datasets, plus the REST API transport. It does not state whether a non-push call errors or returns empty, nor any permission requirements, 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?

Two sentences, front-loaded with the core action, followed by the caveat and redirect. No filler or redundancy.

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?

For a simple two-parameter read-only list tool with fully documented parameters and no output schema, the definition supplies the one piece of context an agent could not infer: the push-dataset-only limitation. Minor gaps remain on failure mode and permission needs.

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% (datasetId and workspaceId are both documented, including the "omit for My Workspace" case), so the schema does the heavy lifting. The description adds no additional parameter meaning, which meets the baseline 3.

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 ("List tables"), scopes it to a Power BI push dataset, and explicitly contrasts itself with discover_model for regular semantic models. An agent can distinguish it from siblings like discover_model or get_dataset 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 precondition ("only works for push datasets") and names the correct alternative with the condition that selects it ("For regular semantic models, use the discover_model tool instead"). This is textbook when-to-use / when-not-to-use routing.

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