add_body_image

MCP tool from Pbirb MCP by mafaq229

Append an Image to the body

How to use it

Project documentation lists add_body_image for the Pbirb MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Pbirb MCP

$uvx pbirb-mcp
FULL PBIRB MCP LISTING

Other tools in Pbirb MCP (39)

add_body_textbox

Append a Textbox to <Body>/<ReportItems>

add_line

A <Line> report item

add_list

A list region (single-column tablix template)

add_query_parameter

Append <QueryParameter> (e.g. =Parameters!DateFrom.Value)

add_rectangle

A <Rectangle> container (group other items, control page breaks)

add_tablix_filter

Append a <Filter>. Operators: Equal, NotEqual, GreaterThan, In, Between, Like, TopN, ...

convert_to_matrix

Promote a table to a matrix (row + column groups) — see docs/MATRIX-cookbook.md

describe_report

Top-level inventory: data sources, datasets, parameters, tablixes, page setup

get_expression_reference

Cheat-sheet of common RDL expression patterns (countwhere, sumwhere, iifformat helpers build these)

get_parameters

Report parameters with data type, prompt, and flags (multi-value, hidden, nullable, allow-blank)

get_tablixes

Tablix layout: columns, row/column groups, sort expressions, filters, visibility

insert_chart_from_template

A basic Column chart: single category axis grouped by categoryfield, single Y series =Sum(Fields!<valuefield>.Value). Change <Type> post-insert (Bar / Line / Pie / etc.).

insert_tablix_from_template

A basic Tablix mirroring the fixture's shape — header row with the column name as a static label, detail row binding to =Fields!<column>.Value. One column per requested field.

refresh_dataset_fields

Re-derive the <Fields> list from the query's column metadata

remove_body_item

Remove a named Textbox / Image / Tablix from the body

remove_query_parameter

Drop a query parameter (and clean up empty <QueryParameters>)

remove_tablix_filter

Remove by ordinal index from listtablixfilters

set_alternating_row_color

Zebra-stripe a tablix's detail row with BackgroundColor=IIf(RowNumber(Nothing) Mod 2, "<a>", "<b>")

set_body_size

The <Body> region's overall height

set_cell_span

Set RowSpan / ColSpan on a cell

set_chart_axis

Category / value axis title, scale, format

set_chart_data_labels

Toggle and format data labels

set_chart_legend

Legend visibility and placement

set_chart_series_grouping

Category/series grouping expression

set_chart_series_type

Column / Bar / Line / Area / Pie / ... per series

set_chart_title

Chart title text/expression

set_conditional_row_color

Drive detail-row BackgroundColor from an expression

set_datasource_connection

Repoint a <DataSource> at a Power BI XMLA endpoint. DataProvider=SQL (the AS provider id).

set_detail_row_visibility

Set <Visibility> on the Details group

set_element_visibility

Set <Visibility> on any named ReportItem (Tablix, Textbox, Image, Rectangle, Subreport, Chart). Group / detail-row visibility have their own tools.

set_page_orientation

Swap PageHeight/PageWidth to match Portrait or Landscape. Idempotent.

set_page_setup

Page dimensions, margins, columns. All fields optional.

set_tablix_corner

Set the matrix corner cell text/expression

set_tablix_size

Set the tablix's overall <Width> / <Height>

set_textbox_style

Routes properties to the right nested <Style> node automatically: box-level (BackgroundColor, Border, VerticalAlign), paragraph-level (TextAlign), run-level (FontFamily, FontSize, FontWeight, Color, Format)

set_textbox_style_bulk

Apply one style to many textboxes in a single call

style_tablix_row

Style every cell of a tablix row at once (header / detail / footer)

update_dataset_query

Replace <DataSet>/<Query>/<CommandText> with a DAX expression

update_query_parameter

Change the value expression of an existing query parameter