Skip to main content
Glama

set_column_data_category

Assign a data category to a column, like City or Latitude, so Power BI reports apply the appropriate special treatment.

Instructions

Set a column's data category so the report layer treats it specially, e.g. Address, City, Continent, Country, County, Latitude, Longitude, Place, PostalCode, StateOrProvince, WebUrl, ImageUrl, BarcodeText. (For format + category in one call use format_column.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableYes
columnYes
categoryYescategory, e.g. City | Latitude | WebUrl | ImageUrl | BarcodeText
sessionIdYes
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It reveals the effect on the report layer ('treats it specially') but does not mention whether the change is persistent, destructive, or requires permissions. It also doesn't explain behavior on invalid category values or whether existing categories are overwritten.

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 sentences pack the purpose, examples, and an alternative reference with zero filler. The key information is front-loaded and every word earns its place.

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 simple metadata-setting tool, the description covers the core behavior, gives concrete category examples, and points to format_column for combined use. It lacks details on side effects or prerequisites, but the tool's low complexity makes the description reasonably complete.

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 only 25% (only category has a description). The description compensates by providing a rich list of example categories, adding value beyond the schema. The other parameters (sessionId, table, column) are self-explanatory, so the lack of description for them is not a significant gap.

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 clearly states the verb 'Set' and the resource 'a column's data category', and explicitly explains the purpose: 'so the report layer treats it specially.' It also distinguishes the tool from siblings by listing example categories and cross-referencing format_column for combined operations.

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 an explicit alternative: 'For format + category in one call use format_column.' This tells the agent when to choose this tool over format_column. It also gives context about the report layer behavior, implying this is for category-only updates.

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