Skip to main content
Glama
Power BI MCP Server

Power BI MCP Server

by mbmccormick

get_dataset

Retrieve detailed metadata for a specific Power BI dataset (semantic model) by ID, with optional workspace context, to inspect its structure before querying or refreshing.

Instructions

Get detailed information about a specific Power BI dataset (semantic model).

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_dataset"
  }
}

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

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Get' implies a non-destructive read, but nothing is said about required permissions, whether 'My Workspace' behaves differently beyond the schema note, what 'detailed information' actually contains, or whether the call is rate-limited or eventually consistent. With no output schema, that vagueness is a real 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?

A single front-loaded sentence with zero filler and no repetition of schema content. Its brevity is efficient, though it sits close to the line of under-specification for a tool with no annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter lookup the description is thin: with no annotations and no output schema, the agent learns nothing about what fields the 'detailed information' returns, whether related objects are expanded, or what errors occur on a bad or cross-workspace datasetId. It is callable from the name plus schema alone, but the description itself adds little.

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 100% and both parameters are described in-schema, including the 'omit for My Workspace' behavior, so baseline 3 applies. The description adds only the semantic-model synonym and no extra meaning about ID formats or workspace scoping.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (Get) and resource (a specific Power BI dataset), and parenthetically maps it to the equivalent term 'semantic model', which helps agents match user vocabulary. It does not, however, distinguish itself from siblings such as list_datasets or get_tables, so the agent must infer the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: the word 'specific' signals that this fetches one known dataset rather than enumerating many, which loosely contrasts with list_datasets. There is no explicit when-to-use, when-not-to-use, or prerequisite (e.g., that a datasetId must be obtained first from list_datasets).

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