Skip to main content
Glama

set_visual_format

Set any visual formatting in Power BI reports using flexible JSON, merging new settings with existing ones to preserve untouched properties.

Instructions

Set ANY formatting on a visual (TOTAL customizability) - the universal styling engine. formatJson e.g. { "vcObjects": { "title": {"show":true,"text":"My Title"}, "background": {"show":true,"color":"#FFFFFF","transparency":100} }, "objects": { "legend": {"show":false} } }. Each property is encoded by kind (show->bool, text->text, transparency/fontSize->number, color/fontColor->colour, alignment/position->enum; otherwise inferred: boolean->bool, number->number, #RRGGBB->colour, else text) and MERGED in - untouched objects/properties and any selector are preserved. Returns the objects/properties changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYespage name or displayName
strictNowhen true, REJECT (do not apply) if validation finds unknown cards/properties or type mismatches; default false (apply + warn)
visualYesvisual name or displayName
formatJsonYesJSON: { vcObjects:{obj:{prop:value}}, objects:{obj:{prop:value}} }
reportSessionIdYes
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses key behaviors: properties are merged (preserving untouched objects/properties), types are inferred by kind, and the return value is the changed properties. It does not mention strict-mode behavior or error handling, but the schema covers 'strict'. The description adds significant context beyond the schema.

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?

The description is lengthy due to the inline JSON example and type inference list, but it is front-loaded with the core purpose and every sentence adds value. The structure is logical: purpose, example, encoding rules, merge behavior, return value. It is dense but not wasteful.

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?

For a complex, flexible tool with 5 parameters, no output schema, and no annotations, the description covers the essential usage, merge behavior, type encoding, and return value. It omits strict-mode details but those are in the schema. Overall, it is complete enough for a power user to invoke correctly.

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?

Schema coverage is 80%, with reportSessionId undocumented. The description enriches formatJson with a concrete JSON example and explains type inference rules (show->bool, text->text, etc.), which are absent from the schema. It also clarifies merge semantics. This goes well beyond the baseline for well-covered schemas.

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 opens with 'Set ANY formatting on a visual', providing a specific verb and resource. Labeling it the 'universal styling engine' clearly distinguishes it from narrower sibling tools like set_visual_title or set_visual_property. The scope is unambiguous.

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?

The description implies this is the go-to tool for any visual formatting ('universal styling engine', 'TOTAL customizability'). It gives clear context for when to use it, though it does not explicitly mention alternatives or exclusions. This is slightly above implied usage because the 'universal' phrasing sets expectations.

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