Skip to main content
Glama

set_selection_expression_behavior

Set model-wide selection-expression behavior to control how clients handle calc-group selections, choosing automatic, nonvisual, or visual modes. Requires compatibility level 1605+.

Instructions

Set the model-wide selection-expression behavior controlling which clients honour calc-group selection expressions: automatic | nonvisual | visual. Needs compatibility level 1605+ (auto-bumped, reported back). FLAG: stamped as a PBI_SelectionExpressionBehavior model annotation - the strongly-typed property is absent from this build.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
behaviorYesautomatic | nonvisual | visual
sessionIdYes
Behavior4/5

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

With no annotations, the description carries full burden. It discloses two non-obvious behaviors: auto-bumping compatibility level (with report back) and that the change is stamped as a model annotation rather than a strongly-typed property. This adds meaningful transparency beyond a plain 'set' operation, though it stops short of covering reversibility or effect on existing data.

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?

Three concise sentences front-load the purpose and then add critical technical context. Every sentence provides distinct value with no redundancy or 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?

Given the tool's modest complexity (2 params, no output schema), the description covers purpose, allowed values, a version prerequisite, and a side effect (auto-bump, annotation stamp). It falls slightly short by not clarifying what 'reported back' means or the role of sessionId, but overall it is sufficiently complete for an agent to invoke correctly.

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?

Schema coverage is only 50%: 'behavior' is documented in the schema, and the description merely repeats the allowed values. 'sessionId' is completely undocumented in both schema and description, and the description adds no new parameter meaning or 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?

Description uses specific verb 'Set' and identifies the exact resource: 'model-wide selection-expression behavior controlling which clients honour calc-group selection expressions.' It also enumerates the value options, making the tool's scope clear and distinguishable from sibling set_calc_group_selection_expressions.

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

Usage Guidelines3/5

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

Provides a prerequisite (compatibility level 1605+) and notes auto-bump behavior, but does not explicitly say when to use this tool over alternatives or mention exclusions. The distinction from related sibling tools is implicit rather than stated.

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