Skip to main content
Glama

set_isavailableinmdx

Reduce Power BI memory and processing by setting IsAvailableInMDX false on non-attribute, high-cardinality columns, and protect sort integrity by keeping it true on sort columns.

Instructions

Set Column.IsAvailableInMDX. Setting it false on high-cardinality, non-attribute columns saves memory and processing. GUARD: it is kept TRUE on any SortByColumn target (flipping it false breaks the sort with 'invalid column ID'). Pass table+column for one column; pass table alone to set a whole table; or bulkHeuristic=hiddenAndKeys (with no table/column) for a safe model-wide pass over hidden/key columns.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNotable (omit with bulkHeuristic for a model-wide pass)
valueYesthe value to set (false to disable MDX availability)
columnNocolumn (omit to set the whole table)
sessionIdYes
bulkHeuristicNohiddenAndKeys for a model-wide pass over hidden/key columns
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses the critical side-effect of flipping false on SortByColumn targets (invalid column ID error) and explains the memory/processing benefit. However, it does not mention any permissions, reversibility, or return behavior, leaving some gaps.

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 dense but well-structured: a clear opening, a practical rationale, a distinct GUARD note, and usage modes. It is slightly long but every sentence provides value; no filler.

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 property setter with no output schema and no annotations, the description covers purpose, usage, mode selection, and a critical guard. It lacks details on error behavior, permissions, or return values, but these are less critical for a straightforward setter.

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?

Schema coverage is 80%, but the description adds significant meaning beyond the schema. It explains how table/column/bulkHeuristic interact ('Pass table+column for one column; pass table alone to set a whole table; or bulkHeuristic=hiddenAndKeys'), which is not evident from the property descriptions alone.

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 Column.IsAvailableInMDX', a clear verb+resource statement. It further explains the purpose (saving memory/processing) and distinguishes this from other set_* siblings by naming the specific MDX availability property.

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 explicitly states when to use this tool (false on high-cardinality, non-attribute columns), includes a specific GUARD about SortByColumn targets that would break the sort, and describes three invocation modes (column, table, or bulkHeuristic) with clear conditions for each.

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