Skip to main content
Glama
Power BI Report MCP Server

Power BI Report MCP Server

List Custom Visuals

pbir_list_custom_visuals
Read-only

Lists custom visuals installed in the connected Power BI report, showing which visualTypes can be safely used when adding or changing visuals so they render correctly in Desktop.

Instructions

List custom visuals (AppSource/organizational, e.g. 'htmlContent<32-hex-guid>') actually registered/installed in the connected report. Only these visualTypes can be safely used by pbir_add_visual / pbir_change_visual_type — anything else fails to render in Desktop even though the PBIR JSON is valid.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pbir_list_custom_visuals"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
countNo
errorNo
_cacheNo
successNo
customVisualsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.9.6

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety and locality are covered; the description adds the genuinely useful context that results reflect what is actually installed in the connected report rather than a generic catalog, and documents the downstream failure mode for unlisted types. It doesn't mention behavior on empty results or whether the list can change mid-session, 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, both earning their place: the first defines scope, the second states the hard constraint and the consumption pattern. The constraint and the consumer tools are front-loaded with no filler or restatement of the title.

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?

An output schema exists, so return values need no explanation, and the definition covers purpose, scope, and the reason the call matters. The only gap is edge-case behavior (empty result when no custom visuals are installed, or whether the list is a fixed catalog) for a deliberately simple zero-arg tool.

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?

Zero parameters, so the baseline of 4 applies; there is nothing to disambiguate. The value-format example in the description is about returned identifiers rather than inputs, and the schema carries no params of its own.

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 custom visuals ... actually registered/installed in the connected report") and pins down scope with the source qualifier (AppSource/organizational) plus a concrete value pattern ('htmlContent<32-hex-guid>'). An agent can distinguish this from pbir_list_visuals and pbir_get_visual_types by the "custom" and "actually installed" qualifiers without opening a schema.

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?

Gives a clear pre-condition for use: call this before pbir_add_visual / pbir_change_visual_type because only the returned visualTypes render safely. It even explains the consequence of skipping it (valid JSON that fails to render in Desktop). It stops short of explicit exclusions — e.g. don't call it to enumerate existing visuals on a page (use pbir_list_visuals).

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