Skip to main content
Glama

pbi_apply_format_preset

Apply a named format preset to measures or columns in Power BI, eliminating the need to memorize raw format strings. Supports currency, percent, thousands, millions, decimal, integer, date, and datetime presets.

Instructions

Apply a named format preset to a list of measures or columns.

Wraps pbi_set_format_tool so callers don't need to memorise the raw format string. Supported preset families: currency_eur(_k|_m), currency_usd, percent (0dp/1dp/2dp/4dp), thousands, millions, decimal_2, integer, integer_no_sep, date_iso, date_short_fr, date_short_us, date_long_fr, datetime_iso. Use pbi_list_format_presets_tool to inspect them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
namesYes
tableYes
presetYes
object_typeNomeasure

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided. Description states it applies presets to a list of items and lists supported families, but does not disclose overwrite behavior, error handling, or permission needs. The description adds moderate value 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two focused sentences with no fluff. Front-loaded with the action, then explanation and examples. Each sentence earns its place.

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?

Despite an output schema (not shown), the description lacks prerequisites, return value description, and explicit handling of multiple items. Given 0% schema parameter coverage and no annotations, the description is insufficiently complete.

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

Parameters2/5

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

With 0% schema description coverage, the description should elaborate on parameters. It lists preset families but does not describe 'names', 'table', 'preset', or 'object_type' beyond implying object_type can be measure or column. Incomplete for a 4-param tool.

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?

Description clearly states the tool applies a named format preset to measures or columns, with specific verb 'Apply' and resource list. Distinguishes from sibling pbi_set_format by noting it wraps that tool for convenience.

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?

Description advises using pbi_list_format_presets_tool to inspect presets and mentions it avoids memorizing raw format strings, but does not explicitly contrast with direct use of pbi_set_format or specify when to prefer this tool.

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/imnotStealthy/powerbi-mcp-local'

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