Skip to main content
Glama

set_translation

Set translated Caption, Description, or DisplayFolder for Power BI model objects in a specific culture. Supports tables, columns, measures, hierarchies, and models after running add_culture.

Instructions

Set a translated Caption, Description or DisplayFolder for a model object in a culture. objectType = table | column | measure | hierarchy | model. For a column/measure/hierarchy, also pass its table. Run add_culture first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tableNothe object's table (required for column/measure/hierarchy)
valueYesthe translated text
cultureYesculture/locale, e.g. fr-FR
propertyYesCaption | Description | DisplayFolder
sessionIdYes
objectNameYesthe object's name (the model name for objectType=model)
objectTypeYestable | column | measure | hierarchy | model
Behavior3/5

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

Without annotations, the description carries the full burden. It discloses the need for a culture to exist and table for certain object types, but doesn't state behavior like overwriting existing translations or error outcomes.

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, front-loaded with the main action, and includes necessary conditions. No fluff.

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 no output schema, the description covers the core usage: what to set, object types, table requirement, and prerequisite. It doesn't detail edge cases or return values, but the core is well explained.

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?

The schema covers 86% of parameters. The description adds the allowed objectType values, the meaning of property (Caption/Description/DisplayFolder), and the condition for table, which goes beyond the schema's individual descriptions.

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 it sets a translated Caption, Description, or DisplayFolder for a model object, with specific object types and the need for a table for some types. This is a specific verb+resource and distinguishes it from deletion or add-culture tools.

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?

Gives a clear prerequisite ('Run add_culture first') and a conditional instruction ('For a column/measure/hierarchy, also pass its table'). It doesn't mention alternatives or when-not to use, but the context is clear enough for selection.

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