Skip to main content
Glama

clear_visual_styling

Remove border, shadows, and visual headers from Power BI visuals while keeping custom titles, overlays, and navigation intact. Flatten to a plain, non-premium look safely.

Instructions

FLATTEN visuals to a plain 'non-premium' look the SAFE way. Removes the decorative chrome (border, dropShadow, stylePreset, visualHeader/visualHeaderTooltip and plain opaque backgrounds) from each visual's vcObjects. PRESERVES deliberate formatting by default: a custom-text or explicit-show title (e.g. a custom heading, or a title hidden on an overlay chart) and a transparent (overlay) background are kept. NEVER touches a button's navigation action (visualLink), bookmark/page-navigation actions, or the data + conditional formatting (singleVisual.objects). actionButton visuals are skipped entirely. This replaces the buggy 'delete the whole vcObjects bucket' flatten that destroyed meaningful titles/overlays and broke nav buttons. pageName omitted = all pages; visualName omitted = all visuals on the page. Set removeTitles=true to also strip deliberate titles (the old aggressive behaviour). Returns visuals touched, decorative keys removed, and a count of action/visualLink keys PRESERVED.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNameNopage name or displayName (omit = all pages)
visualNameNovisual name (omit = all visuals on the page)
removeTitlesNoalso remove deliberate custom/explicit titles (default false = keep them)
reportSessionIdYes
whiteBackgroundNoalso set the page background to solid #FFFFFF
Behavior5/5

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

With no annotations, the description fully covers behavioral traits: lists exactly which decorative keys are removed, which are preserved (titles, overlays, navigation actions, data/conditional formatting), and that actionButton visuals are skipped entirely. It also discloses safety improvements and return values.

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?

Although dense, every sentence adds distinct value: what is removed, what is preserved, what is never touched, the replacement of a buggy behavior, scope defaults, and the opt-in aggressive flag. No filler or tautology.

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

Completeness5/5

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

The description is fully complete for this tool's complexity: it explains scope, safety, destructive actions, preservation guarantees, and return values. No output schema exists, but the description states exactly what is returned. This is exceptional coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds meaning beyond the schema: it explains omit behavior for pageName/visualName, the default and effect of removeTitles, and the whiteBackground effect. This complements the schema's 80% coverage with contextual usage details.

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?

The description uses a specific verb ('FLATTEN'), names the exact resource ('each visual's vcObjects'), and clearly scopes the operation (decorative chrome removed, deliberate formatting preserved). It also distinguishes itself from a prior buggy implementation, which helps differentiate it from sibling tools.

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?

The description provides explicit guidance on when to use the tool and how to control behavior: it explains the safe default (preserve titles/overlays), how to opt into aggressive behavior (removeTitles=true), and the scope semantics for pageName/visualName. It also contrasts with the old buggy flatten, giving clear usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cyphonica/powerbi-pbix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server