Skip to main content
Glama

report_update_visual

Modify an existing Power BI PBIR report visual by updating its position, size, title, text, or data field bindings.

Instructions

Update position, size, title, text, or data bindings of an existing PBIR visual.

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": {
      "projectPath": "<projectPath>",
      "pageId": "<pageId>",
      "visualId": "<visualId>"
    },
    "name": "report_update_visual"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsNo
textNo
titleNo
pageIdYesPage ID containing the visual
seriesNo
valuesNo
columnsNo
categoryNo
positionNo
visualIdYesVisual ID to update
projectPathYesPath to the .pbip file or project root folder

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a mutation of an existing visual, but never says whether this is a partial patch (unspecified fields left untouched) or a full replace, what happens if visualId/pageId do not resolve, whether the change is reversible, or what the tool returns on success.

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 no filler or repetition. It is efficient, though for an 11-parameter mutation tool the terseness borders on under-specification rather than optimal sizing.

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?

The tool is a nested-object mutation with no annotations and no output schema, where the description is the only source of behavioral context. Given that complexity, one sentence covering field groups is not enough — atomicity, partial-update semantics, required prior ID lookup, and error behavior are all absent.

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 low (27% of 11 parameters), so the description has to compensate. It does map its listed facets onto the schema (position/size -> position, title -> title, text -> text, data bindings -> category/series/values/rows/columns), but it never explains which binding arrays apply to which visual type, leaving several undocumented arrays ambiguous.

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?

The description states a specific verb ("Update") and resource ("an existing PBIR visual") and enumerates the mutable facets: position, size, title, text, and data bindings. The word "existing" implicitly separates it from report_add_visual and report_delete_visual, though no sibling is named explicitly.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool versus report_add_visual or report_delete_visual, no prerequisites (e.g., that valid pageId/visualId must first be obtained, plausibly via pbip_inspect_project), and no note about whether the project must be closed or re-saved after the update.

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